Skip to main content
PATCH
/
users
/
me
/
tax-residency
Update user tax residency
curl --request PATCH \
  --url https://{host}/users/me/tax-residency \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-user-id: <x-user-id>' \
  --data '
{
  "taxResidency": {
    "countryCode": "GR",
    "proofType": "TIN",
    "value": "123456789"
  }
}
'

Authorizations

Authorization
string
header
required

Auth0-issued access token that includes the scopes listed for the endpoint.

Headers

x-user-id
string
required

MongoDB ObjectId of the authenticated user

Pattern: ^[a-f0-9]{24}$

Body

application/json
taxResidency
object
required

Tax residency information. Overwrites any existing entry.

Response

Tax residency updated successfully