Passer au contenu principal
POST
/
v1
/
wallets
/
{walletId}
/
addresses
/
{addressId}
/
withdraw
/
fiat
/
execute
Child Address Execute
curl --request POST \
  --url https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/execute \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "accountIdentifier": "8034007516",
  "amount": 0.5,
  "assetId": "37079b6b-b74f-48e9-a394-9a5cbae88f12",
  "code": "956407",
  "currency": "NGN",
  "institutionIdentifier": "OPAYNGPC"
}
'
import requests

url = "https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/execute"

payload = {
"accountIdentifier": "8034007516",
"amount": 0.5,
"assetId": "37079b6b-b74f-48e9-a394-9a5cbae88f12",
"code": "956407",
"currency": "NGN",
"institutionIdentifier": "OPAYNGPC"
}
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({
accountIdentifier: '8034007516',
amount: 0.5,
assetId: '37079b6b-b74f-48e9-a394-9a5cbae88f12',
code: '956407',
currency: 'NGN',
institutionIdentifier: 'OPAYNGPC'
})
};

fetch('https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/execute', 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/v1/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/execute",
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([
'accountIdentifier' => '8034007516',
'amount' => 0.5,
'assetId' => '37079b6b-b74f-48e9-a394-9a5cbae88f12',
'code' => '956407',
'currency' => 'NGN',
'institutionIdentifier' => 'OPAYNGPC'
]),
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/v1/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/execute"

payload := strings.NewReader("{\n \"accountIdentifier\": \"8034007516\",\n \"amount\": 0.5,\n \"assetId\": \"37079b6b-b74f-48e9-a394-9a5cbae88f12\",\n \"code\": \"956407\",\n \"currency\": \"NGN\",\n \"institutionIdentifier\": \"OPAYNGPC\"\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/v1/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/execute")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"accountIdentifier\": \"8034007516\",\n \"amount\": 0.5,\n \"assetId\": \"37079b6b-b74f-48e9-a394-9a5cbae88f12\",\n \"code\": \"956407\",\n \"currency\": \"NGN\",\n \"institutionIdentifier\": \"OPAYNGPC\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/withdraw/fiat/execute")

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 \"accountIdentifier\": \"8034007516\",\n \"amount\": 0.5,\n \"assetId\": \"37079b6b-b74f-48e9-a394-9a5cbae88f12\",\n \"code\": \"956407\",\n \"currency\": \"NGN\",\n \"institutionIdentifier\": \"OPAYNGPC\"\n}"

