/pix-automatico/cashin/list List Debit Orders
Background
Lists the current merchant's debit orders, using cursor-based pagination, ordered from newest to oldest. Supports filtering by debit authorization, debit result status, and debit date range; pass authorizationId to query the debit orders under a specific debit authorization.
Endpoint
| Item | Value |
|---|---|
| Method | GET |
| Path | /pix-automatico/cashin/list |
| Content-Type | application/json |
| Purpose | List debit orders |
Authentication
Uses the common signature authentication (ES256 request signing). See Authentication and Request Signing.
Request Fields
For authentication headers, see Authentication; they are not listed in the table below.
| Field | Location | Type | Length | Required | Description |
|---|---|---|---|---|---|
authorizationId | Query | string | 64 | No | Filter by debit authorization ID (generated by the Adopay system and globally unique within the Adopay system); only debit orders under that authorization are returned; when omitted, all debit orders of the current merchant are returned. |
orderStatus | Query | string | 16 | No | Filter by debit result status: PENDING, SCHEDULED, SUCCESS, FAILED, or CANCELLED; pass FAILED to find debit failures that need handling. |
scheduled | Query | string | 10 | No | Start date of the debit date filter, in the format YYYY-MM-DD (a date in the America/Sao_Paulo time zone); must be passed together with scheduledDateTo. A first payment (cashinType is QRCODE) has no debit date and is not returned when filtering by debit date. |
scheduledDateTo | Query | string | 10 | No | End date of the debit date filter, in the format YYYY-MM-DD (a date in the America/Sao_Paulo time zone); must be passed together with scheduled. |
limit | Query | int | 19 | No | Number of records per page, minimum 1, maximum 100; defaults to 10 when omitted. |
id | Query | string | 64 | No | ID of the record at the pagination cursor position; you do not need to fill it in when paging, just use the full URL provided in data. / data.. |
direction | Query | string | 16 | No | Pagination direction: next (next page) or previous (previous page), default next. |
This endpoint has no request body.
Pagination Behavior
- First request: omit the
idanddirectionparameters. - Next page: use the full URL provided in the
data.field of the response.next - Previous page: use the full URL provided in the
data.field of the response.previous
Request Examples
Example 1: Get the first page
GET /pix-automatico/cashin/list?limit=10 HTTP/1.1
X-Merchant-Id: 2492265300
X-Timestamp: 1787011200
X-Nonce: a9f3c1d47e8b9a2c4d1f9e8a7b6c5d4e
Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
Authorization: Signature keyId="v1",alg="ES256",headers="(request-target) x-timestamp x-nonce digest",signature="<ES256_SIGNATURE_BASE64>"Example 2: Query debit orders with a failed debit
GET /pix-automatico/cashin/list?orderStatus=FAILED&limit=10 HTTP/1.1
X-Merchant-Id: 2492265300
X-Timestamp: 1787011200
X-Nonce: a9f3c1d47e8b9a2c4d1f9e8a7b6c5d4e
Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
Authorization: Signature keyId="v1",alg="ES256",headers="(request-target) x-timestamp x-nonce digest",signature="<ES256_SIGNATURE_BASE64>"Example 3: Query debit orders with a failed debit under a specific debit authorization
GET /pix-automatico/cashin/list?authorizationId=0f8c1f3e-5b7a-4c0e-9a55-2d3b1a9c7e10&orderStatus=FAILED&limit=10 HTTP/1.1
X-Merchant-Id: 2492265300
X-Timestamp: 1787011200
X-Nonce: a9f3c1d47e8b9a2c4d1f9e8a7b6c5d4e
Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
Authorization: Signature keyId="v1",alg="ES256",headers="(request-target) x-timestamp x-nonce digest",signature="<ES256_SIGNATURE_BASE64>"Example 4: Go to the next page
GET /pix-automatico/cashin/list?limit=10&id=PAC202610250000000001&direction=next HTTP/1.1
X-Merchant-Id: 2492265300
X-Timestamp: 1787011200
X-Nonce: a9f3c1d47e8b9a2c4d1f9e8a7b6c5d4e
Digest: SHA-256=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
Authorization: Signature keyId="v1",alg="ES256",headers="(request-target) x-timestamp x-nonce digest",signature="<ES256_SIGNATURE_BASE64>"Response Fields
The endpoint uses the standard status, msg, and data response envelope.
| Field | Type | Length | Returned | Description |
|---|---|---|---|---|
status | int | 4 | Yes | Response code |
msg | string | 128 | Yes | Message corresponding to status |
data | object | N/A | On success | Pagination result; may be omitted when the request fails at signature verification or protocol parsing. |
data. | string | 512 | Yes | Full URL of the next page of results; null when there are no more pages. |
data. | string | 512 | Yes | Full URL of the previous page of results; null when on the first page. |
data. | array | N/A | Yes | List of debit orders; for the item field descriptions see Get Debit Order Details. |
Response Example
{
"status": 200,
"msg": "sucesso",
"data": {
"next": "https://api.adopay.com.br/pix-automatico/cashin/list?id=PAC202610250000000001&direction=next&limit=10",
"previous": null,
"results": [
{
"mchOrderNo": "CASHIN20261025000001",
"platOrderNo": "PAC202610250000000001",
"authorizationId": "0f8c1f3e-5b7a-4c0e-9a55-2d3b1a9c7e10",
"cashinType": "REGULAR",
"attemptNumber": 1,
"originPlatOrderNo": null,
"scheduledDate": "2026-11-03",
"amount": 150.00,
"payAmount": 150.00,
"e2eId": "E1234567820261103143000123456789",
"orderStatus": "SUCCESS",
"createdAt": 1792929600,
"payTime": 1793716200,
"failureReason": null,
"cancellation": null,
"retry": null
}
]
}
}Response Error Codes
Back to Pix Subscription Overview