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

# Suggest a settlement route

> Propose the optimal rail + path for a settlement. Returns one or more route options ranked by cost / time.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/settlement/route
openapi: 3.1.0
info:
  title: Sly API
  description: >-
    The Agentic Economy Platform — stablecoin payments, agent wallets,
    multi-protocol commerce, and AI agent orchestration.
  version: 1.0.0
  contact:
    name: Sly
    url: https://getsly.ai
    email: support@getsly.ai
servers:
  - url: https://api.getsly.ai/v1
    description: Production
  - url: https://sandbox.getsly.ai/v1
    description: Sandbox
security:
  - bearerAuth: []
paths:
  /v1/settlement/route:
    post:
      tags:
        - Settlement
      summary: Suggest a settlement route
      description: >-
        Propose the optimal rail + path for a settlement. Returns one or more
        route options ranked by cost / time.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettlementRouteRequest'
      responses:
        '200':
          description: Routes
          content:
            application/json:
              schema:
                type: object
                properties:
                  routes:
                    type: array
                    items:
                      type: object
                      properties:
                        rail:
                          type: string
                        fee:
                          type: string
                        eta_seconds:
                          type: integer
                        score:
                          type: number
                      required:
                        - rail
                        - fee
                        - eta_seconds
                        - score
                required:
                  - routes
      security:
        - bearerAuth: []
components:
  schemas:
    SettlementRouteRequest:
      type: object
      properties:
        amount:
          type: number
          exclusiveMinimum: 0
        currency:
          type: string
        destination_currency:
          type: string
        destination_country:
          type: string
        preferred_rails:
          type: array
          items:
            type: string
      required:
        - amount
        - currency
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key (pk_test_* or pk_live_*), JWT session, agent token (agent_*),
        Ed25519 session (sess_*), or portal token (portal_*).

````