response = http.request(request)
puts response.read_body
{
  "reference": "8034007516",
  "data": {
    "gateway": "0x30F6A8457F8E42371E204a9c103f2Bd42341dD0F",
    "senderFee": {
      "hex": "0x00",
      "type": "BigNumber"
    },
    "senderFeeRecipient": "0xaeAE273Cc4f8CCdF9786eb2967D5d24E8255c092",
    "transaction": {
      "amlScreening": {},
      "amount": "0.5",
      "amountPaid": "0.5",
      "amountUSD": "0.5",
      "asset": null,
      "assetSwept": null,
      "assetSweptAmount": null,
      "assetSweptAt": null,
      "assetSweptGasFee": null,
      "assetSweptHash": null,
      "assetSweptRecipientAddress": null,
      "assetSweptSenderAddress": null,
      "blockHash": null,
      "blockNumber": null,
      "blockchain": {
        "configurations": null,
        "createdAt": "2026-01-20T08:10:37.776Z",
        "derivationPath": "m/44'/60'/0'/0",
        "id": "384ba700-5831-49a1-8cba-7d89385d5a25",
        "isActive": true,
        "isEvmCompatible": true,
        "isL2": true,
        "name": "base",
        "networkFeeModel": "native",
        "slug": "base",
        "symbol": "eth",
        "tokenStandard": null,
        "updatedAt": "2026-01-20T08:10:37.776Z"
      },
      "chainId": null,
      "confirmations": null,
      "confirmed": false,
      "createdAt": "2026-01-24T21:05:10.778Z",
      "createdChannel": "dashboard",
      "currency": "USD",
      "fee": "0",
      "feeHash": null,
      "feeUSD": "0",
      "gasFee": null,
      "gasPrice": null,
      "gasUsed": null,
      "hash": null,
      "id": "f93c28b7-d8f7-43ab-9373-22a9a8931177",
      "isAutoSweep": false,
      "metadata": {
        "businessId": "6271be9f-b48a-4e6d-b14b-b76629bc7014",
        "businessProviderId": "1c40879e-c340-4308-92d9-30bdb34b3b84"
      },
      "network": "mainnet",
      "note": "Method: createOrder | Contract Address: 0x30F6A8457F8E42371E204a9c103f2Bd42341dD0F",
      "processingReason": null,
      "processingStatus": "PENDING",
      "rate": "1465.14",
      "rateUSD": "1",
      "reason": "{\"method\":\"createOrder\",\"parameters\":[\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",{\"type\":\"BigNumber\",\"hex\":\"0x07a120\"},{\"type\":\"BigNumber\",\"hex\":\"0x023c52\"},\"0xaeAE273Cc4f8CCdF9786eb2967D5d24E8255c092\",{\"type\":\"BigNumber\",\"hex\":\"0x00\"},\"0xaeAE273Cc4f8CCdF9786eb2967D5d24E8255c092\",\"HblZl+1ItFI/v98ewxY6gq/d+9KqzfjDHGKva2r4KzKFqE19Q+1+IA7w2PE0yKJxB26jNjXYCN32IAnH129K232soxCPXVYRRX+jSps9yOtwUUi0ZPRfInqJXKubGXOJPiQnr9bg81fAkr2+DY9oMMB1u0gzDptBkq3FykFqMYMeXVeyepE0IO2ZJLa7Jk5BtgBP7iQwj7W+PknC8/0rvIz6czDgzFpssTb5QYGR/nPlEUWgHmu5DUD+22wxd/xA/Cm8Y7DWHMCRvNG+0FpVLa2OlPK4f4dI0hKZsuG5iaEl6/ucgHvupl3fAHISnwOqZgM5RvxF8iM5XKvBJkEyZg==\"],\"abi\":{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint96\",\"name\":\"_rate\",\"type\":\"uint96\"},{\"internalType\":\"address\",\"name\":\"_senderFeeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_senderFee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_refundAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"messageHash\",\"type\":\"string\"}],\"name\":\"createOrder\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderId\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}}",
      "recipientAddress": "0x30F6A8457F8E42371E204a9c103f2Bd42341dD0F",
      "reference": "Cy1NqiVNDw7Ajsj1yECX",
      "senderAddress": "0xaeAE273Cc4f8CCdF9786eb2967D5d24E8255c092",
      "signedTransaction": null,
      "status": "PENDING",
      "toAmount": "732570000",
      "toCurrency": null,
      "tokenAddress": "0x30F6A8457F8E42371E204a9c103f2Bd42341dD0F",
      "type": "OFFRAMP",
      "updatedAt": "2026-01-24T21:05:10.778Z",
      "wallet": {
        "address": "0x969838345E5cd5F755DfcADB57e72F5d23271e48",
        "configurations": {
          "addresses": {
            "prefunding": {
              "isActive": false,
              "rules": []
            }
          },
          "autoSettlement": {
            "isActive": false,
            "rules": []
          },
          "autoSweeping": {
            "isActive": true,
            "threshold": 0
          },
          "withdrawal": {
            "gasless": {
              "isActive": false,
              "operator": "gt",
              "threshold": 0
            }
          }
        },
        "createdAt": "2026-01-20T08:44:44.305Z",
        "derivationPath": "m/44'/60'/0'/0/0",
        "description": "This is Base master Wallet",
        "id": "7aa5120b-2106-43c6-92c7-6458b7d2de8b",
        "isActive": true,
        "name": "Base Mainnet",
        "network": "mainnet",
        "status": "ACTIVE",
        "updatedAt": "2026-01-20T08:44:44.305Z"
      }
    }
  },
  "message": "Withdraw fiat execution initiated",
  "statusCode": 200
}

Autorisations

x-api-key
string
header
requis

Paramètres de chemin

walletId
string
requis
Exemple:

"YOUR_WALLET_ID"

addressId
string
requis
Exemple:

"0xaeAE273Cc4f8CCdF9786eb2967D5d24E8255c092"

Corps

application/json
accountIdentifier
string
requis

destination bank account identifier

Exemple:

"8034007516"

amount
number
requis

amount to withdraw in asset units

Exemple:

0.5

assetId
string
requis

asset ID of the stablecoin to withdraw

Exemple:

"37079b6b-b74f-48e9-a394-9a5cbae88f12"

currency
string
requis

destination fiat currency code

Exemple:

"NGN"

institutionIdentifier
string
requis

bank or institution identifier code

Exemple:

"OPAYNGPC"

reference
string

client reference for tracking transaction

Exemple:

8034007516

code
string
Exemple:

"956407"

Réponse

201 - application/json

200

data
object
message
string
Exemple:

"Withdraw fiat execution initiated"

statusCode
number
Exemple:

200