Skip to content

Statement Report

Request

Statement report as CSV, one row per day from date_from to date_to (both inclusive) that has ledger activity in country.

timezone defines where a day starts; omit it for UTC. Balance columns are named after the organization's settlement currency.

Security
bearerAuth
Bodyapplication/jsonrequired
date_fromstring, (date)(Date From)required

First day, inclusive

date_tostring, (date)(Date To)required

Last day, inclusive

countrystring(ApiCountry)required

Payment country

Enum:"BGD""IND""PAK""PHL""NPL""EGY""VNM""NGA""LKA"
timezoneSupportedTimeZone (string) or null
Any of:

Timezone that defines a day. Omit for UTC.

string(SupportedTimeZone)
Enum:"Asia/Kolkata""Asia/Karachi""Asia/Dubai""Canada/Mountain""Europe/Paris"
curl -i -X POST \
  https://docs.leanx.me/_mock/openapi/v3/reports/statement \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "date_from": "2019-08-24",
    "date_to": "2019-08-24",
    "country": "BGD",
    "timezone": "Asia/Kolkata"
  }'

Responses

Successful Response

Response
No content