Payment Link API
Collect payments from your customers using payment link.
Last updated
Collect payments from your customers using payment link.
Last updated
The Payment Link API allows merchants to generate payment links for their sub-merchants to easily collect payments. Follow these steps to integrate:
Generate a Bearer Token
Create a Payment Link
Share the Payment Link
Monitor Payment Status
Fetch payment link transactions via paylinkId
POST
{{env_url}}/
auth/account/v2/login
username*
username
password*
password
Authorization
(Bearer token) and x-auth-token
(Merchant public key). The request body should contain details such as sub-merchant ID, description, currency, and amount.POST
{{env_url}}
/
merchant/api/v1/paylink/create
Make a POST call to the Payment link to generate a payment link. See an example of the plain json payload to send.
No need for an encryption of the plain json payload.
You’d need to pass, as header the x-auth-token
. This can be obtained from your merchant dashboard → Settings → Generate API keys → Merchant public key.
Authorization
Bearer {{token}}
x-auth-token
{{MERCHANT PUBLIC KEY}}
name*
String
Sub-Merchant Name
subMerchantId*
String
Sub-Merchant Identification
description*
String
Intending product or service.
currency*
String
NGN
amount*
Decimal
Amount to accept for the product or service.
See sample of the paylinkUrl page below.
paylinkId
, including necessary headers like Authorization
(Bearer token) and x-auth-token
(Merchant public key). GET
{{env_url}}
/
nucleus/paymentLinkTransaction/id/{{paylinkId}}
You’d need to pass, as header the x-auth-token
. This can be obtained from your merchant dashboard → Settings → Generate API keys → Merchant public key.
Authorization
Bearer {{token}}
x-auth-token
{{MERCHANT PUBLIC KEY}}