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

# Create crypto withdrawal



## OpenAPI

````yaml /coins/api-reference/openapi.json post /crypto-withdrawals
openapi: 3.1.0
info:
  contact:
    email: support@daya.co
    name: API Support
  description: >-
    Public developer API for the Coins by Daya product. X-API-Key authenticated.
    Market data, portfolio, balances, transactions, order placement, crypto and
    fiat withdrawals. All responses use the standard envelope: { success,
    message?, data?, error?, timestamp }.
  title: Daya Coins Public API
  version: 1.0.0
servers:
  - url: https://api.daya.co/coins/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /crypto-withdrawals:
    post:
      tags:
        - coins-crypto-withdrawals
      summary: Create crypto withdrawal
      operationId: postCryptoWithdrawals
      parameters:
        - description: Stable key for this logical operation; reuse it for every retry
          in: header
          name: Idempotency-Key
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/internal_publicapi_v1.PublicCryptoWithdrawalRequest
        description: Withdrawal request
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                allOf:
                  - $ref: >-
                      #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
                  - properties:
                      data:
                        $ref: >-
                          #/components/schemas/internal_publicapi_v1.PublicWithdrawal
                    type: object
          description: Withdrawal accepted
        '400':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
          description: Malformed body
        '401':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
          description: Missing or invalid API key
        '422':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
          description: Validation error
        '503':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
          description: Withdrawals disabled
components:
  schemas:
    internal_publicapi_v1.PublicCryptoWithdrawalRequest:
      properties:
        address:
          example: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e'
          type: string
        address_label:
          example: My Ledger
          type: string
        amount:
          example: '50.00'
          type: string
        asset:
          example: USDT
          type: string
        chain:
          example: ethereum
          type: string
        save_address:
          example: true
          type: boolean
      type: object
      required:
        - asset
        - chain
        - address
        - amount
    github_com_dayacoins_daya-coins-service_pkg_response.Envelope:
      properties:
        data: {}
        error:
          $ref: >-
            #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.ErrorData
        message:
          description: Message is an optional banner/toast string.
          type: string
        success:
          type: boolean
        timestamp:
          type: string
      type: object
    internal_publicapi_v1.PublicWithdrawal:
      properties:
        amount:
          example: '50.00'
          type: string
        asset:
          example: USDT
          type: string
        bridge_fee:
          example: '0'
          type: string
        chain:
          example: ethereum
          type: string
        completed_at:
          example: '2026-01-15T10:32:00Z'
          type: string
        created_at:
          example: '2026-01-15T10:30:00Z'
          type: string
        failure_reason:
          example: withdrawal failed
          type: string
        id:
          example: 9c2504e0-4f89-41d3-9a0c-0305e82c3303
          type: string
        status:
          enum:
            - pending
            - processing
            - completed
            - failed
          example: processing
          type: string
        to_address:
          example: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e'
          type: string
        transaction_hash:
          example: '0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060'
          type: string
        type:
          enum:
            - withdrawal
          example: withdrawal
          type: string
      type: object
    github_com_dayacoins_daya-coins-service_pkg_response.ErrorData:
      properties:
        code:
          type: string
        details: {}
        fields:
          additionalProperties:
            type: string
          type: object
        message:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: >-
        Your Daya API key, sent in the X-API-Key header. Issue and scope keys in
        the Daya dashboard.
      in: header
      name: X-API-Key
      type: apiKey

````