Skip to main content

Cancel Recurring Withdrawal

Use this endpoint to cancel an active recurring withdrawal. Every future scheduling (SCHEDULED) is canceled; schedulings already processed are not affected.

ℹ️ Only active withdrawals can be canceled

Only a recurring withdrawal with status ACTIVE can be canceled. Trying to cancel one that is already CANCELLED results in an error.

Available Environments​

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

Endpoint​

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

Path Params​

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

Request Example​

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

Success Response​

CodeDescription
200 OKRecurring withdrawal canceled successfully
ℹ️ Response body

This endpoint has no response payload.

Possible Errors​

CodeDescriptionSolution
401Invalid credentialsCheck your credentials
403No permission/authorizationContact support
404Record not foundCheck the id you sent
422Recurring withdrawal already canceledOnly recurring withdrawals with status ACTIVE can be canceled
500Internal errorContact support