Skip to main content

Get Recurring Withdrawal

Use this endpoint to get a specific recurring withdrawal by its id.

Available Environments​

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

Endpoint​

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

Path Params​

NameTypeRequiredDescriptionValidations
idstring (UUID)YesRecurring withdrawal identifierMust be a valid UUID

Request Example​

curl --request GET \
--url https://api.gateway.com.br/core/recurring-withdrawal/553e8400-e29b-41d4-a716-436251480000 \
--header 'Authorization: Bearer your-jwt-token'

Success Response​

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, CANCELLEDYes
  • ACTIVE: recurring withdrawal active
  • CANCELLED: recurring withdrawal canceled
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
totalAmountWithdrawnnumberNoSum of the amounts already withdrawn in the processed schedulings (integer, in cents)

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

{
"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",
"totalAmountWithdrawn": 30000
}

Possible Errors​

CodeDescriptionSolution
401Invalid credentialsCheck your credentials
403No permission/authorizationContact support
404Record not foundCheck the id you sent
422Invalid or missing dataCheck the format of the data
500Internal errorContact support