Hosted Checkout

As mentioned earlier, using fully elements hosted checkout is the easiest way to build your secure and compliant payment flow. To get started, simply create a checkout session right before you need to take your customer to the checkout page and then redirect your customer to the auto-generated url tied to the checkout session created.

Endpoints

Method

Route

Detail

GET

/api/v1/checkout/sessions/:id

Retrieve a checkout session

POST

/api/v1/checkout/sessions

Create a checkout session