On Ramp Quote
Convert fiat currency to cryptocurrency (e.g., BRL to BRZ via PIX).
Note: we currently only support BRL → BRZ on ramps at the moment.
Request a Quote
You can request a quote using an existing recipient ID or by passing the settlement details directly in the payload.
const quote = await orda.onRamp.requestQuote({
fromCurrency: 'BRL',
intent: {
method: 'fromAmount',
value: '100.00'
},
taxId: '11144477735',
taxIdCountry: 'BRA',
recipientId: 'recipient-id'
});
console.log('PIX Key:', quote.depositInstructions.pixKey);
console.log('Transaction ID:', quote.transactionId);const quote = await orda.onRamp.requestQuote({
fromCurrency: 'BRL',
intent: {
method: 'usd',
value: '100'
},
taxId: '11144477735',
taxIdCountry: 'BRA',
settlementDetails: {
toChain: '8453',
toToken: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913',
toAddress: '0xRecipientAddress'
}
});Note: taxId and taxIdCountry are required on every on-ramp quote. taxId is the fiat payer's Brazilian tax ID (CPF with 11 digits or CNPJ with 14 digits, digits only with no punctuation) and taxIdCountry is the ISO 3166-1 alpha-3 country code in uppercase (for example, "BRA").
Deposit Instructions
The quote response includes PIX deposit details and a QR code formatted in Base64.
Get Status
Wait for Completion
Terminal Statuses
Last updated