Customers
See who paid and how much.
List
Customers are not a separate registry: the list is built from charges, grouped by the CPF or CNPJ of the payer. Only charges with a known document are included, either sent in customer.document or identified in the payment.
| Field | Meaning |
|---|---|
document | CPF or CNPJ. |
name | Name. |
email | Email, if provided. |
charges | Number of charges. |
paid | Number of paid charges. |
total | Total paid, in cents. |
last | Date of the most recent charge. |
curl "https://api.raspay.io/v1/customers?q=ana" \
-H "Authorization: Bearer $GATEWAY_API_KEY"Response
{
"data": [
{
"document": "12345678909",
"name": "Ana Souza",
"email": "ana@example.com",
"charges": 4,
"paid": 3,
"total": 45000,
"last": "2026-11-01 15:04:05.000+00"
}
],
"page": 1
}