Introduction
Build with Xpend B2B
Stablecoin-in, local-settlement-out merchant infrastructure. One API surface for collection, settlement, and reconciliation.
What is Xpend B2B?
Xpend B2B abstracts the complexity of accepting cryptocurrency payments and turning them into balances you can spend or settle locally. Instead of dealing with chains, gas, liquidity quotes, and fiat rails, you integrate one REST API.
For backend engineers
A small, predictable REST surface with HMAC-signed webhooks and explicit error envelopes.
QuickstartFor ops & finance
Reconcile every credit and payout with a deterministic ledger and delivery log.
Balances & ledgerThe six primitives
01
Payment intents
Collect funds from customers via hosted link or QR.
02
Payouts
Send funds to wallets or fiat rails with cancellation safety.
03
Balances
Per-asset settlement balances.
04
Ledger credits
Append-only credit history feeding balances.
05
Webhooks
Async events for every state transition.
06
Idempotency
Retry creates safely without duplicate side effects.
Public vs. internal APIs
These docs cover the public partner API exposed at bapi.justxpend.ai/v1. Internal admin and operator endpoints used by Xpend staff are not documented here and are not callable with merchant credentials.