API Reference · Payment Links
Create a payment link
Creates a reusable or one-time payment link.
/v1/payment-linksPick `SINGLE` for a one-shot invoice-style link or `MULTI` for a reusable donation-style link. The returned `url` is public — share it anywhere.
Body parameters
amountintegerRequiredAmount to charge per payment, in the smallest currency unit.
currencystringRequiredLowercase 3-letter ISO 4217 code.
typestringdefault: SINGLELink type.
Allowed values: SINGLE MULTI
namestringInternal dashboard name.
slugstringCustom URL slug. Defaults to a generated short id.
descriptionstringShown to the customer on the checkout page.
collect_namebooleandefault: trueCollect the customer name.
collect_emailbooleandefault: trueCollect the customer email.
collect_phonebooleandefault: falseCollect the customer phone.
quantity_limitintegerClose the link after N successful payments.
expires_atintegerUnix timestamp after which the link stops accepting payments.
metadataobjectUp to 20 key/value pairs.
Errors
parameter_missing`amount` or `currency` not supplied.
slug_already_takenAnother link in the same organization already uses that slug.