CorebanqCorebanq Developer Docs
Accountsv1

Generate account statement

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.

POST
/v1/accounts/{id}/statements

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Body for POST /v1/accounts/{id}/statements (accounts.GetAccountStatementInput). Validate() requires format, start_date, end_date.

Response Body

application/json

curl -X POST "https://example.com/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/statements" \  -H "Content-Type: application/json" \  -d '{    "format": "pdf",    "start_date": "2024-01-01",    "end_date": "2024-01-31"  }'
{
  "status": "processing",
  "message": "Statement generation has started. You will be notified when it is ready."
}