Skip to main content
POST
/
v2
/
customers
Create a Customer
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>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Minimum string length: 1
email
string<email>
required
document
object
phone
string
externalRef
string
address
object
ip_address
string

Response

Success

Generic success response payload.