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

MethodRouteDetail
GET/api/v1/checkout/sessions/:idRetrieve a checkout session
POST/api/v1/checkout/sessionsCreate a checkout session