Create a balance account
Changed onCreates a USD account that holds a balance. Use product STANDARD (default) for a fiat hold funded by bank transfer, or YIELD for a reserve-backed hold that can earn configurable yield. Pay out by creating a transfer sourced from this account. Requires the matching customer capability (USD_BALANCE or USD_YIELD). Use the Idempotency-Key header to safely retry on network failure.
Request
- Base URLhttps://sandbox.api.infinite.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
API key
Optional idempotency key. When supplied, a retry with the same key replays the original response (24h TTL) instead of being rejected as a duplicate.
Request body
Example request
{
"customerId": "cus_abc123",
"product": "STANDARD",
"externalReference": "550e8400-e29b-41d4-a716-446655440000",
"metadata": {
"nickname": "Main Checking Account",
"purpose": "Business operations",
"tags": [
"primary",
"operations"
]
}
}Response
Balance account created successfully
Changes
- warning
added the new
MANSAenum value to the//////////////response property for the response status - warning
added the new
MANSAenum value to the////////////response property for the response status
- warning
- info
added the optional property
/to the response with the status
- info