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

# Create offramp order

> Convert stablecoin to local fiat bank disbursement. Requires `offramps:write` and `Idempotency-Key`.



## OpenAPI

````yaml /openapi.yaml post /offramps
openapi: 3.1.0
info:
  title: Remitflex API
  version: 1.0.0
  description: >
    Programmatic access to Remitflex payment routes, fiat rates, customers, and
    transactions.


    **Dashboard:** Create API keys at https://dashboard.remitflex.io


    **Authentication:** Send your API key as `Authorization: Bearer
    rmf_live_...` or `rmf_test_...`.


    **Idempotency:** Mutating requests (`POST`, `PUT`, `PATCH`, `DELETE`)
    require an `Idempotency-Key` header when authenticated with an API key.
servers:
  - url: http://localhost:4000/v1
    description: Local development
  - url: https://api.remitflex.io/v1
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /offramps:
    post:
      tags:
        - Offramps
      summary: Create offramp order
      description: >-
        Convert stablecoin to local fiat bank disbursement. Requires
        `offramps:write` and `Idempotency-Key`.
      operationId: createOfframp
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOfframpRequest'
      responses:
        '201':
          $ref: '#/components/responses/OfframpOrder'
      security:
        - ApiKeyAuth: []
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: true
      description: >-
        Unique key for safe retries on mutating API-key requests. Cached for 24
        hours per org, method, and path.
      schema:
        type: string
        maxLength: 255
        example: 7f3c2a1b-4e5d-6c7b-8a9f-0e1d2c3b4a5f
  schemas:
    CreateOfframpRequest:
      type: object
      required:
        - customerId
        - amount
        - rate
        - reference
        - returnAddress
        - recipient
      properties:
        customerId:
          type: string
        amount:
          type: string
        rate:
          type: string
        reference:
          type: string
        returnAddress:
          type: string
        token:
          type: string
          default: USDC
        network:
          type: string
          default: base
        recipient:
          type: object
          required:
            - institution
            - accountIdentifier
            - accountName
            - currency
          properties:
            institution:
              type: string
            accountIdentifier:
              type: string
            accountName:
              type: string
            currency:
              type: string
            memo:
              type: string
            providerId:
              type: string
    SuccessEnvelope:
      type: object
      properties:
        status:
          type: string
          example: success
        message:
          type: string
        data:
          nullable: true
    OfframpOrder:
      type: object
      properties:
        id:
          type: string
          format: uuid
        orderId:
          type: string
        customerId:
          type: string
        receiveAddress:
          type: string
        validUntil:
          type: string
          format: date-time
        amount:
          type: string
        token:
          type: string
        network:
          type: string
        rate:
          type: string
        reference:
          type: string
        returnAddress:
          type: string
        status:
          type: string
        externalTransferId:
          type: string
        recipient:
          $ref: '#/components/schemas/OfframpRecipient'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    OfframpRecipient:
      type: object
      properties:
        institution:
          type: string
        accountIdentifier:
          type: string
        accountName:
          type: string
        currency:
          type: string
        memo:
          type: string
        providerId:
          type: string
  responses:
    OfframpOrder:
      description: Offramp order
      content:
        application/json:
          schema:
            allOf:
              - $ref: '#/components/schemas/SuccessEnvelope'
              - type: object
                properties:
                  data:
                    $ref: '#/components/schemas/OfframpOrder'
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: >
        API key created in the Remitflex Dashboard at dashboard.remitflex.io
        (`rmf_live_...` or `rmf_test_...`).

        Key management endpoints require a dashboard JWT and are not part of
        this reference.

````