curl -X GET 'https://api.goatpay.com.br/v1/customers/get/clx_customer' \
-H 'X-API-Key: gp_live_SUA_CHAVE'
{
"success": true,
"message": "Cliente encontrado",
"data": {
"id": "clx_customer",
"name": "Cliente Exemplo",
"email": "cliente@email.com",
"whatsapp": "11999999999",
"phone": "11999999999",
"document": "123.456.789-09",
"city": "São Paulo",
"state": "SP",
"type": "PF",
"status": "Ativo",
"createdAt": "2026-07-01T12:00:00.000Z",
"lastActivityAt": "2026-07-04T10:00:00.000Z",
"transactions": 5,
"volume": 499.5
},
"requestId": "req_abc"
}
Clientes
Consultar cliente
Por id interno ou externalId do cliente.
GET
/
customers
/
get
/
{id}
curl -X GET 'https://api.goatpay.com.br/v1/customers/get/clx_customer' \
-H 'X-API-Key: gp_live_SUA_CHAVE'
{
"success": true,
"message": "Cliente encontrado",
"data": {
"id": "clx_customer",
"name": "Cliente Exemplo",
"email": "cliente@email.com",
"whatsapp": "11999999999",
"phone": "11999999999",
"document": "123.456.789-09",
"city": "São Paulo",
"state": "SP",
"type": "PF",
"status": "Ativo",
"createdAt": "2026-07-01T12:00:00.000Z",
"lastActivityAt": "2026-07-04T10:00:00.000Z",
"transactions": 5,
"volume": 499.5
},
"requestId": "req_abc"
}
curl -X GET 'https://api.goatpay.com.br/v1/customers/get/clx_customer' \
-H 'X-API-Key: gp_live_SUA_CHAVE'
{
"success": true,
"message": "Cliente encontrado",
"data": {
"id": "clx_customer",
"name": "Cliente Exemplo",
"email": "cliente@email.com",
"whatsapp": "11999999999",
"phone": "11999999999",
"document": "123.456.789-09",
"city": "São Paulo",
"state": "SP",
"type": "PF",
"status": "Ativo",
"createdAt": "2026-07-01T12:00:00.000Z",
"lastActivityAt": "2026-07-04T10:00:00.000Z",
"transactions": 5,
"volume": 499.5
},
"requestId": "req_abc"
}
Parâmetros
string
required
ID do recurso.
Authorizations
Chave gp_live_... criada em Integrações → Chaves de API no dashboard.
Path Parameters
ID do recurso (transação, cobrança, webhook, etc.)

