Skip to content

/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 ​

ItemValue
MethodGET
Path/pix-automatico/cashin/list
Content-Typeapplication/json
PurposeList 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.

FieldLocationTypeLengthRequiredDescription
authorizationIdQuerystring64NoFilter 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.
orderStatusQuerystring16NoFilter by debit result status: PENDING, SCHEDULED, SUCCESS, FAILED, or CANCELLED; pass FAILED to find debit failures that need handling.
scheduledDateFromQuerystring10NoStart 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.
scheduledDateToQuerystring10NoEnd 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 scheduledDateFrom.
limitQueryint19NoNumber of records per page, minimum 1, maximum 100; defaults to 10 when omitted.
idQuerystring64NoID 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.next / data.previous.
directionQuerystring16NoPagination direction: next (next page) or previous (previous page), default next.

This endpoint has no request body.

Pagination Behavior ​

  • First request: omit the id and direction parameters.
  • Next page: use the full URL provided in the data.next field of the response.
  • Previous page: use the full URL provided in the data.previous field of the response.

Request Examples ​

Example 1: Get the first page

http
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

http
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

http
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

http
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.

FieldTypeLengthReturnedDescription
statusint4YesResponse code
msgstring128YesMessage corresponding to status
dataobjectN/AOn successPagination result; may be omitted when the request fails at signature verification or protocol parsing.
data.nextstring512YesFull URL of the next page of results; null when there are no more pages.
data.previousstring512YesFull URL of the previous page of results; null when on the first page.
data.resultsarrayN/AYesList of debit orders; for the item field descriptions see Get Debit Order Details.

Response Example ​

json
{
  "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