v1
latestOpenAPI 3.1.02026-07-228956435.8 KBCheckout sessions
Get a checkout session
Retrieves the checkout session with the given id for the live or test mode of the API key used. Use this endpoint to check the current status of the session and, once your customer finishes the payment, the resulting payment_resource.
get/checkout_sessions/{id}
Path parameters
idstring required
Unique identifier for the checkout session to retrieve.
Response
The checkout session.
Example response
{
"id": "cs_li5531onlFDi235",
"amount": 350000,
"business_profile": {
"category": "541100",
"name": "Test Business",
"tax_id": "111111111"
},
"cancel_url": "https://merchant.com/cancel",
"created_at": "2026-01-13T18:48:25Z",
"currency": "CLP",
"customer": {
"id": "cus_xK9mPq2RkV3WnDQG",
"address": {
"city": "Santiago",
"country": "cl",
"line1": "Av. Providencia 123",
"line2": "Depto 45",
"postal_code": "7500000",
"state": "RM"
},
"created_at": "2026-01-10T12:30:00Z",
"email": "customer@example.com",
"mode": "live",
"name": "Felipe Castro",
"phone": "+56912345678",
"tax_id": {
"type": "cl_rut",
"value": "111111111"
}
},
"customer_email": "customer@example.com",
"expires_at": "2026-01-14T18:48:25Z",
"flow": "payment",
"line_items": [
{
"price": {
"currency": "CLP",
"product": {
"description": "Monthly gym membership.",
"image_url": "https://merchant.com/images/membership.png",
"name": "Gym membership"
},
"recurring": {
"interval": "month",
"interval_count": 1
},
"unit_amount": 350000
},
"quantity": 1
}
],
"mode": "live",
"payment_method": "pm_xL9mPq2RkV3WnDQG",
"payment_method_types": [
"bank_transfer"
],
"payment_resource": {
"payment_intent": {
"id": "pi_BO381oEATXonG6bj",
"amount": 100000,
"created_at": "2026-01-13T18:48:25Z",
"currency": "CLP",
"customer": {
"mode": "live"
},
"customer_email": "customer@example.com",
"error_reason": "insufficient_funds",
"metadata": {
"order_id": "9182"
},
"mode": "live",
"payment_method": "pm_1x7vKQ8oEATXonG6",
"payment_type": "bank_transfer",
"payment_type_options": {},
"reference_id": "90123712",
"status": "succeeded",
"subscription": "sub_dJOd4hcZby9XK1Lm",
"transaction_date": "2026-01-13T18:50:25Z",
"widget_token": "pi_BO381oEATXonG6bj_sec_aBcDeFgHiJkLmNoP"
}
},
"redirect_url": "https://pay.fintoc.com/cs_li5531onlFDi235",
"save_payment_method": "enabled",
"session_token": "eyJhbGciOiJIUzI1NiJ9.eyJpZCI6ImNzX2xpNTUzMSJ9.iV2qAVrqYLuqxF4",
"setup_intent": "seti_xL9mPq2RkV3WnDQG",
"status": "created",
"subscription": "sub_xL9mPq2RkV3WnDQG",
"success_url": "https://merchant.com/success"
}