---
title: "Simulate reversal"
method: POST
path: "/issuing/simulate/authorizations/{id}/reversals"
tags: ["Card testing"]
---

# Simulate reversal

`POST /issuing/simulate/authorizations/{id}/reversals`

## Request

- Base URL: `https://{prefix}.api.sandbox.checkout.com`
- URL: `https://{prefix}.api.sandbox.checkout.com/issuing/simulate/authorizations/{id}/reversals`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `string` scopes: `issuing:transactions-write`
- TypeScript: <https://skmtc.dev/checkout/apis/checkout-com-api-reference/docs/issuing/simulate/authorizations/:id/reversals/post.ts> (a function with typed inputs; its response is checked against the schema)

Simulate the reversal of an existing approved authorization.

## Path parameters

- `id` string, required: The transaction's unique identifier.

## Request body

- ReversalRequest
  - `amount` integer: The amount to reverse. If unspecified, the full transaction amount will be reversed. You must provide the amount in the transaction currency's <a href="https://www.checkout.com/docs/resources/calculating-the-amount" target="blank">minor currency units</a>.

## Response `201`

Reversal processed successfully

- ReversalResponse: Reversal Response.
  - `status` 'Reversed' | 'Declined', required: The status of the transaction (either Reversed or Declined).

## Other responses

- `401`: Unauthorized
- `404`: Authorization not found
- `422`: Invalid data was sent
- `500`: Internal Server Error

---

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