POST

Authentication

Requires X-API-KEY header. You can also pass an optional Idempotency-Key header to safely retry requests without creating duplicate records. See the Idempotency guide for details.

Body Parameters

string
required
The name of the product shown to customers.
integer
required
The price, as a whole number in cents (smallest currency unit). For example, 2500 is $25.00. Do not send decimals.
string
default:"USD"
Must be USD. Only USD payments are supported.
string
Optional description of the product.
string
URL to redirect the customer after a successful payment.
object
Limit which payment methods the checkout offers. Send either enabled (only these methods) or disabled (the usual methods minus these), one at a time. Omit it, or send null, to offer the usual methods. See Payment Methods.

Response

Returns the created product, including a checkout_url ready to share with customers.
uuid
The unique identifier for the created product.
string
The product title.
integer
The price in cents (smallest currency unit).
string
3-letter ISO currency code.
boolean
true - products are active immediately on creation.
string
The URL to share with customers to collect payment.
string
The post-payment redirect URL, if provided.
object | null
The saved payment method setting, for example {"enabled": ["card"]}. null means the usual methods. See Payment Methods.
datetime
Timestamp when the product was created.