Payment Links
This feature helps you accept payment for your products or services from your customers seamlessly via a unique URL. Once the basic details described below are provided a unique link is generated and can be shared with your customers to make payment via any of our supported currencies.
Create payment link
POST - {{baseurl}}/paymentlink
Content-type
Set value to application/json
title
Yes
This should be the name/title of the payment link
currency
Yes
Allowed values are: USD, NGN, GHS, KES or ZAR only
amount
Yes
This should be in fractional units (kobo for NGN, cents for USD). 300NGN will be passed as 30000
isFixedAmount
Yes
This should be either true or false.
If set to "true", your customers would be required to pay the amount in your request body.
If "false" it acts as a donation link; whereby the amount in your request will be displayed as a mere suggestion to your customers. However, your customers can enter their preferred payment amount.
type
Yes
This should always be passed as easy
purpose
No
This is a description of the payment link that should appear on the your dashboard when viewing the link
If the API call is successful, we will return a URL which you can share with your customers to input their payment information in order to complete the transaction.
Here's a sample request and response
Sample request:
Sample response:
Last updated