For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

See Environments & Base URLs.

POST — {{baseurl}}/paymentlink

Header
Value

Authorization

Bearer SECRET_KEY

Content-type

application/json

Param
Required?
Description

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:

{ 
  "title": "The test link", 
  "currency": "NGN", 
  "amount": 10000, 
  "isFixedAmount": true, 
  "type": "easy" 
}
{ 
  "title": "The test link", 
  "currency": "NGN", 
  "amount": 10000, 
  "isFixedAmount": true, 
  "type": "easy", 
  "purpose": "Collect semo payment" 
}

Sample response:

Last updated