Get a quote
Fetch a quote for a fiat→crypto transfer prior to a user initiating a transfer. This quote is not executable until the user is authenticated.
Currently only cash-in (on-ramp) quotes are supported.
Authorizations
Use partnerId
and secretKey
as the username and password respectively.
The client must send these credentials in the Authorization header, encoded in Base64.
The format for the header is Authorization: Basic {credentials}
, where "credentials" is
the Base64 encoding of "partnerId:secretKey"
.
Query Parameters
The total fiat amount represented as a stringified number. This value can include minor units (decimals).
Examples: 25
, 0.12
, 0.246810
, 5000.00
The currency code of the source asset (in this case, fiat currency) to use for the transfer.
Currently only fiat/USD
and fiat/EUR
are supported.
The currency to use as the destination asset (the crypto that will be purchased) for a transfer.
The following values are supported:
bitcoin/BTC
ethereum/ETH
ethereum/USDC
solana/SOL
solana/USDC
arbitrum-one/ETH
arbitrum-one/USDC
base/ETH
base/USDC
polygon/MATIC
polygon/USDC
optimism/ETH
optimism/USDC
The kind of payment method that will be used to fund the transfer.
debit
The wallet address of the user requesting the quote.
1
A 2-character ISO 3166-2 country code for the user.
Note: Currently, only the United States (US
) is supported.
Examples: US
, DE
, IT
.
2