Skip to content

/pix-automatico/authorization/list List Authorizations ​

Background ​

Lists debit authorizations under the current partner with cursor-based pagination, ordered by creation time from newest to oldest. Supports filtering by status and creation date range.

Endpoint ​

ItemValue
MethodGET
Path/pix-automatico/authorization/list
Content-Typeapplication/json
PurposeList debit authorizations

Authentication ​

Uses the common signature authentication (ES256 request signing); set X-Merchant-Id to the partner's primary merchant ID. See Authentication and Request Signing.

Request Fields ​

For authentication headers, see Authentication; they are not listed in the table below.

FieldLocationTypeLengthRequiredDescription
subMerchantNoQuerystring64NoFilter by sub-merchant ID; when omitted, debit authorizations of all sub-merchants under the partner are returned.
statusQuerystring16NoFilter by debit authorization status: CREATED, APPROVED, REJECTED, EXPIRED, or CANCELLED.
createdDateFromQuerystring10NoStart date of the creation date filter, format YYYY-MM-DD (a date in the America/Sao_Paulo time zone); must be provided together with createdDateTo.
createdDateToQuerystring10NoEnd date of the creation date filter, format YYYY-MM-DD (a date in the America/Sao_Paulo time zone); must be provided together with createdDateFrom.
limitQueryint19NoNumber of records per page, minimum 1, maximum 100; default 10 if omitted.
idQuerystring64NoRecord ID at the pagination cursor position; when paging, do not fill it in yourself, and use the full URL provided by data.next / data.previous directly.
directionQuerystring16NoPagination direction: next (next page) or previous (previous page), default next.

This API 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: Query approved debit authorizations

http
GET /pix-automatico/authorization/list?status=APPROVED&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: Go to the next page

http
GET /pix-automatico/authorization/list?limit=10&id=0f8c1f3e-5b7a-4c0e-9a55-2d3b1a9c7e10&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 API uses the standard status, msg, and data response structure.

FieldTypeLengthReturnedDescription
statusint4YesResponse code
msgstring128YesMessage corresponding to status
dataobjectN/AOn successPaginated 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 authorizations; for the item fields, see Get Authorization Details. Each item also includes subMerchantNo (the sub-merchant ID it belongs to).

Response Example ​

json
{
  "status": 200,
  "msg": "sucesso",
  "data": {
    "next": "https://api.adopay.com.br/pix-automatico/authorization/list?id=0f8c1f3e-5b7a-4c0e-9a55-2d3b1a9c7e10&direction=next&limit=10",
    "previous": null,
    "results": [
      {
        "subMerchantNo": "SUB00000001",
        "mchOrderNo": "AUTH20261009000001",
        "authorizationId": "0f8c1f3e-5b7a-4c0e-9a55-2d3b1a9c7e10",
        "recurrenceId": "RR0435879820261001abc123def45",
        "status": "APPROVED",
        "signupType": "AUTHORIZATION_QRCODE",
        "frequency": "MONTHLY",
        "startDate": "2026-11-01",
        "endDate": null,
        "amountType": "FIXED",
        "amountValue": 150.00,
        "contractNo": "CT-2026-0001",
        "contractDescription": "Mensalidade",
        "allowRetry": true,
        "payerDocument": "12345678901",
        "payerName": "João Silva",
        "payerIspb": "04358798",
        "payerBranch": "0001",
        "payerAccountNumber": "9876543",
        "expiresAt": 1794173400,
        "createdAt": 1791581400,
        "approvedAt": 1791637500,
        "rejection": null,
        "cancellation": null
      }
    ]
  }
}

Response Error Codes ​


Back to Pix Subscription Overview