curl --request GET \
--url https://api.liquerapay.com/customers \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.liquerapay.com/customers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.liquerapay.com/customers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.liquerapay.com/customers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.liquerapay.com/customers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.liquerapay.com/customers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.liquerapay.com/customers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "cust_018f3a2b7c4d7c40a1b2",
"email": "joao@exemplo.com",
"createdAt": "2026-04-19T18:32:11.420Z",
"name": "João Silva",
"taxId": "12345678900",
"phone": "+5511999999999"
}
],
"pagination": {
"hasMore": true,
"next": "eyJjcmVhdGVkQXQiOiIyMDI2LTA0LTE5In0",
"before": null
},
"error": null,
"success": true
}{
"error": "UNAUTHORIZED",
"message": "Token inválido ou ausente",
"success": false
}{
"error": "FORBIDDEN",
"message": "Saques estão temporariamente bloqueados para este merchant",
"success": false
}Listar Clientes
Lista os clientes do merchant com paginação bidirecional e filtros opcionais.
curl --request GET \
--url https://api.liquerapay.com/customers \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.liquerapay.com/customers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.liquerapay.com/customers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.liquerapay.com/customers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.liquerapay.com/customers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.liquerapay.com/customers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.liquerapay.com/customers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "cust_018f3a2b7c4d7c40a1b2",
"email": "joao@exemplo.com",
"createdAt": "2026-04-19T18:32:11.420Z",
"name": "João Silva",
"taxId": "12345678900",
"phone": "+5511999999999"
}
],
"pagination": {
"hasMore": true,
"next": "eyJjcmVhdGVkQXQiOiIyMDI2LTA0LTE5In0",
"before": null
},
"error": null,
"success": true
}{
"error": "UNAUTHORIZED",
"message": "Token inválido ou ausente",
"success": false
}{
"error": "FORBIDDEN",
"message": "Saques estão temporariamente bloqueados para este merchant",
"success": false
}Filtros
| Filtro | Aceita | Exemplo |
|---|---|---|
id | ID exato do cliente | ?id=cust_018f3a2b7c4d7c40a1b2 |
email | E-mail exato (case-insensitive) | ?email=joao@exemplo.com |
taxId | CPF/CNPJ (apenas dígitos) | ?taxId=12345678900 |
after / before | Cursor opaco retornado em pagination | ?after=eyJjcmVhdGVkQXQiOi4uLn0 |
limit | 1 a 100 (padrão 20) | ?limit=50 |
Exemplos
# Primeira página
GET /customers?limit=50
# Buscar por e-mail
GET /customers?email=joao@exemplo.com
# Próxima página
GET /customers?limit=50&after=eyJjcmVhdGVkQXQiOi4uLn0
updatedAt) use GET /customers/{id}.Authorizations
Autentique suas requisições enviando o token no header
Authorization: Bearer <token>.
O token pode ser:
- Uma API key com prefixo
liq_, gerada em Dashboard Liquerapay → Configurações → API Keys. - Um JWT retornado pelo login do dashboard (uso interno).
Não há distinção de ambiente — toda chave vale para o único ambiente disponível (produção).
Query Parameters
Cursor opaco (do campo pagination.next da resposta anterior) para buscar a página seguinte.
Cursor opaco (do campo pagination.before da resposta anterior) para buscar a página anterior.
Quantidade máxima de itens por página (1 a 100).
1 <= x <= 100Filtra por ID exato do cliente.
"cust_018f3a2b7c4d7c40a1b2"
Filtra por e-mail exato (case-insensitive).
"joao@exemplo.com"
Filtra por CPF/CNPJ (apenas dígitos).
"12345678900"
Response
Lista paginada de clientes.
Show child attributes
Show child attributes
Metadados de paginação bidirecional (usado por Checkout Transparente
e Webhooks). next/before são cursores opacos — passe-os de volta
em after/before para navegar.
Show child attributes
Show child attributes
null
true true