POST /account_holders/{id}/accounts

Path parameters

  • id string Required

    Resource ID

Body Required

Payload including the asset that the account should support

  • asset_id string Required

Responses

  • 201

    OK

    Hide response attributes Show response attributes object
    • id string
    • asset_id string

      Referencing asset resource

    • address string

      Network native public key

  • 401

    API key is missing or invalid.

  • 422

    Request body has errors or is invalid.

POST /account_holders/{id}/accounts
curl \
 -X POST https://custody.digitalassets-1754.eu/api/v1/account_holders/{id}/accounts \
 -H "X-API-Key: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"asset_id":"string"}'
Request example
{
  "asset_id": "string"
}
Request examples
{
  "asset_id": "string"
}
Response examples (201)
{
  "id": "string",
  "asset_id": "string",
  "address": "string"
}
Response examples (201)
{
  "id": "string",
  "asset_id": "string",
  "address": "string"
}