Initiate MoR checkout
To create MoR checkout for a deployed country, the API will need some data payload sent, these data includes:
country_code
This is the country code of the MoR country of deployment, for example "NG"
currency_code
This is the abbreviated currency representation of the MoR country, for example "NGN"/
amount
This is the total amount for product sold or services rendered, excluding VAT
redirect_url
This is the webpage the end user will be redirected to after successfully confirming their payment
shipping_types
The shipping types caters for shipping data available for the product; the name of the shipping method, the time, amount and currency, will be displayed on the checkout page to the user. An example of the shipping_types payload is:
Available payment methods includes: card, banktransfer, mobilemoney, mobilemoneyghana, mobilemoneyzambia, mpesa
POST
https://api.vesicash.com/v2/initiate-checkout
Initializing MoR checkout
Headers
Name | Type | Description |
---|---|---|
Accept | String | application/json |
V-PRIVATE-KEY* | String | Vesicash private key |
V-PUBLIC-KEY* | String | Vesicash public key |
Request Body
Name | Type | Description |
---|---|---|
country_code* | String | |
currency_code* | String | |
amount* | String | |
redirect_url* | String | |
logo_url | String | |
background_colour | String | |
button_colour | String | |
request_phone_number | String | |
request_country | String | |
request_street_address | String | |
shipping_types | String | |
product_type | String | |
description | String | |
vat | String | |
payment_methods* | String |
To create MoR checkout here is a sample request payload below:
Last updated