curl --request POST \
--url https://api.cadanapay.com/v1/tax/payee \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": {
"line1": "123 Main Street",
"line2": "Apt 4",
"city": "Mexico City",
"postalCode": "01000",
"state": "DUR",
"countryCode": "MX"
},
"salary": {
"amount": 1000000,
"currency": "MXN"
},
"firstName": "John",
"lastName": "Doe",
"taxProfile": {
"maritalStatus": "married",
"numberOfDependents": 2,
"riskCategory": "I"
}
}
'