Get a user by id

​

Returns a single user by the id TBMC assigned at registration. Pass subaccountId to read a user in a subaccount.

Path Parameters

Query Parameters

  • Scope this read to one of your subaccounts instead of the authenticated account. Must be a direct child of the authenticated account.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/api/v1/users/id/{userId}
curl https://api.bettermoney.com/api/v1/users/id/123e4567-e89b-12d3-a456-426614174000
{
  "id": "string",
  "label": "string",
  "accountId": "123e4567-e89b-12d3-a456-426614174000",
  "wallets": [
    {
      "address": "string",
      "chain": "string",
      "status": "PENDING"
    }
  ],
  "returnWallets": [
    {
      "chain": "string",
      "address": "string"
    }
  ],
  "location": {
    "country": "string",
    "subdivision": "string"
  }
}