Transactions & ReportingStatements

Create a test statement

POST
/v1/statements

Authorization

authorization
AuthorizationBearer <token>

Set Your Secret API Key

In: header

Header Parameters

Idempotency-Key?string

A unique value, eg. a UUID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

closingBalance?number

The closing balance for the statement. An integer value in the specified currency's smallest unit. E.g., SGD $10 will be represented as 1000 (cents). Can be negative.

openingBalance?number

The opening balance for the statement. An integer value in the specified currency's smallest unit. E.g., SGD $10 will be represented as 1000 (cents). Can be negative.

statementDate?string

Statement date, in the format YYYY-MM-DD.

Formatdate
transactionIds?array<string>

Test mode Transactions to associate with this statement.

type*string

Statement type. CAMT.053 is the end-of-day statement.

Match^CAMT.053

Response Body

*/*

curl -X POST "https://example.com/v1/statements" \  -H "Content-Type: application/json" \  -d '{    "type": "string"  }'
{  "bankAccount": {    "bank": "string",    "bankAccountNumber": "string",    "id": "string"  },  "closingBalance": 0,  "createdAt": "string",  "currency": "string",  "id": "string",  "openingBalance": 0,  "statementDate": "string",  "type": "string",  "updatedAt": "string"}