Payment links
A payment link is a reusable page for selling without a website: share it on WhatsApp, Instagram, Facebook or by SMS. Many customers can pay the same link.
From the dashboard
Dashboard → Payment links → New link. Give it a title and an amount, or let the customer choose the amount (donations, tips). Copy the link or share it straight to WhatsApp. Each link shows how many payments it received and the total.
From the API
curl https://api.patronise.me/v1/payment-links \
-H "Authorization: Bearer $PATRONISE_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{ "title": "Wax dress, size M", "amount": 12500, "currency": "XAF" }'
Leave out amount for a link where the customer types the amount. Turn a link off with PATCH /v1/payment-links/{id} and { "active": false }.
Payments made through a link carry its id in payment_link, and send the usual payment.succeeded webhook.