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

# Mint signing payload

> Mints a fresh payload for the wallet owner to sign. Call this immediately before signing; each call retires any earlier unsigned payload. Only valid while the withdrawal awaits a signature.



## OpenAPI

````yaml /api-reference/openapi.json get /crypto-withdrawals/{id}/payload
openapi: 3.1.0
info:
  title: Reap API
  version: 1.0.0
  description: Reap platform API
servers:
  - url: https://sg.sandbox.api.reap.global
    description: Singapore sandbox
  - url: https://sg.prod.api.reap.global
    description: Singapore production
  - url: https://mx.sandbox.api.reap.global
    description: Mexico sandbox
  - url: https://mx.prod.api.reap.global
    description: Mexico production
  - url: https://sandbox.api.reap.global
    description: Singapore sandbox (alias)
  - url: https://prod.api.reap.global
    description: Singapore production (alias)
security:
  - bearerAuth: []
tags:
  - name: Accounts
  - name: Activities
  - name: Card Designs
  - name: Card Shipments
  - name: Card Transactions
  - name: Cards
  - name: Companies
  - name: Crypto Deposits
  - name: Crypto Withdrawals
  - name: Disputes
  - name: Fiat Deposits
  - name: Fraud Alerts
  - name: Policies
  - name: Simulation
  - name: Users
  - name: Virtual Asset Postings
  - name: Virtual Assets
  - name: Webhooks
  - name: Agentic
paths:
  /crypto-withdrawals/{id}/payload:
    get:
      tags:
        - Crypto Withdrawals
      summary: Mint signing payload
      description: >-
        Mints a fresh payload for the wallet owner to sign. Call this
        immediately before signing; each call retires any earlier unsigned
        payload. Only valid while the withdrawal awaits a signature.
      operationId: getPayload_crypto-withdrawals
      parameters:
        - name: id
          in: path
          required: true
          schema:
            description: Crypto withdrawal ID
            type: string
            format: uuid
        - name: Reap-Version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2025-02-14'
            description: API version (YYYY-MM-DD)
            example: '2025-02-14'
      responses:
        '200':
          description: Fresh signing payload for an in-flight crypto withdrawal
          content:
            application/json:
              schema:
                type: object
                properties:
                  executionId:
                    description: >-
                      Identifier of the payload being offered. Pass it back
                      unchanged when submitting the signature.
                    type: string
                    format: uuid
                  payloadToSign:
                    type: string
                    description: >-
                      Exact bytes the wallet owner must sign. Opaque to the
                      client - forward to the wallet as-is.
                  validUntil:
                    type: string
                    description: >-
                      When this payload expires. Past this point mint a fresh
                      one before signing.
                required:
                  - executionId
                  - payloadToSign
                  - validUntil
        '404':
          description: Crypto withdrawal not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        const: CRYPTO_WITHDRAWAL_NOT_FOUND
                      message:
                        type: string
                      detail:
                        anyOf:
                          - type: object
                            additionalProperties: {}
                          - type: 'null'
                    required:
                      - code
                      - message
                      - detail
                required:
                  - error
                title: CryptoWithdrawalNotFoundError
        '409':
          description: Response for status 409
          content:
            application/json:
              schema:
                anyOf:
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            const: CRYPTO_WITHDRAWAL_NOT_SIGNABLE
                          message:
                            type: string
                          detail:
                            anyOf:
                              - type: object
                                additionalProperties: {}
                              - type: 'null'
                        required:
                          - code
                          - message
                          - detail
                    required:
                      - error
                    title: CryptoWithdrawalNotSignableError
                    description: The withdrawal is no longer awaiting a signature
                  - type: object
                    properties:
                      error:
                        type: object
                        properties:
                          code:
                            type: string
                            const: CRYPTO_WITHDRAWAL_MINT_CONFLICT
                          message:
                            type: string
                          detail:
                            anyOf:
                              - type: object
                                additionalProperties: {}
                              - type: 'null'
                        required:
                          - code
                          - message
                          - detail
                    required:
                      - error
                    title: CryptoWithdrawalMintConflictError
                    description: The withdrawal changed while minting a signing payload
        '503':
          description: Withdrawals are temporarily unavailable. Please retry shortly.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        const: CRYPTO_WITHDRAWAL_UNAVAILABLE
                      message:
                        type: string
                      detail:
                        anyOf:
                          - type: object
                            additionalProperties: {}
                          - type: 'null'
                    required:
                      - code
                      - message
                      - detail
                required:
                  - error
                title: CryptoWithdrawalUnavailableError
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key as Bearer token

````