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

Use a public key (pk./pk_test.) for payment initialization. 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 beneficiary `id`.

Request Body

application/json

amountnumberrequired
currencystring | null

Defaults to XAF.

referencestringrequired

Your own identifier for this debt, usually the refunded order.

refundstring | null

The refund it comes from, if it went through Wajub.

descriptionstring | null

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.wajub.com/beneficiaries/ben_Fw8Qa3Zr6Ty1Np5Jd2Lv/receivables" \  -H "Content-Type: application/json" \  -d '{    "amount": 12500,    "reference": "order-9981-refund"  }'
POST
/beneficiaries/{id}/receivables
{  "code": 200,  "status": "OK",  "message": "Receivable already recorded",  "receivable": {    "id": "rcv_Yt6Dn2Wq9Lc4Hs7Mb1Kx",    "reference": "order-9981-refund",    "amount": 12500,    "outstanding": 12500,    "status": "open"  }}

Same reference sent again

Que pensez-vous de ce contenu ?