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

# Create Transfer

> Creates a transfer from an Account. You can send funds to another Account on your Platform (book transfer) or to an external Counterparty (on-chain or wire transfer). Provide either `destinationAccountId` or `counterpartyId`, but not both.



## OpenAPI

````yaml POST /transfers
openapi: 3.1.0
info:
  title: Otim Platform API
  version: v0
  description: >-
    API for managing accounts, entities, transfers, counterparties, and IBANs on
    the Otim platform.
servers:
  - url: https://api.otim.com/v0
security:
  - bearerAuth: []
paths:
  /transfers:
    post:
      tags: []
      summary: Create Transfer
      description: >-
        Creates a transfer from an Account. You can send funds to another
        Account on your Platform (book transfer) or to an external Counterparty
        (on-chain or wire transfer). Provide either `destinationAccountId` or
        `counterpartyId`, but not both.
      operationId: createTransfer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTransferRequest'
      responses:
        '201':
          description: Transfer created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTransferResponse'
        '400':
          description: Validation error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CreateTransferRequest:
      type: object
      required:
        - sourceAccountId
        - amount
      properties:
        sourceAccountId:
          type: string
          description: The ID of the Account to transfer from.
        destinationAccountId:
          type: string
          description: >-
            The ID of the destination Account. Use this for book transfers
            between Accounts on the same Platform.
        counterpartyId:
          type: string
          description: >-
            The ID of the Counterparty to send funds to. Use this for transfers
            to external wallets or bank accounts.
        amount:
          type: string
          description: The amount to transfer (e.g., `100.50`).
        currency:
          type: string
          description: The currency to transfer. Defaults to `USDC`.
          default: USDC
        description:
          type: string
          description: Optional description for the transfer.
    CreateTransferResponse:
      type: object
      properties:
        id:
          type: string
          example: txfr_01JA1B2C3D4E5F6G7H8J9K0L
        status:
          type: string
          example: pending
        type:
          type: string
          example: book
        createdAt:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
          description: A machine-readable error code.
        details:
          type: object
          nullable: true
          description: Additional context about the error.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key prefixed with `sk_`.

````