Creating account address
Creating account address
POST
/api/public/v1/accounts/:id/addresses
This endpoint creates a new address for a given account ID.
Headers
Name
Value
Content-Type
application/vnd.api+json
Authorization
Bearer <api_key>
Path Parameters
Name
Type
Description
id
string
Account ID.
Body
Name
Type
Description
data
object
Object with exchange request data.
data.type
string
Exchange request type. Always addresses
.
data.attributes
object
A set of exchange request attributes.
data.attributes.label
string
Address label. It can be anything that helps the user to recognize the address.
Request JSON
{
"data": {
"type": "addresses",
"attributes": {
"network_id": "string",
"label": "string"
}
}
}
Response
{
"data": {
"id": "0a37e656-fdca-4afb-b78e-992a38279c9d",
"type": "addresses",
"attributes": {
"label": "New Label",
"value": null,
"createdAt": "2025-05-29T18:15:35.492Z"
},
"relationships": {
"account": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
}
},
"meta": {},
"jsonapi": {
"version": "1.0"
}
}
Last updated