---
title: "Revert a payable delegation"
method: POST
path: "/v1/erp/payouts/payables/{payable_id}/revert_delegation"
tags: ["Payable"]
---

# Revert a payable delegation

`POST /v1/erp/payouts/payables/{payable_id}/revert_delegation`

## Request

- Base URL: `https://api.cardda.com`
- URL: `https://api.cardda.com/v1/erp/payouts/payables/{payable_id}/revert_delegation`
- Auth: HTTP bearer

Reverts a previously delegated payable, restoring the original payable and declining the
payables created by the delegation.

## Path parameters

- `payable_id` string, required

## Parameters

- `#/paths/~1v1~1erp~1payouts~1rules/get/parameters/0` (unresolved $ref)

## Response `200`

The revert result.

- object
  - `original_payable` object
  - `declined_payables` object[]

## Other responses

- `401`: Unauthorized
- `404`: Payable not found
- `422`: Unprocessable Entity — the delegation could not be reverted.

---

[API](https://skmtc.dev/cardda/apis/banking-api.md) - [All operations](https://skmtc.dev/cardda/apis/banking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cardda/apis/banking-api/revisions/ff1aeb3fda8b?raw)
