v1
latestOpenAPI 3.1.02026-08-042453938.9 KBCustomers
Sync customer balance
Triggers an immediate balance sync for a customer. This fetches the current on-chain balance and updates the database snapshot.
Use this endpoint:
- After a customer deposits funds on-chain
- To verify balance accuracy before a charge
- For debugging balance discrepancies
The response includes both previous and new balances, along with whether a change was detected. Requires a secret key (sk_*).
post/v1/customers/{id}/sync-balance
Path parameters
idstring required
Customer ID
Response
Balance sync completed