A crypto payments API & webhooks
Build crypto payments into your own product. Create charges and invoices, manage customers, and react to on-chain payments in real time with a Stripe-style REST API and HMAC-signed webhooks, in Bitcoin, XRP, USDC, RLUSD, XLM, SOL, SUI, settled straight to your own wallet: Brionic never holds funds.
# Create a $49.99 charge, paid in XRP
curl https://pay.brionicsecurity.com/api/v1/charges \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{"asset":"XRP","fiat_amount":"49.99","fiat_currency":"USD"}'
One API for the whole flow
Charges & invoices
Create a charge or a branded invoice in one call, priced in crypto or fiat. Each gets a hosted pay page and QR.
Non-custodial settlement
Every charge and invoice is addressed to your own wallet. Payments settle straight to you on-chain, with no platform balance to withdraw from.
Signed webhooks
Get an HMAC-signed event the instant a charge is paid, underpaid, or expires. Verify in constant time, ignore replays.
Stripe-style design
Bearer keys, predictable JSON, standard status codes. If you've used Stripe, you already know your way around.
Test & live modes
Build against sk_test_ keys, then flip to sk_live_ for real on-chain settlement. Same API either way.
Idempotent & reliable
Webhook deliveries retry with exponential backoff, and payments dedupe by transaction so you never double-count.
Know the instant you're paid
Every delivery is signed so you can trust it came from us and wasn't tampered with.
Subscribe
Add an HTTPS endpoint and pick events: charge.completed, invoice.paid, payment.unverified, and more.
Verify
Each POST carries a Brionic-Signature header. Recompute the HMAC-SHA256 and compare in constant time.
React
Fulfil the order, email a receipt, or update your ledger the moment funds settle on-chain.
Get paid from your AI assistant (MCP)
A Model Context Protocol server that turns the API into tools an AI assistant can call in plain language: Claude, ChatGPT, Cursor, VS Code and Grok among them. Invoice, charge, and manage customers in Bitcoin, XRP, USDC, RLUSD, XLM, SOL, SUI, all settled on-chain to your own wallet.
Just ask
“Invoice [email protected] 50 RLUSD, net 7, and send it.” The assistant calls the right tool and hands back a pay link.
Read & act
Tools for charges, invoices, customers, events and pay-per-call (x402). Read-only or transactional, each needing a scope you approved.
Connect by URL
Add https://pay.brionicsecurity.com/mcp to any MCP client and approve it in Connect with Brionic (OAuth), or send an sk_… key as a bearer token. Hosted, nothing to install, and every write is safe to retry.
// Cursor, VS Code, Claude Code: just the URL, then approve the sign-in
{ "mcpServers": { "brionic": { "url": "https://pay.brionicsecurity.com/mcp" } } }
// claude_desktop_config.json (local server, with a key)
{
"mcpServers": {
"brionic": {
"command": "node",
"args": ["/path/to/brionic-mcp/src/server.js"],
"env": { "BRIONIC_API_KEY": "sk_test_…" }
}
}
}
Pay-per-call (x402), in one command
No account, no API key, no sandbox. The endpoint below is live on XRPL mainnet: call it and you get an HTTP 402 Payment Required carrying real on-chain payment details. Pay the 0.001 XRP, retry with the payment id, and the resource unlocks. That is how an AI agent buys a single API call.
# 1 · Ask for the resource, get HTTP 402 + payment requirements
curl https://pay.brionicsecurity.com/x402/demo
# → { "accepts": [{ "asset": "XRP", "amount": "0.001",
# "payTo": "r4Fai…", "destinationTag": 2309541978,
# "paymentId": "ch_…", "payUrl": "…/pay/ch_…" }] }
# 2 · Pay it on-chain, or open payUrl to pay in a browser
# 3 · Retry with the payment id, the resource unlocks (HTTP 200)
curl -H "X-PAYMENT: ch_…" https://pay.brionicsecurity.com/x402/demo
Every payment carries our XRPL source tag, so the settlement is verifiable on any explorer. Create your own priced endpoints from the dashboard on the Gold & Diamond plans, settled to your own wallet.
Start building with crypto payments
Create an account, grab a test key, and make your first charge.