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

# Create Payout

> Creates a new payout for the authenticated merchant



## OpenAPI

````yaml POST /api/v1/merchants/payout/create
openapi: 3.0.1
info:
  title: OpenAPI Payvra
  description: Payvra API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://payvra.com
security:
  - BearerAuth: []
paths:
  /api/v1/merchants/payout/create:
    post:
      tags:
        - Payouts
      summary: Create a payout
      description: Creates a new payout for the authenticated merchant
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePayoutRequest'
      responses:
        '200':
          description: Payout created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayoutResponse'
        '400':
          description: Bad request - validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - BearerAuth: []
components:
  schemas:
    CreatePayoutRequest:
      type: object
      required:
        - currency
        - network
        - amount
        - address
      properties:
        currency:
          type: string
          description: Cryptocurrency symbol
        network:
          type: string
          description: Network for the cryptocurrency
        amount:
          type: number
          description: Amount to withdraw
          minimum: 0
          multipleOf: 1.e-8
        address:
          type: string
          description: Destination address for the payout
    PayoutResponse:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the payout
        wallet:
          type: object
          properties:
            merchantId:
              type: string
            currency:
              type: object
              properties:
                symbol:
                  type: string
        network:
          type: object
          properties:
            network:
              type: string
        status:
          type: string
          enum:
            - PROCESSING
            - CONFIRMING
            - COMPLETED
            - REJECTED
        address:
          type: string
        txHash:
          type: string
          nullable: true
        amount:
          type: number
        createdAt:
          type: string
          format: date-time
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````