La documentation technique est en anglais, pour vous et pour votre agent IA.

Countries and operators

Pass one of these codes as operator. The live list, with each operator's current fee, is at GET /v1/operators (and on the pricing page).

Country Operator Code Currency Flow Payouts
Cameroon MTN MoMo mtn_cm XAF prompt yes
Cameroon Orange Money orange_cm XAF prompt yes
Benin MTN MoMo mtn_bj XOF prompt yes
Benin Moov Money moov_bj XOF prompt yes
Congo MTN MoMo mtn_cg XAF prompt yes
Congo Airtel Money airtel_cg XAF prompt yes
Gabon Airtel Money airtel_ga XAF prompt yes
Senegal Orange Money orange_sn XOF prompt yes
Senegal Yas (Free Money) free_sn XOF prompt yes
Senegal Wave wave_sn XOF redirect —
Côte d'Ivoire Orange Money orange_ci XOF redirect —
Côte d'Ivoire MTN MoMo mtn_ci XOF prompt —
Côte d'Ivoire Wave wave_ci XOF redirect —
Côte d'Ivoire Moov Money moov_ci XOF redirect —
Burkina Faso Orange Money orange_bf XOF redirect —
Burkina Faso Moov Money moov_bf XOF redirect —
Togo Yas (Togocom) togocom_tg XOF prompt yes
Togo Moov Money moov_tg XOF prompt yes
DR Congo M-Pesa mpesa_cd CDF prompt yes
International Bank card card XAF redirect —
International PayPal, Google Pay, Revolut… wallet XAF redirect —
  • prompt: the customer confirms on their phone (next_action.type = "ussd_prompt").
  • redirect: the customer pays on the operator's page (next_action.type = "redirect").
  • XAF and XOF are the same value (FCFA). An XAF amount can be charged on a XOF operator and vice versa.

Finding the operator from a number

curl https://api.patronise.me/v1/operators/predict \
  -H "Authorization: Bearer $PATRONISE_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "phone": "+229 97 00 00 00" }'
# → { "operator": "mtn_bj", "country": "BJ", "phone": "22997000000" }

For Cameroon, POST /v1/payments works out MTN or Orange from the prefix if you leave operator out.

Besoin d’aide pour l’intégrer ?