Documentation
Look up Pix charges
List and read Pix charges through the API, filter by status and payer, and see when the status is updated with the bank.
Before you start
Lookups use the organization token and return only that organization's charges. Pix is Brazil's instant payment system. No X-Credential-Key is needed: each charge is checked at the bank through the credential that issued it. To issue one, see Create a Pix charge.
| Header | Required | Value |
|---|---|---|
Authorization | yes | Bearer <organization token> |
List charges
curl "https://api.intopays.com/v1/pixs?status=COMPLETED&pageNumber=0&pageSize=50" \
-H "Authorization: Bearer $INTOPAYS_TOKEN"
| Parameter | Required | Values |
|---|---|---|
pageNumber | no | page, from 0 (default) |
pageSize | no | items per page; default 100 |
status | no | one of the values in the Status section |
transactionId | no | part of the charge's identifier at the bank (txid) |
debtorName | no | part of the payer's name |
debtorDocument | no | part of the payer's CPF or CNPJ (taxpayer ID), digits only |
pixType | no | CHARGE charges only, STATIC only payments received on a static QR. Without it, both |
withCounts | no | true includes totals per situation |
The list comes newest charge first. transactionId, debtorName and debtorDocument match on part of the value; when you send more than one, a charge is included if it matches any of them. status always narrows the result.
{
"data": [
{
"id": "200000",
"transactionId": "XXXINTOPAYSXXXSICOOBXXXPIX0000000200000",
"status": "COMPLETED",
"integrationType": "SICOOB",
"amountOriginal": 95.4,
"calendarExpiration": 900,
"payerRequest": "Pedido #1042",
"debtorName": "Maria Silva",
"debtorDocument": "12345678909",
"additionalInfos": [],
"createdAt": "2026-11-15T14:20:06.153Z",
"updatedAt": "2026-11-15T14:22:41.870Z"
}
],
"pageNumber": 0,
"pageSize": 50,
"total": 1
}
| Field | Use |
|---|---|
data | the page's charges, with the same fields as reading by id |
pageNumber, pageSize | the page returned |
total | number of charges that match the filters, across all pages |
Totals per situation
With withCounts=true, the response also carries counts, computed over the same search (transactionId, debtorName, debtorDocument), without the status filter:
{
"counts": { "paid": 128, "pending": 3, "expired": 41 }
}
| Field | Counts |
|---|---|
paid | COMPLETED charges |
pending | ACTIVE charges still within their validity |
expired | ACTIVE charges past their validity |
Read a charge
Use the id returned on creation:
curl https://api.intopays.com/v1/pixs/200000 \
-H "Authorization: Bearer $INTOPAYS_TOKEN"
The API answers 200 with the charge:
| Field | Use |
|---|---|
id | the charge's identifier at Intopays |
transactionId | the charge's identifier at the bank (txid) |
transactionEndId | the payment's identifier at the bank (endToEndId), filled in after it is paid |
status | the charge's situation, as in the Status section |
pixType | CHARGE charge, STATIC payment received on a static QR |
referenceCode | on a STATIC Pix, the reference of the QR the payment came in on; null on charges |
integrationType | bank that issued it |
credentialId | id of the credential that issued it; null on older charges |
amountOriginal | amount in Brazilian reais |
amountModificationType | 0 fixed amount, 1 the payer can change the amount |
calendarExpiration | validity in seconds, counted from createdAt |
payerRequest | message shown to the payer |
debtorName, debtorDocument | payer sent on creation |
pixKey | receiving Pix key |
qrcode | the Pix copy-and-paste code |
additionalInfos | items { "name": "...", "value": "..." } sent on creation |
createdAt, updatedAt | creation and last change |
Status
status | Meaning |
|---|---|
ACTIVE | Waiting for payment |
COMPLETED | Paid |
REMOVED_BY_USER_RECEIVER | Removed by the receiver |
REMOVED_BY_PSP | Removed by the bank |
PENDING, REJECTED | STATIC Pix only: see Static Pix |
There is no expired status. An ACTIVE charge is past due when createdAt plus calendarExpiration has already passed; it stays ACTIVE until the bank reports another situation.
Status updates
The status changes when Intopays checks the charge at the bank. That happens in three ways:
| When | What happens |
|---|---|
ACTIVE charge within its validity | checked at the bank in 30-second cycles, in batches; with many open charges, each one waits its turn |
ACTIVE charge already past due | checked once a day, up to 10 times |
Read by id | the response carries the stored status and triggers a check at the bank right after |
When you read by id, the check runs after the response. If the bank reports a different status, it shows on the next read. The list checks nothing at the bank.
In every case, the status change fires the pix.update event on the organization's webhooks. To learn about the payment without polling in a loop, register a webhook under Integração → Webhooks (Integration → Webhooks).
Errors
| Status | Response | Fix |
|---|---|---|
401 | missing or invalid token | See Authentication |
403 | { "status": false } | The charge does not exist or belongs to another organization. Check the id and the token |
Missing something on this page? Contact support from the dashboard and we'll update the docs.
