Rest API
Get providers

Get providers

To get the list of payment methods subscribed in your application

End point: {BASE_URL}/api/gateway/gateways?t_url=””&t_id=””&t_sum=””

Request method: GET

curl --location --request GET '{{base_url}}/api/gateway/gateways?t_url=xxxx&t_id=xxxx&t_sum=Njxxxxxxxxxx' \
--header 'x-api-key: live_xxxxxxxxxxxxxx' \
--header 'mode: live' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxh'

Request params :

parameterDescription
t_idThe ID of the transaction that was encrypted.
t_sumThe amount to be collected that has been encrypted.
t_urlThe return url that has been encrypted.

Response body :

{
   "status": "SUCCESS",
   "statusCode": "200",
   "message": "ok",
   "data": [
       {
          "shortcode": "CM_ORANGE",
           "name": "ORANGE MONEY",
           "logo": "https://<bucket_url>/resources/flags/orange.png",
           "country": {
            "country_name": "Cameroon",
            "country_code": "CM"
           }
       }
   ]
}
parameterDescription
logoThe link of the provider's logo
nameProvider name
shortcodeShot tag of the provider
Last updated on January 9, 2023