curl --request PUT \
--url https://api.sandbox.z2pay.com/recipients/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"document": "<string>",
"companyType": "<string>",
"companyLegalName": "<string>",
"companyFoundingDate": "<string>",
"annualRevenue": 123,
"corporationType": "<string>",
"birthDate": "<string>",
"motherName": "<string>",
"profession": "<string>",
"monthlyIncome": 123,
"legalRepresentativeInfo": {
"name": "<string>",
"document": "<string>",
"email": "jsmith@example.com",
"motherName": "<string>",
"birthdate": "<string>",
"monthlyIncome": 123,
"profession": "<string>",
"phone": "<string>",
"selfDeclaredRepresentative": true
},
"pixKeyType": "<string>",
"pixKey": "<string>",
"website": "<string>",
"address": {
"address": "<string>",
"number": "<string>",
"complement": "<string>",
"neighborhood": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"referencePoint": "<string>"
},
"files": {
"identificationDocument": "<string>",
"selfie": "<string>",
"socialContract": "<string>"
}
}
'