Skip to main content

Payment links and requests

A payment link is a reusable checkout URL (with a QR code) that you can share anywhere.

curl -X POST https://api.intasend.com/api/v1/paymentlinks/ \
-H "Authorization: Bearer $INTASEND_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"title": "Donations", "currency": "KES", "amount": 0, "is_active": true, "redirect_url": "https://example.com/thanks"}'
FieldRequiredDescription
titleYesUnique per account
currencyNoKES, USD, EUR, GBP, UGX, TZS, RWF, CDF
amountNoFixed amount. 0 lets the customer enter any amount
usage_limitNoMaximum number of payments. 0 means unlimited
is_activeNoEnable or disable the link
redirect_urlNoWhere customers go after paying
mobile_tarrif, card_tarrifNoWho pays fees

The response includes url and qrcode_file. Use GET /paymentlinks/ to list links and PUT /paymentlinks/{id}/ to update one.

Payment requests​

A payment request emails a customer a link to pay a specific amount.

curl -X POST https://api.intasend.com/api/v1/payment-requests/ \
-H "Authorization: Bearer $INTASEND_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"amount": 2500, "currency": "KES", "first_name": "Jane", "last_name": "Doe", "email": "[email protected]", "reason": "Invoice #42", "autosend_remider": 3}'
FieldRequiredDescription
amount, currencyYes
first_name, last_name, emailYesRecipient
reasonYesShown to the customer
autosend_remiderNoReminder interval in days: 0, 1, 2, 3 or 7
card_tarrifNoWho pays card fees

Delivery is tracked in sent_status: PENDING, SENT, DELIVERED, OPENED, CLICKED or FAILED. Archive a request with POST /payment-requests/{id}/archive/.