Balances

Get an end-of-day statement

Changed on

Returns opening and closing balances plus every item that reached a terminal status inside the window.

Statements are never backdated. An item that finalizes after the window appears on the day it finalized, not the day it started. Pending items are excluded by design, so a statement won't tie to a live balance read.

get/v1/customers/{customerId}/statements

Request

  • Base URL
    https://api.sandbox.alfredpay.io
  • URL
    https://api.sandbox.alfredpay.io/v1/customers/{customerId}/statements
  • Auth
    • HTTP bearer
    • or API key in header api-key and API key in header api-secret

Query parameters

fromDatestring date required
toDatestring date required
currency'USD' | 'HKD' | 'CNY' | 'MXN' | 'DOP' | 'COP' | 'BRL' | 'ARS' | 'CLP' | 'PEN' | 'BOB' | 'PYG' | 'USDC' | 'USDT'

Fourteen members, reconciled to the countries a customer can be onboarded in. USDC and USDT are stablecoins and require chain.

limitinteger
cursorstring

Opaque. Pass next_cursor from the previous page.

Response

OK

customerIdstring
fromDatestring date
toDatestring date
currency'USD' | 'HKD' | 'CNY' | 'MXN' | 'DOP' | 'COP' | 'BRL' | 'ARS' | 'CLP' | 'PEN' | 'BOB' | 'PYG' | 'USDC' | 'USDT'

Fourteen members, reconciled to the countries a customer can be onboarded in. USDC and USDT are stablecoins and require chain.

opening_balancestring
closing_balancestring
has_moreboolean
next_cursorstring nullable

Changes