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

# Transfer between your accounts

> Moves money between two of your own accounts.

- **Different currencies:** pass `quoteRef` from [Quote a transfer](/api-reference/transfers/quote-a-transfer-between-your-accounts). The quote's amounts are used.
- **Same currency:** pass `minorUnits`.

`201` means the transfer was made or is on its way: `pending` means the money is reserved and hasn't arrived yet. `200` means this idempotency key already named a transfer, which is returned.

Requires the `transfers:write` scope.



## OpenAPI

````yaml /api-reference/openapi.yaml post /v1/conversions
openapi: 3.1.0
info:
  title: Talescria API
  version: 1.0.0
  description: >-
    Accounts, recipients, payments, transfers between your accounts, payment
    links, customers and invoices. Authenticate with an access token from your
    OAuth client.
servers:
  - url: https://api.talescria.com
    description: Production (test and live keys)
security:
  - bearerAuth: []
tags:
  - name: Accounts
    description: Your accounts and their balances.
  - name: Recipients
    description: People and businesses you pay, and where to pay them.
  - name: Payments
    description: Paying recipients, including across currencies.
  - name: Transfers
    description: Moving money between your own accounts.
  - name: Payment links
    description: Links anyone can open to pay you by card.
  - name: Customers
    description: People and businesses who pay you.
  - name: Invoices
    description: One-off invoices and recurring series.
paths:
  /v1/conversions:
    post:
      tags:
        - Transfers
      summary: Transfer between your accounts
      description: >-
        Moves money between two of your own accounts.


        - **Different currencies:** pass `quoteRef` from [Quote a
        transfer](/api-reference/transfers/quote-a-transfer-between-your-accounts).
        The quote's amounts are used.

        - **Same currency:** pass `minorUnits`.


        `201` means the transfer was made or is on its way: `pending` means the
        money is reserved and hasn't arrived yet. `200` means this idempotency
        key already named a transfer, which is returned.


        Requires the `transfers:write` scope.
      operationId: transferBetweenYourAccounts
      parameters:
        - $ref: '#/components/parameters/IdempotencyKeyRequired'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                quoteRef:
                  type: string
                fromAccountId:
                  type: string
                toAccountId:
                  type: string
                minorUnits:
                  type: string
                  pattern: ^\d+$
                idempotencyKey:
                  type: string
                  maxLength: 200
      responses:
        '200':
          description: This key already named a move; it is returned, not repeated.
          content:
            application/json:
              schema:
                type: object
                properties:
                  conversion:
                    $ref: '#/components/schemas/Conversion'
        '201':
          description: Moved, or on its way.
          content:
            application/json:
              schema:
                type: object
                properties:
                  conversion:
                    $ref: '#/components/schemas/Conversion'
        '400':
          description: >-
            `VALIDATION`: A field is missing or malformed. `message` says which.


            `IDEMPOTENCY_KEY_REQUIRED`: This operation needs an
            `Idempotency-Key` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: >-
            `UNAUTHENTICATED`: The access token is missing, expired or revoked.
            Get a new token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: >-
            `INSUFFICIENT_FUNDS`: The account doesn't have enough available
            balance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            `INSUFFICIENT_SCOPE`: Your API key lacks the scope this operation
            needs. The scope is named in `message` and the `WWW-Authenticate`
            header.


            `ENVIRONMENT_MISMATCH`: The request named a different environment
            from the key's.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: >-
            `QUOTE_UNUSABLE`: The quote has expired or was already used. Get a
            new quote.


            `IDEMPOTENCY_IN_PROGRESS`: A request with this `Idempotency-Key` is
            still running. Retry shortly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: >-
            `IDEMPOTENCY_KEY_REUSED`: This `Idempotency-Key` was used for a
            different request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '`RATE_LIMITED`: Too many requests. Wait for `Retry-After` seconds.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`UPSTREAM_UNAVAILABLE`: Temporarily unavailable. Retry with backoff.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  parameters:
    IdempotencyKeyRequired:
      name: Idempotency-Key
      in: header
      required: true
      description: >-
        A unique key for this operation. Send the same key when you retry it.
        Kept for 24 hours.
      schema:
        type: string
        minLength: 8
        maxLength: 255
        pattern: ^[A-Za-z0-9_\-:.]+$
  schemas:
    Conversion:
      type: object
      required:
        - conversionRef
        - kind
        - fromAccountId
        - toAccountId
        - from
        - to
        - amountFromMinorUnits
        - amountToMinorUnits
        - status
      properties:
        conversionRef:
          type: string
        kind:
          type: string
          enum:
            - conversion
            - internal
        fromAccountId:
          type: string
        toAccountId:
          type: string
        from:
          type: string
        to:
          type: string
        amountFromMinorUnits:
          type: string
        amountToMinorUnits:
          type: string
        status:
          type: string
          enum:
            - pending
            - settled
            - failed
        quoteRef:
          type: string
        failureReason:
          type: string
        createdAt:
          type: integer
        updatedAt:
          type: integer
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Branch on this, not on `message`. See Errors.
            message:
              type: string
              description: For people. Wording can change.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An access token (`at_test_…` or `at_live_…`) from `POST
        https://idp.talescria.com/oauth/token`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.