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

# Execute a conversion

> Executes a pending quote: `from.amount` is debited from your `from.currency` balance and `to.amount` is credited to your `to.currency` balance atomically, at the quoted rate. A quote can only be executed once; expired or already-executed quotes are rejected with 400, so request a fresh quote and try again.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/conversions
openapi: 3.1.0
info:
  title: Chipper Platform API
  version: '2026-02-20'
  description: >-
    Payouts, collections, and FX across African rails — bank, mobile money, and
    stablecoins — through one API.
servers:
  - url: https://api.platform.chipper.ai
    description: Production (sk_live_ keys)
  - url: https://sandbox-api.platform.chipper.ai
    description: Sandbox (sk_test_ keys — simulated rails, no real money)
security:
  - bearerAuth: []
paths:
  /v1/conversions:
    post:
      tags:
        - Conversions
      summary: Execute a conversion
      description: >-
        Executes a pending quote: `from.amount` is debited from your
        `from.currency` balance and `to.amount` is credited to your
        `to.currency` balance atomically, at the quoted rate. A quote can only
        be executed once; expired or already-executed quotes are rejected with
        400, so request a fresh quote and try again.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                quoteId:
                  type: string
                  minLength: 1
              required:
                - quoteId
      responses:
        '200':
          description: >-
            A concurrent execute of the same quote was already in flight — its
            result is returned.
          content:
            application/json:
              schema:
                type: object
                properties:
                  conversion:
                    $ref: '#/components/schemas/Conversion'
                required:
                  - conversion
        '201':
          description: The conversion was executed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  conversion:
                    $ref: '#/components/schemas/Conversion'
                required:
                  - conversion
        '400':
          description: The quote has expired or was already executed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: bad_request
                message: Quote has expired
                requestId: req_q7vei435zifs51ia0lqr
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: unauthorized
                message: Invalid API key
                requestId: req_q7vei435zifs51ia0lqr
        '403':
          description: The API key lacks the required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: forbidden
                message: API key does not have the required scope
                requestId: req_q7vei435zifs51ia0lqr
        '404':
          description: No such resource in this organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: not_found
                message: Conversion quote not found
                requestId: req_q7vei435zifs51ia0lqr
      security:
        - bearerAuth: []
components:
  schemas:
    Conversion:
      type: object
      properties:
        id:
          type: string
          example: conv_b7y4nq2vx9mk1hzp5rlw
        status:
          type: string
          enum:
            - completed
            - failed
        quoteId:
          type:
            - string
            - 'null'
          example: qte_k3m9x2pw7fqz1ncv8hdt
        from:
          type: object
          properties:
            accountNumber:
              type:
                - string
                - 'null'
              description: Your balance account that is debited.
              example: GHS12345678
            amount:
              type: string
              description: Decimal string — never parse as float for arithmetic.
              example: '1000.00'
            currency:
              type: string
              example: GHS
          required:
            - accountNumber
            - amount
            - currency
        to:
          type: object
          properties:
            accountNumber:
              type:
                - string
                - 'null'
              description: Your balance account that is credited.
              example: USD87654321
            amount:
              type: string
              description: Decimal string — never parse as float for arithmetic.
              example: '62.50'
            currency:
              type: string
              example: USD
          required:
            - accountNumber
            - amount
            - currency
        rate:
          type: string
          description: >-
            Units of `to.currency` per 1 unit of `from.currency`. Spread is
            already included — this is exactly what you get.
          example: '0.0625'
        statusMessage:
          type:
            - string
            - 'null'
          description: Failure reason when status is failed.
        completedAt:
          type:
            - string
            - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
          example: '2026-08-01T09:13:02.000Z'
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - status
        - quoteId
        - from
        - to
        - rate
        - statusMessage
        - completedAt
        - createdAt
        - updatedAt
    Error:
      type: object
      properties:
        error:
          type: string
          description: Stable machine-readable code.
        message:
          type: string
          description: Human-readable explanation.
        requestId:
          type: string
          description: Echoed in the x-request-id response header — quote it to support.
      required:
        - error
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key: `sk_test_…` (sandbox) or `sk_live_…` (production).'

````