latestOpenAPI 3.1.02026-08-108094177.6 KB
087dcf516ce2
Delegated Contract Mode
Get on-ramp quote
Delegated Contract Mode will be deprecated soon; new partners should use Managed Custody Mode. On-ramp is not yet generally available; this endpoint is documented for preview only. Returns a real-time quote for fiat token to USDC (with optional swap or bridge) based on BufferPool and limit rules. If isSupport is false or needLivenessCheck is true, guide the user accordingly before submitting.
post/v1/onramp/quote
Headers
X-Api-Signaturestring required
Partner's EIP-191 signature (0x-prefixed hex).
X-Api-Deadlinestring required
Unix seconds when the request signature expires (within 5 minutes).
X-Api-PublicKeystring
Partner's signer Ethereum address.
Request body
Response
Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.