Payment links
A payment link is a stable URL that creates a new order on each visit, useful when you do not want to build a checkout integration.
Key points
- Set amount in integer minor units, currency, subject, and optional max_uses or expires_at.
- A live link needs a public HTTPS notify_url or an enabled payment.succeeded endpoint; return_url must also be public HTTPS.
- Links can be updated or disabled. Each visit creates a separate order and resulting events.
Example
text
POST /v1/payment_links
GET /v1/payment_links
GET /v1/payment_links/{link_id}
POST /v1/payment_links/{link_id}