English
cURL
curl --request GET \ --url https://api.dots.dev/api/v2/users/{user_id} \ --header 'Authorization: Basic <encoded-value>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_name": "<string>", "last_name": "<string>", "email": "jsmith@example.com", "phone_number": { "country_code": "<string>", "phone_number": "<string>" }, "wallet": { "amount": 123, "withdrawable_amount": 123, "credit_balance": 123 }, "compliance": { "tax_id_collected": true, "address_collected": true, "date_of_birth_collected": true, "must_collect_1099": true, "1099_collected": true, "w8_ben_collected": true, "flagged": true, "id_verified": true }, "metadata": "<string>" }
Get a user by their id.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Id of the user to fetch
OK
The user object.
user
Show child attributes
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.
Was this page helpful?