Users
Get the user by their id
GET
/api/api/users/get/{user_id}
client_id*
api_key*
curl --request GET \
--url https://api.senddotssandbox.com/api/api/users/get/{user_id} \
--header 'Authorization: <authorization>'
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"email": "user@example.com",
"username": "john-doe",
"first_name": "John",
"last_name": "Doe",
"display_name": "John Doe",
"ach_accounts": [
{
"id": "acc_2345683453",
"name": "Chase",
"mask": "2341"
}
],
"payout_methods": {
"ach_accounts": [
{
"id": "acc_2345683453",
"name": "Chase",
"mask": "2341"
}
],
"paypal": "string",
"venmo": "string"
},
"wallet": {
"amount": 1000,
"withdrawable_amount": 900,
"credit_balance": 250
}
}
Authorizations
Authorizationheaderrequired
string
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
user_idrequired
string
ID of user to return
Response
ach_accounts
array
display_name
string
email
string
first_name
string
id
string
last_name
string
payout_methods
object
username
string
wallet
object
curl --request GET \
--url https://api.senddotssandbox.com/api/api/users/get/{user_id} \
--header 'Authorization: <authorization>'
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"email": "user@example.com",
"username": "john-doe",
"first_name": "John",
"last_name": "Doe",
"display_name": "John Doe",
"ach_accounts": [
{
"id": "acc_2345683453",
"name": "Chase",
"mask": "2341"
}
],
"payout_methods": {
"ach_accounts": [
{
"id": "acc_2345683453",
"name": "Chase",
"mask": "2341"
}
],
"paypal": "string",
"venmo": "string"
},
"wallet": {
"amount": 1000,
"withdrawable_amount": 900,
"credit_balance": 250
}
}