Payment methods of a session
If you build your own operator selection screen, this endpoint lists what is available for a session, filtered by country. It accepts the public key as well as the secret key.
GET
/v1/checkout/sessions/{id}/methods?country=ciOperators available for the session| Parameter | Type | Required | Description |
|---|---|---|---|
country |
string | No | ISO alpha-2 country code (ci, sn, bj, ml, bf, tg, cm, gh, ng, ke…) or country name. Without a filter: all active operators. |
curl "https://cartflox.com/api/v1/checkout/sessions/cmf3k2p1x0001abcd9e8f7g6h/methods?country=ci" \ -H "Authorization: Bearer af_live_sec_YOUR_KEY"{ "id": "cmf3k2p1x0001abcd9e8f7g6h", "currency": "XOF", "methods": [ { "code": "ORANGE_CIV", "gatewayId": "cm9x...", "name": "Orange Money", "provider": "PayDunya", "country": "Côte d'Ivoire", "type": "MOBILE_MONEY", "flag": "🇨🇮", "logo": "/logos/orange-money.svg" } ]}Cards (UEMOA, international) appear whatever country is requested. Operator codes depend on the gateway that serves them: do not hardcode them, read them from the response.