---
title: "Direct Debit Reversal"
method: POST
path: "/transactions/direct-debit/reverse"
---

# Direct Debit Reversal

`POST /transactions/direct-debit/reverse`

## Request

- Base URL: `https://sandbox.openpayd.com/api`
- URL: `https://sandbox.openpayd.com/api/transactions/direct-debit/reverse`
- Auth: API key in header `Authorization`

## Request body

- object
  - `directDebitId` string, required: TransactionId value from Transaction response
  - `reasonCode` 'AM05' | 'MS02' | 'MS03', required: Reason code for reversal of transaction

## Response `200`

200

- object

## Other responses

- `400`: 400

---

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