Request for payment gateway codes

 

Note: Do not forget to include the header. 

For payer to get the available payment gateway options available for them to pay, You should send a POST request to this endpoint with the appropriate payload and Header.

 Name Type Description
 merchant_id  Number  Acquired during registration
 country_code  String  Refer to the Country code table
 amount  Number  The amount gotten from invoice
 msidn  Number  Customer's number
 desc  String  Description
 reference  String  Reference from the invoice

 


   curl -X POST \
     ' {{base-url}}/{merchant_id}/payment/gateway/{country_code}'

Payload :

    {
        "amount": 500,
        "msisdn": "2348159174839",
        "desc": "Test",
        "reference": "4358346267"
    }

Response :

    {
        "status": "success",
        "data": {
            "message": "To pay, reply with:\n\n12  for GTBank\n13  for Zenith Bank\n21  to pay with Remita RRR"
        }
    }

Example Case :