OTC Quote
Get a fiat-to-crypto quote for the OTC off-ramp flow.
Overview
This page documents the shared OTC quote API used by both on-ramp and off-ramp flows. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.Notes
- Authentication uses the standard GatePay signed headers.
- Use
type=BUYfor on-ramp andtype=SELLfor off-ramp. - This page documents the standard merchant endpoint.
- For shared signing rules, see /api-reference/version/100/en/common/securityAndSignature.
Headers
Merchant application client ID used to identify the calling app.
HMAC signature generated from the request according to GatePay signing rules.
Millisecond timestamp; the difference from server time must not exceed 30 seconds.
Random nonce used together with the timestamp to prevent replay attacks.
Institutional sub-account UID. Only required when an institution submits a request on behalf of a sub-account; not required for direct merchant requests.
Body
Cryptocurrency code used in the quote request. On-ramp supports: USDT, USDC. Off-ramp supports: USDT, USDC.
Fiat currency code used in the quote request. Currently supported: USD.
Quote direction. Use CRYPTO to quote by crypto amount or FIAT to quote by fiat amount.
OTC business type. Use BUY for on-ramp and SELL for off-ramp.
Cryptocurrency amount used when quoting by crypto amount.
Fiat amount used when quoting by fiat amount.
Optional promotion code if supported by the OTC business flow.

