Generate Account Statement Export File
POSTDescription: Request the BRL account statement file of the wallet, one transaction per row, with the balances at the start and at the end of the period. The period must be within the same month. The file is generated asynchronously: use the returned file_id with the 'storage/files/:id/url' endpoint to download it once ready. If the generation fails, the file state becomes ERROR./v1/reports/account-statement/exports
Request
Header Parameters
Sender Wallet UUID (if empty, your default Wallet UUID will be settled)
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.
UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
- application/json
Body
required
Period start. Filters transactions where transaction_created_at >= this date. Defaults to the start of the month.
Period end. Filters transactions where transaction_created_at < this date (exclusive). Defaults to the start of the next month.
Local timezone to validate start date.
Local timezone to validate end date.
Possible values: [CSV, OFX, PDF]
Default value: CSV
File format.
Responses
- 201
- 400
- 401
- 422
Account statement export requested successfully.
- application/json
- Schema
- Example (from schema)
Schema
Generated file ID.
Possible values: [PENDING, WAITING_UPLOAD, READY, ERROR, ABORTED]
Generated file state.
File created at.
{
"file_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"file_state": "PENDING",
"created_at": "2026-10-27T17:48:17.018Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.