POST
/
customer
/
create
curl --request POST \
  --url https://api.abacatepay.com/v1/customer/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Daniel Lima",
  "cellphone": "(11) 4002-8922",
  "email": "daniel_lima@abacatepay.com",
  "taxId": "123.456.789-01"
}'
{
  "data": {
    "id": "bill_123456",
    "metadata": {
      "name": "Daniel Lima",
      "cellphone": "(11) 4002-8922",
      "email": "daniel_lima@abacatepay.com",
      "taxId": "123.456.789-01"
    }
  },
  "error": "<any>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Os dados do seu cliente caso deseje criá-lo no momento da criação da sua cobrança.

Response

200
application/json

Cliente criado com sucesso.

The response is of type object.