Aller au contenu
Chargement des API keys…
Authorization<token>

A public key (pk./pk_test.) is accepted on /payments, /customers, /links, /invoices and the catalogue reads (/channels, /providers, /countries, /currencies); anything that moves money out, reads the balance or manages the account answers 406 to it. It is an identifier, never an authorization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.

In: header

Request Body

application/json

type"payout_reconciliation" | "seller_summary" | "platform_commission" | "relay_dues" | "seller_statement"required

What to build.

"payout_reconciliation""seller_summary""platform_commission""relay_dues""seller_statement"
period_startstringrequired

First day covered, YYYY-MM-DD (UTC).

period_endstringrequired

Last day covered, YYYY-MM-DD (UTC), on or after `period_start`, 366 days at most after it.

format"csv" | "xlsx" | "pdf"

`csv` or `xlsx` for an export (required); `pdf` for a statement (the default).

"csv""xlsx""pdf"
accountstring | null

The seller's account `id`, for a `seller_statement` (a Lite or Relay account).

locale"en" | "fr"

The language of a `seller_statement`: `en` (the default) or `fr`. Exports (CSV, XLSX) are the same in both: their columns are stable.

"en""fr"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.wajub.com/sync/reports" \  -H "Content-Type: application/json" \  -d '{    "type": "payout_reconciliation",    "period_start": "2026-11-01",    "period_end": "2026-11-30"  }'
POST
/sync/reports
{  "code": 202,  "status": "Accepted",  "message": "Report requested",  "report": {    "id": "rpt_Hq2Lw8Tz4Nc6Vb1Xk9RmPd3F",    "object": "report",    "type": "payout_reconciliation",    "format": "csv",    "format_version": 1,    "period_start": "2026-11-01",    "period_end": "2026-11-30",    "account": null,    "status": "pending",    "row_count": null,    "file_name": null,    "file_size": null,    "failure_reason": null,    "requested_via": "api",    "created_at": "2026-12-01T08:00:00+00:00",    "completed_at": null,    "expires_at": null,    "url": null,    "url_expires_at": null  }}

Accepted

Que pensez-vous de ce contenu ?