Skip to main content
GET
/
quote
Preview quote (no order created)
curl --request GET \
  --url https://sandbox.elementpay.net/quote
{
  "status": "success",
  "message": "Quote computed",
  "data": {
    "rate": 132.712345,
    "token_amount": 0.753621,
    "fiat_paid": 100,
    "symbol": "USDC",
    "decimals": 6
  }
}
Public endpoint to preview a quote without creating an order. Parameters
  • order_type: OnRamp|OffRamp or 0|1
  • amount_fiat (KES): positive number
  • token (enum): USDC | USDT | WXM
Response
  • rate: KES per token after markup
  • token_amount: tokens the user would receive (OnRamp) or must send (OffRamp)
  • fiat_paid: echo of input
  • decimals, symbol
Rate limits Soft-limited per caller. If you hit the limit, you’ll get HTTP 429 with Retry-After.

Query Parameters

amount_fiat
number
required

Fiat amount in KES

token
enum<string>
required

Token symbol (USDC|USDT|WXM)

Available options:
USDC,
USDT,
WXM
order_type
string
default:OnRamp

Order type: OnRamp|OffRamp or 0|1

Response

Quote computed successfully