> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment Processing

> Learn how Slash payment processing uses checkout sessions, payment intents, and refunds.

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`](/api-reference/checkout-session-post), then
send the returned URL to the buyer or embed it with
[checkout-js](/docs/checkout/embedded-checkout).

Use the [checkout sessions guide](/docs/checkout/checkout-sessions) 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`](/api-reference/payment-intent-get) or retrieve
one by ID with
[`GET /payments/payment-intent/{paymentIntentId}`](/api-reference/payment-intent-get-by-id).

See [Payment intents](/docs/checkout/payment-intents) for lifecycle details.

## Refunds

Create a full or partial refund with
[`POST /payments/refund`](/api-reference/refund-post). Retrieve an individual
refund or list refunds to track processing state.

See [Refunds](/docs/checkout/refunds) for idempotency and status guidance.
