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

Path Parameters

idstringrequired

The subaccount `id`.

payoutstringrequired

The payout `id`.

Response Body

application/json

application/json

curl -X GET "https://api.wajub.com/accounts/acc_Gt6yU3nE8rM1kS5vX9bQ/payouts/po_Lw4Hq8Tz2Nc6Vb1Xk9Rm"
GET
/accounts/{id}/payouts/{payout}
{  "code": 200,  "status": "OK",  "message": "Payout retrieved",  "payout": {    "id": "po_Lw4Hq8Tz2Nc6Vb1Xk9Rm",    "object": "payout",    "account": "acc_Gt6yU3nE8rM1kS5vX9bQ",    "amount": 18620,    "currency": "XAF",    "status": "succeeded",    "failure_reason": null,    "created_at": "2026-11-19T08:00:04+00:00",    "succeeded_at": "2026-11-19T08:00:09+00:00",    "lines": [      {        "type": "sale",        "amount": 19000,        "currency": "XAF",        "gross": 20000,        "fee": 0,        "commission": 1000,        "payment": "trx_CSUGajfv9xh0XQ5wu2lx",        "refund": null,        "dispute": null,        "occurred_at": "2026-11-18T10:12:00+00:00"      },      {        "type": "payout_fee",        "amount": -380,        "currency": "XAF",        "gross": null,        "fee": 380,        "commission": null,        "payment": null,        "refund": null,        "dispute": null,        "occurred_at": "2026-11-19T08:00:04+00:00"      }    ],    "lines_total": 18620  }}

OK

Que pensez-vous de ce contenu ?