/payments namespace.
Checkout sessions
A checkout session represents a hosted checkout page for collecting a card payment. Create one withPOST /checkout-session, then
send the returned URL to the buyer or embed it with
checkout-js.
Use the checkout sessions guide for session
configuration, updates, and fulfillment guidance.
Payment intents
A payment intent tracks the payment created through a checkout session, including processing and settlement state. List payment intents withGET /payments/payment-intent or retrieve
one by ID with
GET /payments/payment-intent/{paymentIntentId}.
See Payment intents for lifecycle details.
Refunds
Create a full or partial refund withPOST /payments/refund. Retrieve an individual
refund or list refunds to track processing state.
See Refunds for idempotency and status guidance.