---
title: "Revoke a payment consent"
method: DELETE
path: "/accounts/{id}/payment-consents/{consent_id}"
tags: ["Accounts"]
---

# Revoke a payment consent

`DELETE /accounts/{id}/payment-consents/{consent_id}`

## Request

- Base URL: `https://api.akahu.io/v1`
- URL: `https://api.akahu.io/v1/accounts/{id}/payment-consents/{consent_id}`
- Auth: HTTP bearer

Revoke one of the enduring payment consents granted for an account.

You can find the `_id` of a consent by looking at the `payment_consents` array on the [account](/reference/get_accounts-id) it belongs to.

Revoking a consent immediately prevents it from being used to initiate any further payments. This does not affect any other consents on the account, or the account's connection to your application.

For more details see:
  - [📚 Requesting Payment Consent guide](/docs/enduring-payments-authorisation)
  - [📖 Account model](/docs/the-account-model)

## Headers

- `X-Akahu-Id` string, required

## Response `200`

Successful response.

- object
  - `success` boolean

## Other responses

- `400`: Your request was malformed or otherwise unacceptable. More details are provided under the `message` key in the response.
- `401`: You are not authorised to access this content.
- `403`: You are not allowed to access this content.
- `404`: The item you are trying to access doesn't exist.
- `500`: An internal error has prevented us from processing the request. More detail may be supplied in the `message` key.

## Changes

- **2026-11-03** `52ef70f3df76`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/akahu/apis/akahu-enduring-api/changes/accounts/:id/payment-consents/:consent_id/delete.md)

---

[API](https://skmtc.dev/akahu/apis/akahu-enduring-api.md) - [All operations](https://skmtc.dev/akahu/apis/akahu-enduring-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akahu/apis/akahu-enduring-api/revisions/52ef70f3df76?raw)
