Skip to main content
POST
This endpoint finalizes the checkout session by processing the payment and converting it into an order. The checkout status will be updated to completed upon successful payment.

Authentication

This endpoint requires a valid API key with checkouts:write and payments:write permissions.

Path Parameters

string
required
Unique identifier for the checkout session

Request Body

object
required
Payment method details for processing the transaction
object
Additional buyer information if needed

Response

string
Unique identifier for the Checkout Session
string
Status will be completed after successful payment
string
ID of the created order
object
Payment processing details and status
array
Final line items with calculated amounts
array
Final breakdown of all charges