curl --request GET \
  --url https://api.dots.dev/api/v2/users/{user_id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "compliance": {
    "1099_collected": true,
    "address_collected": true,
    "date_of_birth_collected": true,
    "flagged": true,
    "id_verified": true,
    "must_collect_1099": true,
    "tax_id_collected": true,
    "w8_ben_collected": true
  },
  "email": "jsmith@example.com",
  "first_name": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "last_name": "<string>",
  "metadata": "<string>",
  "phone_number": {
    "country_code": "<string>",
    "phone_number": "<string>"
  },
  "wallet": {
    "amount": 123,
    "credit_balance": 123,
    "withdrawable_amount": 123
  }
}

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

user_id
string
required

Id of the user to fetch

Response

200 - application/json
compliance
object
email
string
first_name
string
id
string
last_name
string
metadata

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

phone_number
object
wallet
object