Child Address Get Quote
curl --request POST \
--url https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"sessionId": "13a36c1c-f4a6-4e49-a582-2ecded2559bc",
"paymentMethod": "ae1f871a-f2cd-5eab-84bf-5240091d9767"
}
'import requests
url = "https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote"
payload = {
"sessionId": "13a36c1c-f4a6-4e49-a582-2ecded2559bc",
"paymentMethod": "ae1f871a-f2cd-5eab-84bf-5240091d9767"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sessionId: '13a36c1c-f4a6-4e49-a582-2ecded2559bc',
paymentMethod: 'ae1f871a-f2cd-5eab-84bf-5240091d9767'
})
};
fetch('https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'sessionId' => '13a36c1c-f4a6-4e49-a582-2ecded2559bc',
'paymentMethod' => 'ae1f871a-f2cd-5eab-84bf-5240091d9767'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote"
payload := strings.NewReader("{\n \"sessionId\": \"13a36c1c-f4a6-4e49-a582-2ecded2559bc\",\n \"paymentMethod\": \"ae1f871a-f2cd-5eab-84bf-5240091d9767\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"sessionId\": \"13a36c1c-f4a6-4e49-a582-2ecded2559bc\",\n \"paymentMethod\": \"ae1f871a-f2cd-5eab-84bf-5240091d9767\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sessionId\": \"13a36c1c-f4a6-4e49-a582-2ecded2559bc\",\n \"paymentMethod\": \"ae1f871a-f2cd-5eab-84bf-5240091d9767\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Successful",
"data": {
"debitAmount": "100.00",
"minAmount": "10.00",
"networkFee": "0.00006779052",
"networkFeeInUSD": "0.14",
"estimatedArrivalTime": 60,
"transactionFee": "1.50",
"nativeBalance": "0.000929309612767174",
"nativeBalanceInUSD": "1.97",
"amountFiat": "152675.00",
"deductions": []
},
"status": true
}{
"statusCode": 400,
"message": "Minimum amount for this payment method is 26 USDC",
"code": "amount_out_of_bounds",
"errors": [
{
"field": "amount",
"message": "Minimum amount for this payment method is 26 USDC",
"code": "amount_out_of_bounds"
}
],
"details": {
"minAmount": "26",
"currency": "USDC",
"amountSide": "source",
"paymentMethod": "method-id"
}
}{
"statusCode": 123,
"message": "<string>",
"details": {
"code": "CUSTOMER_ONBOARDING_REQUIRED",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"provider": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>"
},
"onboarding": {
"caseId": "<string>",
"status": "<string>",
"providerStatus": "<string>",
"action": {
"type": "create_case",
"method": "POST",
"path": "/v1/customers/18d2f159-e0cd-4a45-b735-e9dfe0f7520a/onboarding-requests",
"body": {
"provider": "<string>",
"type": "onramp"
}
}
}
},
"requestId": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"details": {
"code": "CUSTOMER_ONBOARDING_REQUIRED",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"provider": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>"
},
"onboarding": {
"caseId": "<string>",
"status": "<string>",
"providerStatus": "<string>",
"action": {
"type": "create_case",
"method": "POST",
"path": "/v1/customers/18d2f159-e0cd-4a45-b735-e9dfe0f7520a/onboarding-requests",
"body": {
"provider": "<string>",
"type": "onramp"
}
}
}
},
"requestId": "<string>"
}v2
Child Address Get Quote
After completing payment-method resolution, send sessionId and paymentMethod to get a quote. Review the amounts, rate, fees, and quote expiry before executing. For USDC/USDT source requests, the selected method minimum is enforced before beneficiary resolution or provider quote preparation. Requests below the minimum return HTTP 400 with code amount_out_of_bounds. Target requests use native fiat limits; do not derive a fiat minimum by converting the configured source minimum.
POST
/
v2
/
wallets
/
{walletId}
/
addresses
/
{addressId}
/
withdraw
/
fiat
/
quote
Child Address Get Quote
curl --request POST \
--url https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"sessionId": "13a36c1c-f4a6-4e49-a582-2ecded2559bc",
"paymentMethod": "ae1f871a-f2cd-5eab-84bf-5240091d9767"
}
'import requests
url = "https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote"
payload = {
"sessionId": "13a36c1c-f4a6-4e49-a582-2ecded2559bc",
"paymentMethod": "ae1f871a-f2cd-5eab-84bf-5240091d9767"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sessionId: '13a36c1c-f4a6-4e49-a582-2ecded2559bc',
paymentMethod: 'ae1f871a-f2cd-5eab-84bf-5240091d9767'
})
};
fetch('https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'sessionId' => '13a36c1c-f4a6-4e49-a582-2ecded2559bc',
'paymentMethod' => 'ae1f871a-f2cd-5eab-84bf-5240091d9767'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote"
payload := strings.NewReader("{\n \"sessionId\": \"13a36c1c-f4a6-4e49-a582-2ecded2559bc\",\n \"paymentMethod\": \"ae1f871a-f2cd-5eab-84bf-5240091d9767\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"sessionId\": \"13a36c1c-f4a6-4e49-a582-2ecded2559bc\",\n \"paymentMethod\": \"ae1f871a-f2cd-5eab-84bf-5240091d9767\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blockradar.co/v2/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/quote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sessionId\": \"13a36c1c-f4a6-4e49-a582-2ecded2559bc\",\n \"paymentMethod\": \"ae1f871a-f2cd-5eab-84bf-5240091d9767\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Successful",
"data": {
"debitAmount": "100.00",
"minAmount": "10.00",
"networkFee": "0.00006779052",
"networkFeeInUSD": "0.14",
"estimatedArrivalTime": 60,
"transactionFee": "1.50",
"nativeBalance": "0.000929309612767174",
"nativeBalanceInUSD": "1.97",
"amountFiat": "152675.00",
"deductions": []
},
"status": true
}{
"statusCode": 400,
"message": "Minimum amount for this payment method is 26 USDC",
"code": "amount_out_of_bounds",
"errors": [
{
"field": "amount",
"message": "Minimum amount for this payment method is 26 USDC",
"code": "amount_out_of_bounds"
}
],
"details": {
"minAmount": "26",
"currency": "USDC",
"amountSide": "source",
"paymentMethod": "method-id"
}
}{
"statusCode": 123,
"message": "<string>",
"details": {
"code": "CUSTOMER_ONBOARDING_REQUIRED",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"provider": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>"
},
"onboarding": {
"caseId": "<string>",
"status": "<string>",
"providerStatus": "<string>",
"action": {
"type": "create_case",
"method": "POST",
"path": "/v1/customers/18d2f159-e0cd-4a45-b735-e9dfe0f7520a/onboarding-requests",
"body": {
"provider": "<string>",
"type": "onramp"
}
}
}
},
"requestId": "<string>"
}{
"statusCode": 123,
"message": "<string>",
"details": {
"code": "CUSTOMER_ONBOARDING_REQUIRED",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"provider": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>"
},
"onboarding": {
"caseId": "<string>",
"status": "<string>",
"providerStatus": "<string>",
"action": {
"type": "create_case",
"method": "POST",
"path": "/v1/customers/18d2f159-e0cd-4a45-b735-e9dfe0f7520a/onboarding-requests",
"body": {
"provider": "<string>",
"type": "onramp"
}
}
}
},
"requestId": "<string>"
}Après avoir résolu la méthode de paiement, demandez un devis :
Vérifiez
{
"sessionId": "13a36c1c-f4a6-4e49-a582-2ecded2559bc",
"paymentMethod": "ae1f871a-f2cd-5eab-84bf-5240091d9767"
}
rate, amountFiat, debitAmount et les frais avant d’exécuter. Lorsqu’il est renvoyé, quoteExpiresAt indique la date limite d’exécution de ce devis. S’il expire, demandez et vérifiez un nouveau devis dans la même session. Si sessionExpiresAt est dépassé, recommencez par la demande de taux.Paramètres de chemin
Corps
application/json
Request a quote for the resolved payment method in this withdrawal session. Review the returned amounts, rate, and fees before executing.

