Create external beneficiary
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.
Endpoint: /crypto/v1/external-addresses
POST
https://sandbox.crbcos.com/crypto/v1/external-addresses
curl --location 'https://sandbox.crbcos.com/crypto/v1/external-addresses' \
--header 'Content-Type: application/json' \
--header 'Accept: text/plain' \
--header 'Authorization: Bearer <token>' \
--data '{
"accountNumber": "2179128455",
"title": "Jerry Penn onchain",
"blockchain": "ethereum",
"address": "0x2222222222222222222222222222222222222222",
"tag": "test_ETH",
"beneficiary": {
"name": "Jerry Penn",
"addressLine1": "34 Howe Drive",
"city": "Leawood",
"stateProvince": "KS",
"countryCode": "US",
"postalCode": "66206"
}
}'