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

# Initiate Offramp Payout

> Initiate a payout after crypto has been deposited to the offramp address. This converts the deposited crypto to fiat and sends it to the registered destination account.



## OpenAPI

````yaml /api-reference/openapi.json post /payment/api/v1/offramp/payout
openapi: 3.0.0
info:
  title: Carbn Connect API
  version: 1.0.0
  description: >-
    API documentation for Carbn Connect services including user onboarding, KYC,
    wallet management, and transfers.
servers:
  - url: https://api.carbnconnect.com
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /payment/api/v1/offramp/payout:
    post:
      tags:
        - Payments
      summary: Initiate Offramp Payout
      description: >-
        Initiate a payout after crypto has been deposited to the offramp
        address. This converts the deposited crypto to fiat and sends it to the
        registered destination account.
      operationId: offrampPayout
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OfframpPayoutRequest'
      responses:
        '200':
          description: Payout initiated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OfframpPayoutResponse'
        '400':
          description: Invalid request
        '401':
          description: Unauthorized - API key is missing or invalid
        '404':
          description: User, account, or crypto deposit not found
      security:
        - ApiKeyAuth: []
components:
  schemas:
    OfframpPayoutRequest:
      type: object
      required:
        - user_id
        - account_id
        - crypto_deposit_id
      properties:
        user_id:
          type: string
          format: uuid
          example: 5d1aabf5-361e-4470-8b99-51d1ce3ef338
          description: The unique identifier of the user
        account_id:
          type: string
          format: uuid
          example: 5bc098b7-027f-48a9-9c67-c1666555f5a6
          description: The unique identifier of the registered destination account
        crypto_deposit_id:
          type: string
          format: uuid
          example: 0750ead5-7f17-4470-8b8f-f13429f7232e
          description: The unique identifier of the crypto deposit transaction
    OfframpPayoutResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: 5bb01569-77ac-437a-82ef-a8f1deca18d5
          description: Unique identifier for the payout transaction
        status:
          type: string
          example: PAYMENT_SUBMITTED
          description: Current status of the payout transaction
        source_amount:
          type: number
          example: 2
          description: Amount of crypto being converted (source amount)
        destination_amount:
          type: number
          example: 115.25
          description: Amount of fiat to be received (destination amount)
        rail_fee:
          type: number
          example: 10
          description: Rail fee charged for the transfer
        account_details:
          type: object
          properties:
            accountId:
              type: string
              format: uuid
              example: 6704bfed-79da-4a1c-89ac-0444ccd88db8
              description: The unique identifier of the destination account
            currency:
              type: string
              example: PHP
              description: Destination currency code (ISO 4217)
            userId:
              type: string
              format: uuid
              example: b8aacdf0-876b-43c1-bbe1-2f2465bbed86
              description: The unique identifier of the user
            bank_account:
              type: object
              properties:
                bank_name:
                  type: string
                  example: seabank
                  description: Name of the receiving bank or wallet provider
                account_holder_name:
                  type: string
                  example: Jhoebe Kates Albino
                  description: Name of the account holder
                recipient_account_number:
                  type: string
                  example: '14313487142'
                  description: Destination account number or wallet identifier
            bank_account_type:
              type: string
              example: INDIVIDUAL
              enum:
                - INDIVIDUAL
                - BUSINESS
              description: Type of bank account (INDIVIDUAL or BUSINESS)
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Must be included in the x-api-key header.

````