POST
/
identity
/
accounts
Create Account
curl --request POST \
  --url https://api.paxos.com/v2/identity/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account": {
    "identity_id": "82c338f4-3cb7-4d9b-be2a-4b077c82ee3a",
    "ref_id": "fec36070-4c23-48ac-9ee1-df338b8233fc",
    "description": "Individual account for John Doe",
    "metadata": {
      "custom_field": "custom_value"
    }
  }
}'
{
  "id": "e69e4e31-6dca-4a46-bb85-af40b5fe2d59",
  "identity_id": "82c338f4-3cb7-4d9b-be2a-4b077c82ee3a",
  "ref_id": "fec36070-4c23-48ac-9ee1-df338b8233fc",
  "description": "Individual account for John Doe",
  "metadata": {
    "custom_field": "custom_value"
  },
  "admin_disabled": false,
  "user_disabled": false
}

Authorizations

Authorization
string
header
required

Paxos APIs use OAuth 2 with the client credentials grant flow.

Token URLs:

Learn more in the API credentials guide →

Body

application/json

Response

200 - application/json

A successful response.

The response is of type object.