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`.

Request Body

application/json

action"release_retention" | "run_payout" | "expire_holds"required

One of `release_retention`, `run_payout`, `expire_holds`.

"release_retention""run_payout""expire_holds"

Response Body

application/json

application/json

application/json

curl -X POST "https://api.wajub.com/accounts/acc_Gt6yU3nE8rM1kS5vX9bQ/simulate" \  -H "Content-Type: application/json" \  -d '{    "action": "run_payout"  }'
POST
/accounts/{id}/simulate
{  "code": 200,  "status": "OK",  "message": "Payout sent",  "action": "run_payout",  "account": "acc_Gt6yU3nE8rM1kS5vX9bQ",  "payout": {    "id": "po_test_Lw4Hq8Tz2Nc6Vb1Xk9Rm",    "amount": 17640,    "currency": "XAF",    "status": "processing"  },  "hold": null}

OK

Que pensez-vous de ce contenu ?