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}}
Description
Headers
Header | Value | Required |
---|---|---|
Content-Type | application/json | Yes |
x-api-key | YOUR_API_KEY | Yes |
Path Parameter
Parameter | Type | Description |
---|---|---|
quote_id | string | Unique identifier of the quote |
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
Code | Message |
---|---|
400 | Bad request – invalid or missing fields |
401 | Unauthorized – invalid API key |
500 | Internal server error |