curl --request POST \
--url https://api.sandbox.wepayout.com.br/v2/register/companies \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 123' \
--header 'Content-Type: application/json' \
--data '{
"legal_name": "Company X LTDA",
"trade_name": "Company X",
"tax_id": "12345678000199",
"contacts": [
{
"name": "João Silva",
"email": "[email protected]",
"phone": "5511999999999",
"role": "administrator",
"tax_id": "12345678909"
},
{
"name": "Maria Silva",
"email": "[email protected]",
"phone": "5511999999990",
"role": "legal_representative",
"tax_id": "12345678900"
}
],
"address": {
"city": "São Paulo",
"state": "SP",
"country": "BR",
"zip_code": "01001000",
"street": "Av. Paulista",
"number": "1000",
"complement": "Conjunto 12"
}
}'