Skip to main content

Create Checkout Session

POST 

/checkout-sessions

Creates a checkout session and returns it with its url. Send the buyer to the url to pay.

No payment and no subscription exist until the buyer opens the url.

Lines:

Send from 1 to 20 lines. Every price must be active and of your account, and all prices must have the same currency. At most one price is RECURRING, and its quantity is 1. A price, product, tax rate or customer that is not found is rejected with 404.

Business purchases:

With businessPurchase set to OPTIONAL or REQUIRED, the buyer can give a company name, a tax ID and a full address. A Spanish tax ID is checked.

Request​

Responses​

A checkout session object