- Statement File Latest
Payout Report
Statement Report
Wallet Report
Funding History Report
Reversed Payouts Report
Report File Create
Statement File Create
Wallet File Create
Funding History File Create
Reversed Payouts File Create
Report File List
Report File Get
Report File Latest
Wallet File Latest
Funding History File Latest
Reversed Payouts File Latest
Report File Presigned Url
Report Schedule List
Report Schedule Create
Report Schedule Update
Report Schedule Delete
Statement File Latest
The organization's most recently created statement report. auto_generated narrows to scheduled (true) or requested (false) reports, period to scheduled reports of that period, and country to that country's reports and those that have no country.
Security
bearerAuth
- Mock serverhttps://docs.leanx.me/_mock/openapi/v3/reports/files/statement/latest
- Leanx Test serverhttps://api.leanxtest.me/v3/reports/files/statement/latest
- Leanx Production serverhttps://api.leanx.me/v3/reports/files/statement/latest
curl -i -X GET \
'https://docs.leanx.me/_mock/openapi/v3/reports/files/statement/latest?auto_generated=true&period=daily&country=BGD' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successful Response
Report id, for GET /v3/reports/files/{id} and the presigned download URL.
Kind of report.
Enum:"payout""statement""wallet""funding_history""pnl""reversed_payouts""agent_payout"
Generation status. The file can be downloaded once this is success.
Enum:"pending""processing""success""fail"
true if the scheduler created this report, false if you requested it.
Any of:
Cadence at which the scheduler auto-generates a client report: daily covers yesterday, monthly last month, both in the schedule's zone.
string(ReportPeriod)
Enum:"daily""monthly"
params(V3ClientReportParams (PayoutReportFilter (object) or StatementReportFilter (object) or WalletReportFilter (object) or FundingHistoryReportFilter (object) or ReversedPayoutsReportFilter (object))) or nullrequired
Any of:
The filters the report was generated with.
Any of:
Payout report parameters available to API clients.
Response
{ "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" } }