Skip to content

Wallet Report

Request

Wallet report as CSV, one row per ledger entry in api_country, streamed as it is read. v2 and v3 entries alike, none hidden.

timestamp bounds the window, both ends inclusive. external_id and linked_txn come from the payment in txn: linked_txn is the payment a reversal retry was made for. timezone sets the zone timestamps are written in; omit it for UTC.

Security
bearerAuth
Query
timezoneSupportedTimeZone (string) or null(Timezone)
Any of:
string(SupportedTimeZone)
Enum:"Asia/Kolkata""Asia/Karachi""Asia/Dubai""Canada/Mountain""Europe/Paris"
Bodyapplication/jsonrequired
api_countrystring(ApiCountry)required
Enum:"BGD""IND""PAK""PHL""NPL""EGY""VNM""NGA""LKA"
operationLedgerOperation (string) or null
Any of:
string(LedgerOperation)
Enum:"add""deduct""reverse""convert"
txnstring or null(Txn)
Any of:
string (uuid)
timestampArray of any or null(Timestamp)
Any of:
curl -i -X POST \
  'https://docs.leanx.me/_mock/openapi/v3/reports/wallet?timezone=Asia%2FKolkata' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "api_country": "BGD",
    "operation": "add",
    "txn": "3dbf2aa2-bb37-42af-b1e1-213214dcfe56",
    "timestamp": [
      "2019-08-24T14:15:22Z"
    ]
  }'

Responses

Successful Response

Response
No content