Create a payment link
Payment Links
Create a Payment Link
Creates a shareable payment link that generates a checkout on visit.
POST
Create a payment link
Create a shareable payment link that generates a checkout when visited.
Response
Authorizations
Use your secret API key as a Bearer token.
Keys are prefixed: sk_live_ (production) or sk_test_ (sandbox).
Body
application/json
Amount in USD
Required range:
x >= 0.01Example:
29.99
The payment method to use for checkouts
Description shown on the payment page
Maximum string length:
512Link TTL in seconds
Required range:
x >= 300Response
Payment link created
Unique identifier (prefixed pl_)
Example:
"pl_1a2b3c4d5e"
Organization identifier
Amount in USD
Payment method identifier
Description shown on the payment page
Shareable payment link URL
Available options:
live, sandbox