- Wallet File Create
Request a wallet report, generated in the background and stored for download. It holds what POST /v3/reports/wallet returns for the same filter, spelled differently: country for api_country, start and end (both inclusive) for timestamp, and timezone in the body rather than the query.
The report starts out pending: poll GET /v3/reports/files/{id} until file_status is success, then fetch it through GET /v3/reports/files/{id}/presigned-url.
Start of the window, inclusive; read in timezone when it has no UTC offset
End of the window, inclusive; read in timezone when it has no UTC offset
- Mock serverhttps://docs.leanx.me/_mock/openapi/v3/reports/files/wallet/generate
- Leanx Test serverhttps://api.leanxtest.me/v3/reports/files/wallet/generate
- Leanx Production serverhttps://api.leanx.me/v3/reports/files/wallet/generate
curl -i -X POST \
https://docs.leanx.me/_mock/openapi/v3/reports/files/wallet/generate \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"country": "BGD",
"start": "2019-08-24T14:15:22Z",
"end": "2019-08-24T14:15:22Z",
"operation": "add",
"txn": "3dbf2aa2-bb37-42af-b1e1-213214dcfe56",
"timezone": "Asia/Kolkata"
}'Successful Response
Report id, for GET /v3/reports/files/{id} and the presigned download URL.
Kind of report.
Generation status. The file can be downloaded once this is success.
true if the scheduler created this report, false if you requested it.
Cadence at which the scheduler auto-generates a client report: daily covers yesterday, monthly last month, both in the schedule's zone.
The filters the report was generated with.
Payout report parameters available to API clients.
{ "id": "string", "file_name": "string", "content_type": "string", "report_type": "payout", "file_status": "pending", "auto_generated": true, "period": "daily", "created_at": "2019-08-24T14:15:22Z", "params": { "start": "2019-08-24T14:15:22Z", "end": "2019-08-24T14:15:22Z", "country": "BGD", "status": [ … ], "external": false, "ids": [ … ], "payment_method": [ … ], "sorting_order": "asc" } }