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

# Fund Transfer

> Transfers funds from one account, wallet, or card to another.



## OpenAPI

````yaml openapi.json post /accounts/transfer
openapi: 3.1.0
info:
  title: Sudo Sandbox API
  version: '1.0'
servers:
  - url: https://api.sandbox.sudo.cards
security:
  - sec0: []
paths:
  /accounts/transfer:
    post:
      summary: Fund Transfer
      description: Transfers funds from one account, wallet, or card to another.
      operationId: fund-transfer
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - debitAccountId
                - amount
              properties:
                debitAccountId:
                  type: string
                  description: The `_id` of the account/wallet to debit the funds from.
                creditAccountId:
                  type: string
                  description: >-
                    The `_id` of the account/wallet to receive the funds.
                    Required if `beneficiaryBankCode` and
                    `beneficiaryAccountNumber` are not present.
                beneficiaryBankCode:
                  type: string
                  description: >-
                    The bank code of the beneficiary account. Required if
                    `creditAccountId` is not present.
                beneficiaryAccountNumber:
                  type: string
                  description: >-
                    The account number of the beneficiary account. Required if
                    `creditAccountId` is not present.
                amount:
                  type: number
                  description: The amount to be transfered.
                  format: float
                narration:
                  type: string
                  description: The narration of the transfer.
                paymentReference:
                  type: string
                  description: >-
                    A payment reference can be provided to be attached to the
                    transfer.
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-bearer-format: bearer
      x-default: '{{APIKey}}'

````