curl -X GET "https://onramp.staging-portal.abs.xyz/quote?country=US&destinationCurrency=USDC_BASE&sourceCurrency=USD&amount=100&paymentMethod=CREDIT_DEBIT_CARD&walletAddress=0xfc61f1b7701f6765ff548b3bca403cdaa723d260"
{
"quotes": [
{
"transactionType": "CRYPTO_PURCHASE",
"sourceAmount": 100,
"sourceAmountWithoutFees": 93.3317,
"fiatAmountWithoutFees": 93.3317,
"destinationAmountWithoutFees": null,
"sourceCurrencyCode": "USD",
"countryCode": "US",
"totalFee": 6.68,
"networkFee": null,
"transactionFee": 5.5,
"destinationAmount": 68.017348,
"destinationCurrencyCode": "USDC_BASE",
"exchangeRate": 1.468,
"paymentMethodType": "CREDIT_DEBIT_CARD",
"customerScore": 20,
"serviceProvider": "TRANSAK",
"institutionName": null,
"lowKyc": null,
"partnerFee": 1,
"walletAddress": "0xfc61f1b7701f6765ff548b3bca403cdaa723d260",
"toAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"relayFee": 0.18
}
]
}
Generate quotes for purchasing cryptocurrency with FIAT currency.
curl -X GET "https://onramp.staging-portal.abs.xyz/quote?country=US&destinationCurrency=USDC_BASE&sourceCurrency=USD&amount=100&paymentMethod=CREDIT_DEBIT_CARD&walletAddress=0xfc61f1b7701f6765ff548b3bca403cdaa723d260"
{
"quotes": [
{
"transactionType": "CRYPTO_PURCHASE",
"sourceAmount": 100,
"sourceAmountWithoutFees": 93.3317,
"fiatAmountWithoutFees": 93.3317,
"destinationAmountWithoutFees": null,
"sourceCurrencyCode": "USD",
"countryCode": "US",
"totalFee": 6.68,
"networkFee": null,
"transactionFee": 5.5,
"destinationAmount": 68.017348,
"destinationCurrencyCode": "USDC_BASE",
"exchangeRate": 1.468,
"paymentMethodType": "CREDIT_DEBIT_CARD",
"customerScore": 20,
"serviceProvider": "TRANSAK",
"institutionName": null,
"lowKyc": null,
"partnerFee": 1,
"walletAddress": "0xfc61f1b7701f6765ff548b3bca403cdaa723d260",
"toAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"relayFee": 0.18
}
]
}
Show quotes
curl -X GET "https://onramp.staging-portal.abs.xyz/quote?country=US&destinationCurrency=USDC_BASE&sourceCurrency=USD&amount=100&paymentMethod=CREDIT_DEBIT_CARD&walletAddress=0xfc61f1b7701f6765ff548b3bca403cdaa723d260"
{
"quotes": [
{
"transactionType": "CRYPTO_PURCHASE",
"sourceAmount": 100,
"sourceAmountWithoutFees": 93.3317,
"fiatAmountWithoutFees": 93.3317,
"destinationAmountWithoutFees": null,
"sourceCurrencyCode": "USD",
"countryCode": "US",
"totalFee": 6.68,
"networkFee": null,
"transactionFee": 5.5,
"destinationAmount": 68.017348,
"destinationCurrencyCode": "USDC_BASE",
"exchangeRate": 1.468,
"paymentMethodType": "CREDIT_DEBIT_CARD",
"customerScore": 20,
"serviceProvider": "TRANSAK",
"institutionName": null,
"lowKyc": null,
"partnerFee": 1,
"walletAddress": "0xfc61f1b7701f6765ff548b3bca403cdaa723d260",
"toAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"relayFee": 0.18
}
]
}
Was this page helpful?