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

# Create an Arc USDC to Celo COPm quote

> Returns a 60-second quote for a 10 to 1,000 USDC principal. The Circle
forwarding fee is additional. No funds move while creating a quote.




## OpenAPI

````yaml /openapi.yaml post /api/integrations/settlements/quotes
openapi: 3.1.0
info:
  title: COP By Integrations API
  version: 0.1.0
  description: |
    Non-custodial Celo API for partners. Prepare swaps and BRE-B COP payouts;
    the user signs from their wallet. Confirm with the transaction hash.
servers:
  - url: https://api.copby.digitalcop.shop
    description: Production API
security:
  - bearerAuth: []
tags:
  - name: Settlement
    description: Quote Arc USDC and create settlement orders that deliver COPm on Celo
  - name: Swaps
    description: Prepare and confirm onchain COPm swaps
  - name: BRE-B
    description: Quote, KYC, and COP payouts via Bridge Bre-B
  - name: Webhooks
    description: >
      Bridge → COP By inbound callbacks, plus outbound partner payout webhooks
      (REQ-INT-WH-01).

      Partners configure URL + signing secret in the dashboard; deliveries are
      HMAC-signed.
paths:
  /api/integrations/settlements/quotes:
    post:
      tags:
        - Settlement
      summary: Create an Arc USDC to Celo COPm quote
      description: |
        Returns a 60-second quote for a 10 to 1,000 USDC principal. The Circle
        forwarding fee is additional. No funds move while creating a quote.
      operationId: createSettlementQuote
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSettlementQuoteRequest'
            example:
              sendAmountUsdc: '50'
              sourceAddress: '0x2222222222222222222222222222222222222222'
              destinationAddress: '0x3333333333333333333333333333333333333333'
      responses:
        '201':
          description: Settlement quote
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettlementQuote'
        '400':
          $ref: '#/components/responses/SettlementError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/SettlementError'
        '429':
          $ref: '#/components/responses/SettlementError'
        '503':
          $ref: '#/components/responses/SettlementError'
components:
  schemas:
    CreateSettlementQuoteRequest:
      type: object
      required:
        - sendAmountUsdc
        - sourceAddress
        - destinationAddress
      properties:
        sendAmountUsdc:
          type: string
          description: USDC principal, between 10 and 1,000 with at most six decimals
          example: '50'
        sourceAddress:
          $ref: '#/components/schemas/Address'
        destinationAddress:
          $ref: '#/components/schemas/Address'
    SettlementQuote:
      type: object
      required:
        - quoteId
        - sendAmountUsdc
        - circleUpfrontFeeUsdc
        - totalDebitUsdc
        - copbyFeeUsdc
        - copAmountExpected
        - copAmountMin
        - effectiveRate
        - expiresAt
      properties:
        quoteId:
          type: string
          example: qst_example
        sendAmountUsdc:
          type: string
          example: '50'
        circleUpfrontFeeUsdc:
          type: string
          example: '0.07'
        totalDebitUsdc:
          type: string
          example: '50.07'
        copbyFeeUsdc:
          type: string
          example: '0.5'
        copAmountExpected:
          type: string
          example: '164835'
        copAmountMin:
          type: string
          description: Binding COPm delivery floor
          example: '158241.6'
        effectiveRate:
          type: string
          example: 1 USDC = 3292.09 COPm
        expiresAt:
          type: string
          format: date-time
    Address:
      type: string
      pattern: ^0x[a-fA-F0-9]{40}$
      example: '0x2222222222222222222222222222222222222222'
    SettlementErrorBody:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - stage
            - fundsStatus
            - fundsMoved
            - retryable
            - nextAction
          properties:
            code:
              type: string
              enum:
                - INVALID_REQUEST
                - RATE_LIMITED
                - INVALID_AMOUNT
                - INVALID_SOURCE_ADDRESS
                - INVALID_DESTINATION_ADDRESS
                - BELOW_MINIMUM
                - ABOVE_MAXIMUM
                - QUOTE_EXPIRED
                - QUOTE_NOT_FOUND
                - ROUTE_UNAVAILABLE
                - SLIPPAGE_LIMIT_EXCEEDED
                - MENTO_CAPACITY_EXCEEDED
                - IDEMPOTENCY_CONFLICT
                - QUOTE_ALREADY_USED
                - INVALID_IDEMPOTENCY_KEY
                - ORDER_NOT_FOUND
                - PROVIDER_UNAVAILABLE
                - INTERNAL_ERROR
                - INTAKE_PAUSED
            message:
              type: string
            stage:
              type: string
            fundsStatus:
              type: string
            fundsMoved:
              type: boolean
            retryable:
              type: boolean
            nextAction:
              type: string
            requestId:
              type: string
  responses:
    SettlementError:
      description: Settlement lifecycle error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SettlementErrorBody'
    Unauthorized:
      description: Missing or invalid integration API key
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Integration API key. Send as `Bearer copby_live_pk_…`.

````