Objects
Everything attaches to an account. IDs are prefixed, stable and opaque.Mistakes that cause most integration bugs
- Treating a webhook as current state. An event says something changed. Read the resource for what is true now.
- Treating provider success as collection. Money is credited only when the expected receipt is independently verified.
- Creating a payment to get an address. Use a deposit address for repeated top-ups and a receive payment for one order.
- Reading
statusalone.operationalStatesays whether a payment needs a retry or a person. See Status codes. - Showing recorded activity as a balance. Transactions and balances are reporting views, not spendable funds.
Accounts
The object every flow starts with.
Lifecycle and status codes
Payment, deposit and refund states, and which are terminal.