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 payment's `id`.

Request Body

application/json

sharesarray<object>

Only these parts of a shared payment, 1 to 50. Leave it out to release every held part: `null` or `[]` is refused (`422`).

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.wajub.com/payments/trx_Lw2Ka8Qd1Fz6Tn4Bc7Xm/release" \  -H "Content-Type: application/json" \  -d '{}'
POST
/payments/{id}/release
{  "code": 200,  "status": "OK",  "message": "Payment released",  "payment": {    "id": "trx_Lw2Ka8Qd1Fz6Tn4Bc7Xm",    "object": "payment",    "holds": [      {        "account": "acc_Gt6yU3nE8rM1kS5vX9bQ",        "account_type": "lite",        "status": "released",        "max_days": 30,        "currency": "XAF",        "amount": 9300,        "held": 0,        "given_back": 0,        "held_at": "2026-11-20T09:12:04+00:00",        "release_at": "2026-12-20T09:12:04+00:00",        "released_at": "2026-11-23T15:40:11+00:00",        "release_reason": "platform"      }    ]  }}

OK

Que pensez-vous de ce contenu ?