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

# Create Bank Payout



## OpenAPI

````yaml POST /payouts/create-bank-payout
openapi: 3.0.1
info:
  title: CORE API OpenAPI Specification
  description: This is the API documentation for the ClickPesa CORE API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.clickpesa.com/third-parties
security:
  - bearerAuth: []
paths:
  /payouts/create-bank-payout:
    post:
      tags:
        - Payouts
        - Initiate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - amount
                - orderReference
                - accountNumber
                - currency
                - bic
                - transferType
                - accountName
              properties:
                amount:
                  type: number
                accountNumber:
                  type: string
                accountName:
                  type: string
                currency:
                  type: string
                  enum:
                    - TZS
                    - USD
                  description: Account currency to pay out from (TZS or USD)
                accountCurrency:
                  type: string
                  enum:
                    - TZS
                  default: TZS
                  description: Receiving currency for the payout (TZS)
                orderReference:
                  type: string
                  description: Your unique Order reference
                bic:
                  type: string
                  description: >-
                    Beneficiary bank BIC. You can fetch the list of bank BICs
                    from the [banks list
                    endpoint.](/api-reference/list/get-bank-list)
                transferType:
                  type: string
                  enum:
                    - ACH
                    - RTGS
                checksum:
                  type: string
                  description: >-
                    If enabled, this is the generated checksum of the payload.
                    Refer to the [documentation](/home/checksum) for more
                    details.
      responses:
        '200':
          description: Create bank payout response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateBankPayoutResponse'
        '400':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '401':
          description: Invalid or Expired Token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedError'
        '409':
          description: Conflict Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerError'
components:
  schemas:
    CreateBankPayoutResponse:
      type: object
      properties:
        updatedAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
        id:
          type: string
        orderReference:
          type: string
        amount:
          type: string
          description: Total amount deducted from your account balance (includes fee)
          example: '202360.00'
        currency:
          type: string
          example: TZS
        fee:
          type: string
          description: Transaction fee deducted from source currency (included in amount)
          example: '2360.00'
        exchanged:
          type: boolean
          description: >-
            Indicates if currency conversion was applied (true when source
            currency differs from receiving currency)
          example: true
        exchange:
          type: object
          description: Exchange rate details (only present when exchanged is true)
          properties:
            sourceCurrency:
              type: string
              description: Source currency for the exchange
              example: USD
            targetCurrency:
              type: string
              description: Target currency for the exchange
              example: TZS
            sourceAmount:
              type: number
              description: Amount in source currency
              example: 1000
            rate:
              type: number
              description: Exchange rate used for conversion
              example: 2500
        status:
          type: string
          enum:
            - AUTHORIZED
            - SUCCESS
            - REVERSED
        channel:
          type: string
          enum:
            - BANK TRANSFER
        channelProvider:
          type: string
          example: Equity Bank Tanzania Limited
        transferType:
          type: string
          enum:
            - ACH
            - RTGS
          nullable: true
          example: ACH
        order:
          type: object
          properties:
            amount:
              type: string
              description: Amount added during order creation/payload
              example: '20000.00'
            currency:
              type: string
              example: TZS
        beneficiary:
          type: object
          properties:
            accountNumber:
              type: string
              example: '123456789'
            accountName:
              type: string
              example: John Doe
        clientId:
          type: string
          description: Application Client ID associated with the payout
    ValidationError:
      type: object
      properties:
        message:
          type: string
          enum:
            - Valid Client ID is required
            - Unsupported channel provider
            - >-
              Application has no access to PAYOUT API feature. Enable it on your
              application.
            - >-
              Invalid Order Reference, should only contain alphanumeric
              characters and cannot be blank
            - 'Insufficient balance: available balance is {balance} TZS'
          example: >-
            Invalid Order Reference, should only contain alphanumeric characters
            and cannot be blank
    UnauthorizedError:
      type: object
      properties:
        message:
          type: string
          description: Unauthorized Error
          example: Unauthorized
    ConflictError:
      type: object
      properties:
        message:
          type: string
          description: Conflict message when an order reference is already used
          example: >-
            Order reference {Your reference} already used: Create a different
            reference
    InternalServerError:
      type: object
      properties:
        message:
          type: string
          description: Internal Server Error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Authorization header containing the JWT access token returned from the
        generate token endpoint. The token already includes the Bearer prefix.
        Example: `Authorization: Bearer eyJhbGciOi...`
      bearerFormat: JWT

````