POST /v1/accounts and the cus_ id. Both currencies sit on the same customer vault owner — two ledger views, two on-chain vaults.
The vault is isolated to that customer. You never receive a key. Deposit addresses and bank details are issued against this vault. The customer authorizes send from their vault.
available is that vault, in cents.
Checkout does not credit these accounts. Checkout is online payments on your website; those funds land on your business balance. Receive credits the acct_ you pass.
In Console, Accounts is the vault inspector for the current Test or Live mode: available, deposit instructions, and the wallet QR.
Scope:
GET needs accounts.read. POST needs accounts.write.Fields
Every field on the account is on Retrieve an account. That page is the contract.available: 4900 is $49.00 of USDC in that customer’s USD vault.
Show the balance
Show a customer’s balance like this:- Divide the cents by 100 and show it with the currency symbol:
$24,190.00,€1,250.00. A balance always shows cents, even when it is a whole amount. Never showUSDCorEURCto the customer: they see dollars and euros. - Show
availableas the balance. Whenpendingis above zero, show it as a separate line (“$12.00 pending”), because it is on its way in or held for a send that is not complete yet. Do not add it toavailable. - A negative amount uses a true minus (
−$5.00), not a hyphen. - Refresh on the
account.updatedwebhook instead of polling. ReadGET /v1/accounts/:idwhen the screen opens and after the customer finishes a send.
How money gets into the vault
Three Receive rails, one balance.
The virtual account is not a second balance. It is a bank front door onto this vault. The payer sends dollars or euros. Easner converts to the vault stablecoin and credits
available. Same acct_. See Receive.
The wallet address is the vault’s token account for that asset (USDC for USD, EURC for EUR). A chain payment to that address is a direct credit. No conversion.
List
?customer=cus_…. Newest first, and paged like every list: limit (default 20, maximum 100), starting_after and ending_before. See v1 reference. The has_more field says whether a next page exists.
Open
POST /v1/accounts with { "currency": "USD", "customer": "cus_…" }.
201 and the account. Opening the same currency for the same customer returns the existing account (same vault).
400 invalid_currency if currency is missing or not 3 to 5 letters. 400 invalid_customer if customer is missing. 404 not_found if the customer is not on this key. A restricted business gets 403 ACCOUNT_RESTRICTED (see API keys and scopes).
Retrieve
GET /v1/accounts/:id → Account. 404 if the id is not on this key.
Rails on an account
Live bank details, chain addresses, and onramp require the customer’s verification (
verification_status = approved) — KYC or KYB on your app. Test skips that.
Events
Expected
- Treat
availableas vault inventory, not a synthetic book. - Read
availablebefore you quote a send. - Pass
customeron every create. - Do not treat Checkout settlement as a credit to this
acct_.
