> ## 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.

# Open Payment Attempt

> Start one payer's attempt against a reference.

## Overview

Start one payer's attempt and get back the transaction to sign against.
Anonymous and throttled, like the other payer endpoints.


## OpenAPI

````yaml POST /v1/checkout/{reference}/transactions
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/checkout/{reference}/transactions:
    post:
      tags:
        - Checkouts
      summary: Open a payment attempt
      description: Start one payer's attempt against a reference.
      operationId: checkouts-payer-transaction
      parameters:
        - name: reference
          in: path
          required: true
          schema:
            type: string
          description: A checkout, payment link or invoice reference.
          example: chk_7Fh2PqX9Lm
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                network:
                  type: string
                  description: Which network the payer chose.
                  example: base
                wallet_address:
                  type: string
                  example: '0x71A4f3b1d8e2A5c7E9f0B4d6A8c2E1f329F2'
                email:
                  type: string
                  description: Collected only when the page asks for it.
                  example: dana@acme.dev
                amount:
                  type: string
                  description: For a link where the payer names the figure.
                  example: '29.00'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/PayerTransaction'
        '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'
      security: []
components:
  schemas:
    PayerTransaction:
      type: object
      properties:
        id:
          type: string
          example: txn_2e2df306
        status:
          type: string
          enum:
            - pending
            - confirmed
            - failed
          example: pending
        amount:
          type: string
          example: '29.00'
        currency:
          type: string
          example: USDC
        network:
          type: string
          example: base
        chain_id:
          type: integer
          example: 8453
        hash:
          type: string
          example: '0x2e2d9a41c7f1b86d05e4a3c2b7f9d1083e6a5c4b2d8f7091a3c5e7b9d1f3a5306'
        confirmations:
          type: integer
          example: 7
        receipt_url:
          type: string
          example: https://pay.reclack.com/pay/txn_2e2df306
    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.