Skip to main content
Slash payment processing uses checkout sessions alongside payment intents and refunds in the /payments namespace.

Checkout sessions

A checkout session represents a hosted checkout page for collecting a card payment. Create one with POST /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 with GET /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 with POST /payments/refund. Retrieve an individual refund or list refunds to track processing state. See Refunds for idempotency and status guidance.