Accountsv1
Get accounts balance by currency
Handler: GetAccountsBalanceByCurrency. Calculates total balance for the requested currency using active accounts only.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/accounts/balance/currency" \ -H "Content-Type: application/json" \ -d '{ "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "currency": "str" }'{
"balance": 0,
"currency": "string"
}Handler: GetAccountsBalance. Calculates total balance using active accounts only. Accounts deactivated by DELETE /v1/accounts/{id} are excluded.
Handler: GenerateAccountStatement. Validates the request and accepts statement generation as a durable background job, returning 202 Accepted. Identical requests in flight are deduplicated. Completion is delivered via account_statement_ready / account_statement_failed events. The body is an acknowledgement only.