Creating account address

Creating account address

POST /api/public/v1/accounts/:id/addresses

This endpoint creates a new address for a given account ID.

Please note that this request is asynchronous and you will want to make a separate Listing Account Addresses rerequest.

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.network_id

string

Network ID. Refer to Reading account

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

Last updated