API reference
Payment links
Create and manage payment links by API.
Everything in Payment links is also available by API — useful for creating a link per product or event from your own system.
GET
/v1/payment-links?q=jerseyAPI keyPOST
/v1/payment-linksAPI keyGET
/v1/payment-links/:idOrSlugAPI keyPATCH
/v1/payment-links/:idAPI keyPOST
/v1/payment-links/:id/deactivateAPI keyLink fields
titlestringrequired2–80 chars.
amountPesewasintegerrequiredFixed amount, 100 – 100,000,000.
slugstringoptional4–50 lowercase letters, digits or dashes. Generated from the title if omitted. The page is
/pay/<slug>.descriptionstringoptional≤ 500 chars.
isActivebooleanoptionalDefault true.
expiresAtISO dateoptionalStop accepting after this time.
maxPaymentsintegeroptionalStop after this many verified payments.
successMessagestringoptionalShown on the receipt (≤ 300 chars).
redirectUrlURLoptionalRedirect after a verified payment.
collectPayerNamebooleanoptionalAsk the payer’s name.
collectPayerPhonebooleanoptionalAsk the payer’s phone.
Link object
{
"id": "cmvymjp4f0009zxtw0c1o5l2a",
"slug": "football-jersey",
"url": "https://pay.yourshop.com/pay/football-jersey",
"title": "Football jersey",
"description": "Home kit 2026, size M–XL.",
"amountPesewas": 2500,
"isActive": true,
"expiresAt": null,
"maxPayments": null,
"successMessage": "Thanks! Show this screen at the counter.",
"redirectUrl": null,
"collectPayerName": true,
"collectPayerPhone": false,
"payments": 3,
"collectedPesewas": 7500,
"pending": 1,
"availability": "OPEN",
"createdAt": "2026-11-02T09:00:00.000Z"
}availability is OPEN, INACTIVE, EXPIRED or SOLD_OUT. Changing the amount only affects payers who start after the change.
