Skip to main content
POST
/
pos
/
sessions
/
quote
curl -X POST https://secureapi.gridlog.io/api/v1/pos/sessions/quote \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "chain": "polygon",
    "token": "USDC",
    "localAmount": "37500.00",
    "localCurrency": "NGN"
  }'
{
  "chain": "polygon",
  "token": "USDC",
  "amount": "25.00",
  "localAmount": "37500.00",
  "fee": "0.50",
  "fxMargin": "2.5"
}
Use this to show the customer the exact crypto amount and fees before creating a session.
chain
string
required
Blockchain network (e.g., "polygon")
token
string
required
Token type: "USDC" or "USDT"
localAmount
string
Amount in local fiat currency. Provide this or amount.
localCurrency
string
ISO currency code for localAmount (e.g., "NGN")
amount
string
Amount in cryptocurrency. Provide this or localAmount.
curl -X POST https://secureapi.gridlog.io/api/v1/pos/sessions/quote \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "chain": "polygon",
    "token": "USDC",
    "localAmount": "37500.00",
    "localCurrency": "NGN"
  }'
{
  "chain": "polygon",
  "token": "USDC",
  "amount": "25.00",
  "localAmount": "37500.00",
  "fee": "0.50",
  "fxMargin": "2.5"
}
amount
string
Crypto amount the customer would need to send
localAmount
string
Equivalent fiat amount
fee
string
Fee deducted from the payout
fxMargin
string
FX margin percentage applied
For real-time streaming quotes, use the WebSocket Quote endpoint instead.