Check Status and Details of a Generated PIX Cash In by ID or EndToEnd
This API retrieves the status and comprehensive details of a previously generated PIX QR Code. Query by QR Code ID or EndToEndId. Returns payment status, amounts, debtor information, dates, and associated account details.
GEThttps://api.saq.digital/v2/finance/status-pix-copy-and-paste
curl --request GET \
--url 'https://api.saq.digital/v2/finance/status-pix-copy-and-paste' \
--header 'Authorization: Bearer <ACCESS_TOKEN>'Response200
{
"id": 12345,
"amount": 100.5,
"status": "PAID",
"pix_copy_and_paste": "00020126580014br.gov.bcb.pix0136...",
"qr_code_url": "https://example.com/qrcode/12345.png",
"debtor_name": "João da Silva",
"debtor_document": "***.316.848-**",
"created_at": "2026-04-25T10:30:00Z",
"paid_at": "2026-04-25T11:45:00Z",
"expiration_date": "2026-04-30T23:59:59Z",
"tag": "Order #12345",
"account_branch": "0001",
"account_number": "12345678-9",
"tax_value": 0.5,
"end_to_end_id": "E12345678202604251234567890AB12345"
}Query Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| id | Integer | QR Code ID. Either id or e2e_id must be provided, but not both. | Optional |
| e2e_id | String | EndToEndId (loc_id) of the QR Code. Either id or e2e_id must be provided, but not both. | Optional |
Authentication
| Header | Type | Description | Required |
|---|---|---|---|
| Authorization | String | Bearer token for authentication | Yes |
Request Examples
Query by ID:
GET /v2/finance/status-pix-copy-and-paste?id=12345
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Query by EndToEndId:
GET /v2/finance/status-pix-copy-and-paste?e2e_id=E12345678202604251234567890AB12345
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Response Example
{
"id": 12345,
"amount": 100.50,
"status": "PAID",
"pix_copy_and_paste": "00020126580014br.gov.bcb.pix0136...",
"qr_code_url": "https://example.com/qrcode/12345.png",
"debtor_name": "João da Silva",
"debtor_document": "***.316.848-**",
"created_at": "2026-04-25T10:30:00Z",
"paid_at": "2026-04-25T11:45:00Z",
"expiration_date": "2026-04-30T23:59:59Z",
"tag": "Order #12345",
"account_branch": "0001",
"account_number": "12345678-9",
"tax_value": 0.50,
"end_to_end_id": "E12345678202604251234567890AB12345"
}Response Fields
| Field | Type | Description |
|---|---|---|
| id | Integer | QR Code unique identifier |
| amount | Float | Payment amount |
| status | String | QR Code status (NEW, PROCESSING, PAID, EXPIRED, CANCELED, CHARGEBACK) |
| pix_copy_and_paste | String | PIX copy and paste code |
| qr_code_url | String | URL to QR Code image |
| debtor_name | String | Name of the payer |
| debtor_document | String | CPF/CNPJ of the payer |
| created_at | DateTime | QR Code creation timestamp |
| paid_at | DateTime | Payment timestamp (if paid) |
| expiration_date | DateTime | QR Code expiration date |
| tag | String | Custom tag or reference |
| account_branch | String | Receiving account branch/agency |
| account_number | String | Receiving account number |
| tax_value | Float | Service tax charged (if applicable) |
| end_to_end_id | String | EndToEndId of the transaction |
Status Values
| Status | Description |
|---|---|
| NEW | QR Code created and waiting for payment |
| PROCESSING | Payment is being settled |
| PAID | Payment completed successfully |
| EXPIRED | QR Code expired without payment |
| CANCELED | QR Code cancelled before being paid |
| CHARGEBACK | Payment was refunded/charged back |
Error Responses
| Status Code | Description |
|---|---|
| 400 | Bad request - Invalid parameters or QR Code not found |
| 401 | Unauthorized - Invalid or missing authentication |
| 500 | Internal server error |
Notes
- Either
idore2e_idparameter must be provided, but not both - If both parameters are provided, a 400 error will be returned
- If neither parameter is provided, a 400 error will be returned
- Only QR Codes from your company can be queried
- Access is validated based on user permissions for the associated account