User Routes
Delete User by ID
Delete a user.
DELETE
/
v2
/
users
/
{user_id}
Authorization
Path
curl --request DELETE \
--url https://api.senddotssandbox.com/api/v2/users/{user_id} \
--header 'Authorization: <authorization>'
{
"compliance": {
"1099_collected": "boolean",
"address_collected": "boolean",
"date_of_birth_collected": "boolean",
"flagged": "boolean",
"id_verified": "boolean",
"must_collect_1099": "boolean",
"tax_id_collected": "boolean",
"w8_ben_collected": "boolean"
},
"email": "string",
"first_name": "string",
"id": "string",
"last_name": "string",
"metadata": [
"string",
"object",
"null"
],
"phone_number": {
"country_code": "string",
"phone_number": "string"
},
"wallet": {
"amount": "integer",
"credit_balance": "integer",
"withdrawable_amount": "integer"
}
}
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 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
curl --request DELETE \
--url https://api.senddotssandbox.com/api/v2/users/{user_id} \
--header 'Authorization: <authorization>'
{
"compliance": {
"1099_collected": "boolean",
"address_collected": "boolean",
"date_of_birth_collected": "boolean",
"flagged": "boolean",
"id_verified": "boolean",
"must_collect_1099": "boolean",
"tax_id_collected": "boolean",
"w8_ben_collected": "boolean"
},
"email": "string",
"first_name": "string",
"id": "string",
"last_name": "string",
"metadata": [
"string",
"object",
"null"
],
"phone_number": {
"country_code": "string",
"phone_number": "string"
},
"wallet": {
"amount": "integer",
"credit_balance": "integer",
"withdrawable_amount": "integer"
}
}