Skip to main content
POST
/
v1
/
accounts
Create a new Account
curl --request POST \
  --url https://sandbox-api.borderless.xyz/v1/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Main Account",
  "identityId": "cm9db4g2s2r7ro224ra6u1qvl",
  "assets": [
    {
      "asset": "ETH",
      "address": "0xE79a68B87544ed42Cc5aA805bb056201e7942D3A"
    }
  ]
}
'
{
  "id": "<string>",
  "name": "<string>",
  "addresses": [
    {
      "id": "<string>",
      "asset": "POL",
      "address": "<string>"
    }
  ],
  "identityId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
  • Standalone Account
  • Fireblocks Account
  • Utila Account
  • MultiProvider Account
  • Dfns Account
name
string
required

A unique identifier for an account, allowing to distinguish it from other accounts.

Required string length: 3 - 50
Example:

"Main Account"

identityId
string
required

The id of the identity associated with the account. Learn more at Identity Guide.

Required string length: 25
Example:

"cm9db4g2s2r7ro224ra6u1qvl"

assets
object[]

An array of assets associated with blockchain addresses. Refer to the Own Managed Address Documentation.

Response

Successfully created Account data.

id
string
required
name
string
required
addresses
object[]
required
identityId
string
required
createdAt
string<date-time>
required