Get Quote (Off Ramp)

This endpoint fetches the complete details of a specific off-ramp (crypto-to-fiat) quote, using its quote_id. The data includes source crypto, target fiat, rates, fees, and transaction rules.

Endpoint

GET {{baseURL}}/v1/ramp/quote/{{quote_id}}

Headers

HeaderValueRequired
Content-Typeapplication/jsonYes
x-api-keyYOUR_API_KEYYes

Path Parameter

ParameterTypeDescription
quote_idstringUnique identifier of the quote

Example Request

This example shows how to retrieve the details of a specific ramp quote using its unique ID.

    Successful Response 200 OK

    {
      "message": "quote successfully fetched",
      "status": "success",
      "data": {
        "id": "92da6ea0-79fe-4000-971d-c481ed495a6a",
        "source": {
          "currency": "Polygon",
          "symbol": "POL",
          "addressRegex": "^(0x)[0-9A-Fa-f]{40}$",
          "amount": 0.12,
          "blockchain": "MATIC",
          "type": "CRYPTOCURRENCY"
        },
        "target": {
          "currency": "NGN",
          "country": "NG",
          "amount": 117.30,
          "type": "FIAT"
        },
        "rate": 0.00102300,
        "fees": {
          "symbol": "POL",
          "amount": 0.00,
          "gas": {
            "type": "MEDIUM",
            "amount": 0.01909123
          }
        },
        "rules": [
          {
            "category": "LIMIT",
            "appliedCurrency": "NGN",
            "appliedCountry": "NG",
            "transaction": {
              "minimum": 10.00,
              "maximum": 2000000.00
            },
            "invoice": 2000000.00
          }
        ],
        "summary": {
          "total": 0.12
        }
      }
    }
    

    Error Codes

    CodeMessage
    400Bad request – invalid or missing fields
    401Unauthorized – invalid API key
    500Internal server error