curl --request PUT \
--url https://api.cadanapay.com/v1/persons/{personId}/taxProfile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"maritalStatus": "single",
"numberOfDependents": 2
}
'{
"code": "invalid_request_body",
"message": "The request body provided is not valid",
"params": {
"field": "Value is invalid."
}
}Update a person’s tax profile with country-specific tax fields such as marital status and number of dependents
curl --request PUT \
--url https://api.cadanapay.com/v1/persons/{personId}/taxProfile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"maritalStatus": "single",
"numberOfDependents": 2
}
'{
"code": "invalid_request_body",
"message": "The request body provided is not valid",
"params": {
"field": "Value is invalid."
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Required when using a Platform API token. The tenant key identifying which business to operate on.
The unique identifier for the person
Update a person's tax profile. The accepted fields vary by country — use the required fields endpoint or tax fields endpoint to discover which fields are needed for a given jurisdiction.
Successful operation