Skip to main content
POST
cURL

Headers

Idempotency-Key
string

Client-generated key (a UUID is ideal) making this POST safe to retry. The first request is executed and its response stored for 24 h; any replay with the same key returns that stored response with Idempotent-Replayed: true and bills nothing. Reusing a key with a different payload is a 409 idempotency_key_reuse.

Required string length: 8 - 255

Body

application/json
price_id
string
required
threshold_minor
integer<int64>
required
Required range: x >= 5000
monthly_limit
integer
required
Required range: x >= 1

Response

Stripe-hosted setup Checkout Session created