Skip to main content

List Recurring Withdrawals

Use this endpoint to list recurring withdrawals with filters.

Available Environments​

https://api.gateway.com.br/core

Endpoint​

  • Method: GET
  • Endpoint: /recurring-withdrawal
  • Authentication: Bearer token

Query Params​

ℹ️ Dates in ISO

The startDate and endDate fields must be sent as an ISO date string with time.

Example:

  • 2026-03-06T12:00:00.000Z
ℹ️ Snapshot pagination

The snapshot is not a pointer to the "next page": it is a fixed identifier of the pagination session, used together with page (which is still sent and incremented normally) to keep the results consistent even if new records are created while you navigate.

Take the snapshot value from the first response (sent without a snapshot on the first request) and resend that same value, unchanged, on the requests for the following pages, along with the same filters and the same perPage used originally. If any of those values changes while an old snapshot is resent, the API returns an error.

NameTypeRequiredDescriptionValidations
snapshotstringNoIdentifier of the pagination session (received in the snapshot field of the first response); resend it unchanged along with page on the following pagesMust match the same filters and the same perPage of the original request
startDatestringNoStart date of the filter (createdAt)Must be an ISO date string with time
endDatestringNoEnd date of the filter (createdAt)Must be an ISO date string with time
statusstring[] (enum) - ACTIVE, CANCELLEDNoList of statuses to filter byMust be a non-empty array with no duplicates
pixKeystringNoDestination PIX key
descriptionstringNoDescription of the recurring withdrawal

Request Example​

curl --request GET \
--url https://api.gateway.com.br/core/recurring-withdrawal?status=ACTIVE \
--header 'Authorization: Bearer your-jwt-token'

Success Response​

FieldTypeRequiredDescription
totalPagesnumberYesTotal pages
currentPagenumberYesCurrent page
perPagenumberYesItems per page
snapshotstringNoIdentifier of the pagination session; resend it unchanged on the following pages
dataarrayYesList of recurring withdrawals

Fields of the item in data​

FieldTypeRequiredDescription
idstring (UUID)YesUnique identifier of the recurring withdrawal
pixKeyobjectYesDestination PIX key (see Sub-Object PixKeyVo)
amountnumberYesAmount of each withdrawal (integer, in cents)
statusstring (enum) - ACTIVE, CANCELLEDYesStatus of the recurring withdrawal
frequencyTypestring (enum) - REPEAT_EVERY, FIXED_DAYYesFrequency type
frequencyUnitstring (enum) - DAYS, MONTHSYesFrequency unit
frequencyValuenumberYesInterval (for REPEAT_EVERY) or day of the month (for FIXED_DAY)
durationnumberYesNumber of scheduled executions
descriptionstringYesDescription of the recurring withdrawal
lastScheduledDatestring (ISO)YesDate of the last scheduling generated
createdAtstring (ISO)YesCreation date
updatedAtstring (ISO)YesLast update date

Sub-Objects​

PixKeyVo​

FieldTypeRequiredDescription
keystringYesPIX key
typestring (enum) - CPF, CNPJ, EMAIL, PHONE, EVPYesPIX key type

Response Example​

Masked data

Sensitive values may be masked with ***.

{
"totalPages": 1,
"currentPage": 1,
"perPage": 15,
"snapshot": "b3BhcXVlLXNuYXBzaG90LXRva2Vu",
"data": [
{
"id": "553e8400-e29b-41d4-a716-436251480000",
"pixKey": {
"key": "12345678910",
"type": "CPF"
},
"amount": 10000,
"status": "ACTIVE",
"frequencyType": "FIXED_DAY",
"frequencyUnit": "MONTHS",
"frequencyValue": 5,
"duration": 12,
"description": "Repasse mensal para fornecedor",
"lastScheduledDate": "2027-02-05T12:00:00.000Z",
"createdAt": "2026-03-06T12:49:04.681Z",
"updatedAt": "2026-03-06T12:49:04.681Z"
}
]
}

Possible Errors​

CodeDescriptionSolution
401Invalid credentialsCheck your credentials
403No permission/authorizationContact support
422Invalid or missing dataCheck the format of the data
500Internal errorContact support