Creating account address

Creating account address

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

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

Please note that this request is asynchronious 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.

Response

{
  "data": {
    "id": "bbd138c5-841f-4e8f-83b3-651db441ad5c",
    "type": "addresses",
    "attributes": {
      "label": "Another deposit address",
      "value": null,
      "createdAt": "2024-11-06T08:59:50.991Z"
    },
    "relationships": {
      "account": {
        "meta": {
          "included": false
        }
      },
      "network": {
        "meta": {
          "included": false
        }
      }
    }
  },
  "meta": {},
  "jsonapi": {
    "version": "1.0"
  }
}

Last updated