Beneficiaries
Create crypto beneficiary
Create a crypto beneficiary for an account.
POST
/
v1
/
beneficiaries
/
crypto
cURL
curl --request POST \
--url https://api.nxos.io/v1/beneficiaries/crypto \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"nickname": "Treasury Wallet",
"chainName": "ethereum",
"address": "0x1234567890abcdef1234567890abcdef12345678"
}
'import requests
url = "https://api.nxos.io/v1/beneficiaries/crypto"
payload = {
"accountId": "acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"nickname": "Treasury Wallet",
"chainName": "ethereum",
"address": "0x1234567890abcdef1234567890abcdef12345678"
}
headers = {
"Authorization": "<authorization>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<authorization>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountId: 'acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4',
nickname: 'Treasury Wallet',
chainName: 'ethereum',
address: '0x1234567890abcdef1234567890abcdef12345678'
})
};
fetch('https://api.nxos.io/v1/beneficiaries/crypto', 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.nxos.io/v1/beneficiaries/crypto",
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([
'accountId' => 'acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4',
'nickname' => 'Treasury Wallet',
'chainName' => 'ethereum',
'address' => '0x1234567890abcdef1234567890abcdef12345678'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: application/json"
],
]);
$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.nxos.io/v1/beneficiaries/crypto"
payload := strings.NewReader("{\n \"accountId\": \"acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4\",\n \"nickname\": \"Treasury Wallet\",\n \"chainName\": \"ethereum\",\n \"address\": \"0x1234567890abcdef1234567890abcdef12345678\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<authorization>")
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.nxos.io/v1/beneficiaries/crypto")
.header("Authorization", "<authorization>")
.header("Content-Type", "application/json")
.body("{\n \"accountId\": \"acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4\",\n \"nickname\": \"Treasury Wallet\",\n \"chainName\": \"ethereum\",\n \"address\": \"0x1234567890abcdef1234567890abcdef12345678\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nxos.io/v1/beneficiaries/crypto")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<authorization>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountId\": \"acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4\",\n \"nickname\": \"Treasury Wallet\",\n \"chainName\": \"ethereum\",\n \"address\": \"0x1234567890abcdef1234567890abcdef12345678\"\n}"
response = http.request(request)
puts response.read_body{
"object": "beneficiary",
"beneficiaryId": "bene_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"accountId": "acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"type": "CRYPTO",
"nickname": "Treasury Wallet",
"status": "ACTIVE",
"blockReason": null,
"ownAccount": null,
"entityType": "INDIVIDUAL",
"email": "[email protected]",
"phoneNumber": null,
"firstName": "John",
"lastName": "Doe",
"businessName": null,
"country": "US",
"addressLine1": null,
"addressLine2": null,
"city": null,
"region": null,
"zipCode": null,
"crypto": {
"chainName": "ethereum",
"chainDisplayName": "Ethereum",
"platform": "EVM",
"address": "0x1234567890abcdef1234567890abcdef12345678"
},
"bank": null,
"nxosnet": null,
"createdAt": "2025-03-10T12:00:00.000Z"
}Headers
Body
application/json
Request body for creating a crypto beneficiary.
Response
The request has succeeded.
A beneficiary (recipient) registered for payouts from an account.
All responses share this shape — the type field indicates which detail
object (crypto or bank) is populated; the other will be null.
Shared identity fields may be null in list and create responses.
⌘I
cURL
curl --request POST \
--url https://api.nxos.io/v1/beneficiaries/crypto \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"accountId": "acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"nickname": "Treasury Wallet",
"chainName": "ethereum",
"address": "0x1234567890abcdef1234567890abcdef12345678"
}
'import requests
url = "https://api.nxos.io/v1/beneficiaries/crypto"
payload = {
"accountId": "acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"nickname": "Treasury Wallet",
"chainName": "ethereum",
"address": "0x1234567890abcdef1234567890abcdef12345678"
}
headers = {
"Authorization": "<authorization>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<authorization>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountId: 'acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4',
nickname: 'Treasury Wallet',
chainName: 'ethereum',
address: '0x1234567890abcdef1234567890abcdef12345678'
})
};
fetch('https://api.nxos.io/v1/beneficiaries/crypto', 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.nxos.io/v1/beneficiaries/crypto",
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([
'accountId' => 'acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4',
'nickname' => 'Treasury Wallet',
'chainName' => 'ethereum',
'address' => '0x1234567890abcdef1234567890abcdef12345678'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>",
"Content-Type: application/json"
],
]);
$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.nxos.io/v1/beneficiaries/crypto"
payload := strings.NewReader("{\n \"accountId\": \"acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4\",\n \"nickname\": \"Treasury Wallet\",\n \"chainName\": \"ethereum\",\n \"address\": \"0x1234567890abcdef1234567890abcdef12345678\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<authorization>")
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.nxos.io/v1/beneficiaries/crypto")
.header("Authorization", "<authorization>")
.header("Content-Type", "application/json")
.body("{\n \"accountId\": \"acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4\",\n \"nickname\": \"Treasury Wallet\",\n \"chainName\": \"ethereum\",\n \"address\": \"0x1234567890abcdef1234567890abcdef12345678\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nxos.io/v1/beneficiaries/crypto")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<authorization>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountId\": \"acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4\",\n \"nickname\": \"Treasury Wallet\",\n \"chainName\": \"ethereum\",\n \"address\": \"0x1234567890abcdef1234567890abcdef12345678\"\n}"
response = http.request(request)
puts response.read_body{
"object": "beneficiary",
"beneficiaryId": "bene_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"accountId": "acct_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"type": "CRYPTO",
"nickname": "Treasury Wallet",
"status": "ACTIVE",
"blockReason": null,
"ownAccount": null,
"entityType": "INDIVIDUAL",
"email": "[email protected]",
"phoneNumber": null,
"firstName": "John",
"lastName": "Doe",
"businessName": null,
"country": "US",
"addressLine1": null,
"addressLine2": null,
"city": null,
"region": null,
"zipCode": null,
"crypto": {
"chainName": "ethereum",
"chainDisplayName": "Ethereum",
"platform": "EVM",
"address": "0x1234567890abcdef1234567890abcdef12345678"
},
"bank": null,
"nxosnet": null,
"createdAt": "2025-03-10T12:00:00.000Z"
}