API reference
Payment links
Create shareable payment links.
Create a payment link
POST/payment-links
Make a shareable link for WhatsApp, Instagram or email.
titlestringrequired
What the customer is paying for.
amountinteger
Amount in kobo. Leave out to let the customer enter it.
expires_atdatetime
When the link stops accepting payments.
allow_part_paymentboolean
Let customers pay a deposit first.
Request body
{
"title": "Silk wrap dress, size 10",
"amount": 6500000,
"allow_part_payment": true
}Response
{
"status": true,
"data": {
"id": "lnk_4Hc9",
"url": "https://pay.cswitchcba.com/adaeze-atelier/silk-wrap-dress",
"amount": 6500000,
"active": true
}
}