curl --request POST \
--url https://api.pagou.ai/v2/customers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "[email protected]",
"document": {
"type": "EIN",
"number": "<string>"
},
"phone": "<string>",
"externalRef": "<string>",
"address": {
"street": "<string>",
"city": "<string>",
"number": "<string>",
"complement": "<string>",
"neighborhood": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "BR"
},
"ip_address": "<string>"
}
'