Authorization
default 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
Query Parameters
ISO 4217 code of the payment.
The amount, in the major unit.
The payer's country (ISO 3166-1 alpha-2): channels of other countries are left out, cards excepted.
`fr` or `en`, the language of the names. Defaults to `en`.
"fr""en"The same restriction `POST /payments` takes (`countries`, `channels`, `types`, `currencies`).
Response Body
application/json
application/json
curl -X GET "https://api.wajub.com/payments/options?currency=XAF&amount=25000&country=CM&locale=fr"{ "code": 200, "status": "OK", "message": "Payment options retrieved", "channels": [ { "id": "cm.mobile", "slug": "cm.mobile", "name": "Mobile Money", "name.fr": "Mobile Money", "type": "mobile_money", "logo": "https://cdn.wajub.com/channels/mtn.svg", "countries": [ "CM" ], "operators": [ { "slug": "cm.mtn", "operator": "mtn", "name": "MTN Mobile Money", "logo": "https://cdn.wajub.com/channels/mtn.svg" }, { "slug": "cm.orange", "operator": "orange", "name": "Orange Money", "logo": "https://cdn.wajub.com/channels/orange.svg" } ] }, { "id": "card", "slug": "card", "name": "Card", "name.fr": "Carte", "type": "card", "logo": "https://cdn.wajub.com/channels/card.svg", "countries": [] } ]}Options