Creates a payment for a one-time product (frequencyInDays is null).
Returns a checkout URL to redirect your customer to.
For custom price products (isCustomPrice: true), provide priceCents and currency.
Subscription products? Use
POST /api/subscription/createinstead.
API key authentication
ID of a one-time product
"pro_abc123"
Customer email. A user account is created automatically if it doesn't exist.
"customer@example.com"
Price in cents as a string.
Required when the product has isCustomPrice: true. Must NOT be provided for fixed-price products.
"2500"
Currency for the price. Required when priceCents is provided, ignored otherwise.
USD, EUR "USD"
Your internal reference (order ID, invoice number, etc.)
255"order_789"
Custom key-value pairs. Returned in webhooks.
Redirect URL after successful payment
"https://your-app.com/success"
Redirect URL if customer cancels
"https://your-app.com/cancel"