quoteId OR (fiatCurrency + blockchainSymbol + tokenSymbol). When a quote is used, currency/token fields are inherited from the quote.fiatAmount or cryptoAmount, not both.destinationWalletAddress (inline) or walletAddressId (reference to a saved wallet).Create a user
Complete KYC verification
Get a quote (optional)
Create on-ramp transaction
POST /api/partner/v2/on-ramp (this endpoint) — returns bank account details for the fiat deposit| HTTP Status | Code | Message |
|---|---|---|
| 401 | UNAUTHORIZED | ”API Key is missing” |
| 401 | UNAUTHORIZED | ”Invalid API Key format” |
| 401 | UNAUTHORIZED | ”Invalid API Key” |
| 403 | INVALID_PARTNER_FLOW | ”The partner has an invalid flow.” |
| HTTP Status | Code | Message |
|---|---|---|
| 400 | REQUIRED_USER_ID_ERROR | ”This endpoint requires a user id to be provided” |
| 403 | USER_NOT_VERIFIED_ERROR | ”User is not allowed to perform the operations because has not completed the KYC verification.” |
| HTTP Status | Code | Message |
|---|---|---|
| 400 | INVALID_USER_INPUT_ERROR | ”Invalid User Input” |
| 400 | BAD_REQUEST | ”address must be a valid address” |
| 400 | BAD_REQUEST | ”Either quoteId or fiatCurrency, blockchainSymbol, tokenSymbol, and at least one of fiatAmount or cryptoAmount must be provided” |
| 400 | BAD_REQUEST | ”Fiat currency is disabled or does not exist” |
| 400 | BAD_REQUEST | ”This blockchain and token combination is disabled or does not exist” |
| 400 | QUOTE_EXPIRED | ”Quote has expired” |
| 400 | BAD_REQUEST | ”Quote is not valid for ON_RAMP” |
| 400 | INVALID_TOKEN_OPERATION_ERROR | ”Token cannot be operated as OTC, only stable coins are allowed” |
| 400 | BAD_REQUEST | ”Either walletAddressId or destinationWalletAddress must be provided” |
| 400 | BAD_REQUEST | ”Cannot create transaction: No supported banks configured for user with id: “ |
| 400 | INVALID_FIAT_AMOUNT_ERROR | ”Fiat amount is outside of the allowed range for ON_RAMP. Should be between and “ |
| 400 | INVALID_TOKEN_AMOUNT_ERROR | ”Token amount is outside of the allowed range for ON_RAMP. Should be between and “ |
| 403 | RECEIVER_CANNOT_INITIATE_TRANSACTION | ”Receiver accounts cannot initiate transactions directly.” |
Api key for the affiliated partner that is performing the request
Identifier for the user
"8374f327-38bd-4b0b-b8a7-2524599eb903"
Wallet address of the user making the transaction.
"0x4d2f3d8f83b6f2f8e0f3f4f3f3f3f3f3f3f3f3f3"
Identifier for the fiat currency which the user will rec.
MXN, DOP, USD, EUR "MXN"
Identifier for the blockchain to token from which the conversion will be made.
POL, SOL, BASE, ARB, BSC, OP, WLD, STK, ETH, MTN, CORE "BASE"
Identifier for the token from which the conversion will be made.
USDC, USDT, MXNe, SOL, ETH, wBTC, cbBTC, PYSUD, POL, BNB, WLD, STK, USDY, CORE, USDC.e, wUSDL, CoreBTC, MATIC, USDbC "ETH"
Identifier for the quote to be used for the transaction.
Amount of fiat currency to be converted to crypto currency.
Amount of cryptocurrency to be received in conversion.
Spread percentage to be applied to the exchange rate