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

# Create Checkout Session

> Create a hosted checkout session.

## Overview

Create a checkout session and send your customer to the `url` it returns. The
page carries your branding, lists the wallets the payer's browser exposes, and
explains the approval in words before anything is signed.


## OpenAPI

````yaml POST /v1/checkouts
openapi: 3.1.0
info:
  title: Reclack API
  version: 1.0.0
  description: >-
    Recurring and one-time stablecoin payments, taken straight from your
    customers' wallets.


    Reclack is non-custodial. Payments move from a customer's wallet to a
    settlement address you control, and Reclack never holds funds and never asks
    anyone for a seed phrase or a private key.


    ## Authentication


    Send your API key in the `Api-Key` header:


    ```

    Api-Key: rk_live_your_key_here

    ```


    `X-API-Key` is accepted too. The key prefix decides the environment:
    `rk_sandbox_` for test chains, `rk_live_` for production.


    ## Responses


    Objects and lists come back under `data`. Errors come back under `error`
    with a `type`, an optional `code` and a message written for a person.
servers:
  - url: https://api.reclack.com
    description: Sandbox and live, chosen by your key
security:
  - apiKeyAuth: []
tags:
  - name: Products
  - name: Prices
  - name: Customers
  - name: Subscriptions
  - name: Usage
  - name: Invoices
  - name: Checkouts
  - name: Payment links
  - name: Transactions
  - name: Webhooks
  - name: API keys
  - name: Settlement
paths:
  /v1/checkouts:
    post:
      tags:
        - Checkouts
      summary: Create checkout session
      description: Create a hosted checkout session.
      operationId: checkouts-create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                price_id:
                  type: string
                  description: A price from your catalog.
                  example: price_7Fh2PqX9
                amount:
                  type: string
                  description: >-
                    A one-off amount not in your catalog. Use instead of
                    price_id.
                  example: '29.00'
                networks:
                  type: array
                  items:
                    type: string
                  description: Narrow the networks for this session.
                  example:
                    - base
                    - ethereum
                customer:
                  type: object
                  additionalProperties: true
                  description: Email, name, or an existing customer id.
                fee_payer:
                  type: string
                  enum:
                    - merchant
                    - customer
                  description: merchant by default.
                expires_in:
                  type: integer
                  description: Seconds until the session expires.
                  example: 3600
                metadata:
                  type: object
                  additionalProperties: true
                  description: Returned on the session and on its events.
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Checkout'
        '400':
          description: The request is missing something or contradicts itself
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: No key, a revoked key, or a key that does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key is valid but is not allowed to do this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Checkout:
      type: object
      properties:
        id:
          type: string
          example: chk_7Fh2PqX9Lm
        status:
          type: string
          enum:
            - open
            - completed
            - expired
          example: open
        amount:
          type: string
          example: '29.00'
        currency:
          type: string
          example: USDC
        network:
          type: string
          example: base
        chain_id:
          type: integer
          example: 8453
        networks:
          type: array
          items:
            type: string
          description: Networks the payer may settle on.
          example:
            - base
            - ethereum
            - polygon
        url:
          type: string
          description: Send your customer here.
          example: https://pay.reclack.com/chk_7Fh2PqX9Lm
        expires_at:
          type: string
          format: date-time
          example: '2026-10-18T22:07:41Z'
        completed_at:
          type: string
          format: date-time
          example: '2026-10-18T22:07:41Z'
        created_at:
          type: string
          format: date-time
          example: '2026-10-18T22:07:41Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-10-18T22:07:41Z'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              description: >-
                One of invalid_request_error, authentication_error,
                permission_error or api_error.
              example: invalid_request_error
            code:
              type: string
              description: A stable, machine readable reason.
              example: price_not_found
            message:
              type: string
              description: A sentence written for a person.
              example: No price was found for that id
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Api-Key
      description: >-
        Your Reclack API key. The prefix decides the environment: rk_sandbox_
        for test chains, rk_live_ for production.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.