- Report Schedule Create
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
Statement File Latest
Wallet File Latest
Funding History File Latest
Reversed Payouts File Latest
Report File Presigned Url
Report Schedule List
Report Schedule Update
Report Schedule Delete
Report Schedule Create
Schedule a report. Daily reports run at report_time for the day before, monthly ones at that time on the 1st for the month before, both in timezone's days (UTC if none). funding_history covers every country and takes no country.
Security
bearerAuth
Cadence at which the scheduler auto-generates a client report: daily covers yesterday, monthly last month, both in the schedule's zone.
Enum:"daily""monthly"
Any of:
Zone of the time and of the days reported on
string(SupportedTimeZone)
Enum:"Asia/Kolkata""Asia/Karachi""Asia/Dubai""Canada/Mountain""Europe/Paris"
Report types API clients can generate and filter by.
Enum:"payout""statement""wallet""funding_history""reversed_payouts"
- Mock serverhttps://docs.leanx.me/_mock/openapi/v3/reports/schedules
- Leanx Test serverhttps://api.leanxtest.me/v3/reports/schedules
- Leanx Production serverhttps://api.leanx.me/v3/reports/schedules
curl -i -X POST \
https://docs.leanx.me/_mock/openapi/v3/reports/schedules \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"period": "daily",
"report_time": "14:15:22Z",
"timezone": "Asia/Kolkata",
"api_version": "v2",
"report_type": "payout",
"country": "BGD"
}'Successful Response
Cadence at which the scheduler auto-generates a client report: daily covers yesterday, monthly last month, both in the schedule's zone.
Enum:"daily""monthly"
Any of:
Zone of the time and of the days reported on
string(SupportedTimeZone)
Enum:"Asia/Kolkata""Asia/Karachi""Asia/Dubai""Canada/Mountain""Europe/Paris"
Report types API clients can generate and filter by.
Enum:"payout""statement""wallet""funding_history""reversed_payouts"
Any of:
string(ApiCountry)
Enum:"BGD""IND""PAK""PHL""NPL""EGY""VNM""NGA""LKA"
Response
{ "period": "daily", "report_time": "14:15:22Z", "timezone": "Asia/Kolkata", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "api_version": "v2", "report_type": "payout", "country": "BGD", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }