Checkout Sessions
获取结账会话
通过其 ID 检索特定结账会话的详细信息。
GET
JavaScript
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
路径参数
响应
Checkout session successfully fetched
Created at timestamp
Id of the checkout session
Customer email: prefers payment's customer, falls back to session
Customer name: prefers payment's customer, falls back to session
Id of the payment created by the checkout sessions.
Null if checkout sessions is still at the details collection stage.
status of the payment.
Null if checkout sessions is still at the details collection stage.
可用选项:
succeeded, failed, cancelled, processing, requires_customer_action, requires_merchant_action, requires_payment_method, requires_confirmation, requires_capture, partially_captured, partially_captured_and_capturable Last modified on January 28, 2026
JavaScript