/
Reversed Payouts Report C...
Request a reversed payouts report, each with its retry.
Creates a report with status pending and builds it in the background; poll GET /v2/reports/{id} until it is success, then download it through its presigned URL.
Security
bearerAuth
- Mock serverhttps://docs.leanx.me/_mock/openapi/v2/reports/reversed_payouts
- Leanx Test serverhttps://api.leanxtest.me/v2/reports/reversed_payouts
- Leanx Production serverhttps://api.leanx.me/v2/reports/reversed_payouts
curl -i -X POST \
https://docs.leanx.me/_mock/openapi/v2/reports/reversed_payouts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"country": "BGD",
"start_ts": "2019-08-24T14:15:22Z",
"end_ts": "2019-08-24T14:15:22Z",
"sorting_order": "asc",
"ids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}'Successful Response
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(ClientReportParams (ClientPayoutReportParams (object) or ClientStatementReportParams (object) or ClientWalletReportParams (object) or ClientFundingHistoryReportParams (object) or ClientReversedPayoutsReportParams (object))) or null(Params)required
Any of:
The filters the report was generated with.
Any of:
Payout report parameters available to API clients.
Mirrors the client-facing parameters of stream_order_results so a generated report can be reproduced exactly from the persisted params.
Response
{ "auto_generated": false, "content_type": "text/csv", "created_at": "2024-12-01T01:02:03.000000Z", "file_name": "payout_IND_2024-12-01.csv", "file_status": "success", "id": "00000000-0000-4000-A000-000000000000", "report_type": "payout" }