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 :
parameter | Description |
---|---|
t_id | The ID of the transaction that was encrypted. |
t_sum | The amount to be collected that has been encrypted. |
t_url | The 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"
}
}
]
}
parameter | Description |
---|---|
logo | The link of the provider's logo |
name | Provider name |
shortcode | Shot tag of the provider |
Last updated on January 9, 2023