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

# Transfer Rate

> Returns the exchange rate between two currency pairs. Currently supports `USDNGN` only.



## OpenAPI

````yaml openapi.json get /accounts/transfer/rate/{currencyPair}
openapi: 3.1.0
info:
  title: Sudo Sandbox API
  version: '1.0'
servers:
  - url: https://api.sandbox.sudo.cards
security:
  - sec0: []
paths:
  /accounts/transfer/rate/{currencyPair}:
    get:
      summary: Transfer Rate
      description: >-
        Returns the exchange rate between two currency pairs. Currently supports
        `USDNGN` only.
      operationId: transfer-rate
      parameters:
        - name: currencyPair
          in: path
          description: Exchange Currency Pair. Example `USDNGN`.
          schema:
            type: string
            default: USDNGN
          required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: |-
                    {
                        "statusCode": 200,
                        "message": "Exchange rate fetched successfully.",
                        "data": {
                            "rate": "530.00",
                            "sell": "482.00",
                            "buy": "530.00"
                        }
                    }
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    example: 200
                    default: 0
                  message:
                    type: string
                    example: Exchange rate fetched successfully.
                  data:
                    type: object
                    properties:
                      rate:
                        type: string
                        example: '530.00'
                      sell:
                        type: string
                        example: '482.00'
                      buy:
                        type: string
                        example: '530.00'
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-bearer-format: bearer
      x-default: '{{APIKey}}'

````