Use this to show the customer the exact crypto amount and fees before creating a session.
Blockchain network (e.g., "polygon")
Token type: "USDC" or "USDT"
Amount in local fiat currency. Provide this or amount.
ISO currency code for localAmount (e.g., "NGN")
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"
}
Crypto amount the customer would need to send
Fee deducted from the payout
FX margin percentage applied