Volley
Recurring payments

Revoke recurring consent

PUT/recurring-consents/{id}/revoke

Revokes an active recurring consent. No further payments can be executed against it.

AuthorizationBearer <token>

Your Volley API key as a bearer token

In: header

Path Parameters

id*string

The unique identifier of the recurring consent to revoke

Response Body

application/json

application/json

fetch("https://example.com/recurring-consents/consent_abc123/revoke", {  method: "PUT"})
Empty
{  "code": "bad_request.invalid_param.amount",  "message": "Invalid format for amount (valid: '10.00 NZD')",  "params": {}}
{  "code": "bad_request.invalid_param.amount",  "message": "Invalid format for amount (valid: '10.00 NZD')",  "params": {}}