---
title: Create external beneficiary
slug: crossriver-apis/onchain-payments/apis/create-external-beneficiary
description: Discover how to retrieve registered beneficiary wallets. Using this endpoint POST /v1/accounts/{accountNumber}/external-addresses
icon: {"apiMethod":"POST"}
createdAt: 2026-09-29T15:33:39.091Z
---

## API reference

Creates an external beneficiary record (wallet + beneficiary details) for a given account. This record functions as a sort of "contact" for a recipient, kind of like the contact list in your phone for phone numbers. Account holders use this external beneficiary record  as a payment destination on supported blockchains.

:::ApiMethodV2
```json
{
  "name": "Endpoint: /crypto/v1/external-addresses",
  "method": "POST",
  "url": "https://sandbox.crbcos.com/crypto/v1/external-addresses",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "GvbYb-XxXg8aAAHK3ybHL",
        "language": "curl",
        "code": "curl --location 'https://sandbox.crbcos.com/crypto/v1/external-addresses' \\\n--header 'Content-Type: application/json' \\\n--header 'Accept: text/plain' \\\n--header 'Authorization: Bearer <token>' \\\n--data '{\n  \"accountNumber\": \"2179128455\",\n  \"title\": \"Jerry Penn onchain\",\n  \"blockchain\": \"ethereum\",\n  \"address\": \"0x2222222222222222222222222222222222222222\",\n  \"tag\": \"test_ETH\",\n  \"beneficiary\": {\n    \"name\": \"Jerry Penn\",\n    \"addressLine1\": \"34 Howe Drive\",\n    \"city\": \"Leawood\",\n    \"stateProvince\": \"KS\",\n    \"countryCode\": \"US\",\n    \"postalCode\": \"66206\"\n  }\n}'",
        "customLabel": ""
      },
      {
        "id": "Geh6TWy3YAKWtUl_coGBf",
        "language": "nodejs",
        "code": "var https = require('follow-redirects').https;\nvar fs = require('fs');\n\nvar options = {\n  'method': 'POST',\n  'hostname': 'sandbox.crbcos.com',\n  'path': '/crypto/v1/external-addresses',\n  'headers': {\n    'Content-Type': 'application/json',\n    'Accept': 'text/plain',\n    'Authorization': 'Bearer <token>'\n  },\n  'maxRedirects': 20\n};\n\nvar req = https.request(options, function (res) {\n  var chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function (chunk) {\n    var body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n\n  res.on(\"error\", function (error) {\n    console.error(error);\n  });\n});\n\nvar postData = JSON.stringify({\n  \"accountNumber\": \"2179128455\",\n  \"title\": \"Jerry Penn onchain\",\n  \"blockchain\": \"etherium\",\n  \"address\": \"0x2222222222222222222222222222222222222222\",\n  \"tag\": \"test_ETH\",\n  \"beneficiary\": {\n    \"name\": \"Jerry Penn\",\n    \"addressLine1\": \"34 Howe Drive\",\n    \"city\": \"Leawood\",\n    \"stateProvince\": \"KS\",\n    \"countryCode\": \"US\",\n    \"postalCode\": \"66206\"\n  }\n});\n\nreq.write(postData);\n\nreq.end();"
      },
      {
        "id": "6kpoNOmow1vQuYTwuJijW",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"sandbox.crbcos.com\")\npayload = json.dumps({\n  \"accountNumber\": \"2179128455\",\n  \"title\": \"Jerry Penn onchain\",\n  \"blockchain\": \"etherium\",\n  \"address\": \"0x2222222222222222222222222222222222222222\",\n  \"tag\": \"test_ETH\",\n  \"beneficiary\": {\n    \"name\": \"Jerry Penn\",\n    \"addressLine1\": \"34 Howe Drive\",\n    \"city\": \"Leawood\",\n    \"stateProvince\": \"KS\",\n    \"countryCode\": \"US\",\n    \"postalCode\": \"66206\"\n  }\n})\nheaders = {\n  'Content-Type': 'application/json',\n  'Accept': 'text/plain',\n  'Authorization': 'Bearer <token>'\n}\nconn.request(\"POST\", \"/crypto/v1/external-addresses\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))"
      },
      {
        "id": "a6XPx5LmX44cZhN--tXJr",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://sandbox.crbcos.com/crypto/v1/external-addresses\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"Accept\"] = \"text/plain\"\nrequest[\"Authorization\"] = \"Bearer <token>\"\nrequest.body = JSON.dump({\n  \"accountNumber\": \"2179128455\",\n  \"title\": \"Jerry Penn onchain\",\n  \"blockchain\": \"etherium\",\n  \"address\": \"0x2222222222222222222222222222222222222222\",\n  \"tag\": \"test_ETH\",\n  \"beneficiary\": {\n    \"name\": \"Jerry Penn\",\n    \"addressLine1\": \"34 Howe Drive\",\n    \"city\": \"Leawood\",\n    \"stateProvince\": \"KS\",\n    \"countryCode\": \"US\",\n    \"postalCode\": \"66206\"\n  }\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
      },
      {
        "id": "fmPNodsQNsJSyZuAJJNBa",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"strings\"\n  \"net/http\"\n  \"io\"\n)\n\nfunc main() {\n\n  url := \"https://sandbox.crbcos.com/crypto/v1/external-addresses\"\n  method := \"POST\"\n\n  payload := strings.NewReader(`{`+\"\n\"+`\n  \"accountNumber\": \"2179128455\",`+\"\n\"+`\n  \"title\": \"Jerry Penn onchain\",`+\"\n\"+`\n  \"blockchain\": \"etherium\",`+\"\n\"+`\n  \"address\": \"0x2222222222222222222222222222222222222222\",`+\"\n\"+`\n  \"tag\": \"test_ETH\",`+\"\n\"+`\n  \"beneficiary\": {`+\"\n\"+`\n    \"name\": \"Jerry Penn\",`+\"\n\"+`\n    \"addressLine1\": \"34 Howe Drive\",`+\"\n\"+`\n    \"city\": \"Leawood\",`+\"\n\"+`\n    \"stateProvince\": \"KS\",`+\"\n\"+`\n    \"countryCode\": \"US\",`+\"\n\"+`\n    \"postalCode\": \"66206\"`+\"\n\"+`\n  }`+\"\n\"+`\n}`)\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, payload)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"Accept\", \"text/plain\")\n  req.Header.Add(\"Authorization\", \"Bearer <token>\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := io.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}"
      }
    ],
    "selectedLanguageId": "GvbYb-XxXg8aAAHK3ybHL"
  },
  "results": {
    "languages": [
      {
        "id": "VVw-EG1caZm9nSwDN62Ez",
        "language": "200",
        "code": "{\n    \"id\": \"b4cc8ee7-ebff-4b65-875e-b4650074d081\",\n    \"accountNumber\": \"2179128455\",\n    \"partnerId\": \"cd9c12f4-7691-424a-b38b-af5b0134c611\",\n    \"title\": \"Jerry Penn onchain\",\n    \"blockchain\": \"ethereum\",\n    \"address\": \"0x2222222222222222222222222222222222222222\",\n    \"tag\": \"test_ETH\",\n    \"beneficiary\": {\n        \"name\": \"Jerry Penn\",\n        \"addressLine1\": \"34 Howe Drive\",\n        \"city\": \"Leawood\",\n        \"stateProvince\": \"KS\",\n        \"countryCode\": \"US\",\n        \"postalCode\": \"66206\"\n    },\n    \"lastModifiedAt\": \"2026-06-10T07:05:18.5089232Z\",\n    \"hasPendingChanges\": false\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "VVw-EG1caZm9nSwDN62Ez"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "accountNumber",
        "kind": "required",
        "type": "string",
        "description": "Unique identifier of the account from where the payment is sent to the external beneficiary"
      },
      {
        "name": "title",
        "kind": "required",
        "type": "string",
        "description": "Human-readable label for the external wallet (for example, “John’s MetaMask Wallet”). Max 255 characters. This is like the name you put in your contact list in your phone."
      },
      {
        "name": "blockchain",
        "kind": "required",
        "type": "string",
        "description": "Blockchain network where payments will be sent (for example, Solana, Ethereum). Maximum 20 characters."
      },
      {
        "name": "address",
        "kind": "required",
        "type": "string",
        "description": "Blockchain wallet address of the beneficiary (where funds will be sent). Maximum 255 characters."
      },
      {
        "name": "tag",
        "kind": "optional",
        "type": "string",
        "description": "Tag/memo/destination tag if the blockchain requires it. Maximum 255 characters."
      },
      {
        "name": "beneficiary",
        "kind": "required",
        "type": "object",
        "description": "The person or business that receives the payment",
        "children": [
          {
            "name": "name",
            "kind": "required",
            "type": "string",
            "description": "Full legal name of the beneficiary. Maximum 200 characters"
          },
          {
            "name": "addressLine1",
            "kind": "required",
            "type": "string",
            "description": "First line of the beneficiary’s physical address. Maximum 80 characters"
          },
          {
            "name": "addressLine2",
            "kind": "optional",
            "type": "string",
            "description": "Second line of the beneficiary’s physical address. Maximum 80 characters."
          },
          {
            "name": "city",
            "kind": "required",
            "type": "string",
            "description": "Full name of the city where the beneficiary is located. Maximum 40 characters."
          },
          {
            "name": "stateProvince",
            "kind": "required",
            "type": "string",
            "description": "2-letter code for the state or province of the beneficiary. Maximum 2 characters"
          },
          {
            "name": "countryCode",
            "kind": "required",
            "type": "string",
            "description": "2-letter ISO country code for the beneficiary's country. Maximum 2 characters."
          },
          {
            "name": "postalCode",
            "kind": "required",
            "type": "string",
            "description": "Postal or ZIP code of the beneficiary. Maximum 20 characters."
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "response": [
    {
      "name": "id",
      "kind": "optional",
      "type": "string",
      "description": "Unique identifier of the external beneficiary record"
    },
    {
      "name": "accountNumber",
      "kind": "optional",
      "type": "string",
      "description": "Account number associated with the beneficiary",
      "children": []
    },
    {
      "name": "partnerId",
      "kind": "optional",
      "type": "string",
      "description": "Your unique ID in the Cross River system. This ID is in GUID format. Here it indicates what partner created and owns this beneficiary record.",
      "children": []
    },
    {
      "name": "title",
      "kind": "optional",
      "type": "string",
      "description": "Human-readable label for the wallet (for example, Eth, Sol, Ethereum)",
      "children": []
    },
    {
      "name": "blockchain",
      "kind": "optional",
      "type": "string",
      "description": "Blockchain network where payments will be sent (for example, Solana, Ethereum)",
      "children": []
    },
    {
      "name": "address",
      "kind": "optional",
      "type": "string",
      "description": "Blockchain wallet address of the beneficiary",
      "children": []
    },
    {
      "name": "tag",
      "kind": "optional",
      "type": "string",
      "description": "Tag/memo/destination tag if the blockchain requires it",
      "children": []
    },
    {
      "name": "beneficiary",
      "kind": "optional",
      "type": "object",
      "description": "The person or business that receives the payment",
      "children": [
        {
          "name": "name",
          "kind": "optional",
          "type": "string",
          "description": "Full legal name of the beneficiary"
        },
        {
          "name": "addressLine1",
          "kind": "optional",
          "type": "string",
          "description": "First line of the beneficiary’s physical address"
        },
        {
          "name": "addressLine2",
          "kind": "optional",
          "type": "string",
          "description": "Second line of the beneficiary’s physical address (nullable)"
        },
        {
          "name": "city",
          "kind": "optional",
          "type": "string",
          "description": "Full name of the city where the beneficiary is located"
        },
        {
          "name": "stateProvince",
          "kind": "optional",
          "type": "string",
          "description": "2-letter code for the state or province of the beneficiary"
        },
        {
          "name": "countryCode",
          "kind": "optional",
          "type": "string",
          "description": "2-letter ISO country code for the beneficiary's country"
        },
        {
          "name": "postalCode",
          "kind": "optional",
          "type": "string",
          "description": "Postal or ZIP code of the beneficiary"
        }
      ]
    },
    {
      "name": "lastModifiedAt",
      "kind": "optional",
      "type": "string",
      "description": "Internal Cross River value. Date and time the database entry was last modified. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]",
      "children": []
    },
    {
      "name": "hasPendingChanges",
      "kind": "optional",
      "type": "boolean",
      "description": "True if changes were made after creating the beneficiary. Otherwise false. When you create a new external beneficiary, always false.",
      "children": []
    }
  ],
  "autoGeneratedAnchorSlug": "endpoint-cryptov1external-addresses",
  "legacyHash": "hWri18PfMpeIMzY9Vh22f"
}
```
:::



