Skip to main content
POST
/
checkouts
/
{checkout_id}
/
confirm
curl --request POST \
  --url https://api.zenskar.com/checkouts/{checkout_id}/confirm \
  --header 'Content-Type: application/json' \
  --header 'organisation: <api-key>' \
  --header 'x-api-key: <api-key>' \
  --data '{}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "checkout_status": "contract_created",
  "contract_id": "987fcdeb-51a2-43d7-9876-543210fedcba",
  "message": "Checkout confirmed successfully",
  "created_at": "2025-01-01T10:00:00Z",
  "updated_at": "2025-01-01T10:30:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs2.zenskar.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
default:<your-api-key>
required
organisation
string
header
default:<your-organisation-id>
required

Path Parameters

checkout_id
string<uuid>
required

Body

application/json

Schema for confirming a checkout session.

Confirms a pending checkout and creates the actual contract.

payment_method_id
string<uuid> | null

Optional payment method ID to attach to the customer/contract.

Response

Checkout confirmed successfully

Response schema for confirmed checkout.

Returns the confirmed checkout with created contract details.

id
string<uuid>
required

Checkout session ID

checkout_status
string
required

Current checkout status

created_at
string<date-time>
required

When checkout was created

updated_at
string<date-time>
required

When checkout was last updated

contract_id
string<uuid> | null

ID of the created contract

message
string
default:Checkout confirmed successfully

Success message