Hosted Payments
Here we have the API to enable you carry out hosted payment.
The Process for carrying out this payment will include the following:
A payment request will be initiated by you, with a callback URL as part of the request payload.
We would respond with a URL where the user will be redirected to make the payment.
Upon success of the process by the user, we would call the URL you provided to us at stage one, with query parameters added to it.
Initiate Payment
This is used to initiate the request for hosted payment.
{baseUrl}/developer/hostedpayment{
"amount": 0,
"currency": "string",
"reference": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"callBackURL": "string",
"allowPaymentMethods": [
"string"
]
}
Note: allowPaymentMethods is optional and can be any of the following:
card,
applepay,
googlepayCallback
The endpoint you provided at initiation will be called here with a query parameter to notify you of the transaction status.
Last updated