Body
- Option 1
- Option 2
Unique identifier associated with a particular deal.
"your_pd_identifier"
The URL to which a user will be redirected after a successful purchase.
"https://your-success-url.com"
Checkout data similar to the data specified in Stripe documentation (https://docs.stripe.com/api/checkout/sessions/create). This parameter is required if payment_id is not provided.
{}
Pass the IP address. This is necessary only if you are implementing this in server-side.
"192.168.1.1"
Set this field true to automatically fetches and applies pricing based on the user’s location at checkout. Warning: If this is set to false
, the Stripe price_id
for adjusted pricing may not be available directly in the response.
true
Response
Successfully created Checkout session
The unique identifier for the Stripe Checkout Session.
"cs_live_a1HmmI9644trNrGaxfCMYrsZgK3QMiklsMqNEBNzEKWmNkzJtViECUBNpB"
The URL to redirect the user to for completing the checkout process.
"https://checkout.stripe.com/c/pay/cs_live_a1HmmI9644trNrGaxfCMYrsZgK3QMiklsMqNEBNpB#fid2cXdsdWBEZmZqcGtxJz8nZGZmcVo0SnYzXGdJSzZUVUlxRnRgJyknZHVsTmB8Jz8ndW5aaWxzYFowNE49Q0hnVkZsMWJHYjBcRmBGVEZ8ZFxWVF1XcUpEVXRgYE9HNGExQElMMz1IaDQ1ZkpqTl0wTGdwRm1AUVddbzdHclRIR1J8MjJfPEhKY3Z1czU1NF1PbX9TclMnKSdjd2poVmB3c2B3Jz9xd3BgKSdpZHxqcHFRfHVgJz8ndmxrYmlgWmxxYGgnKSdga2RnaWBVaWRmYG1qaWFgd3YnP3F3cGB4JSUl"