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

# Simulate refund

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

## Request

- Base URL: `https://{prefix}.api.sandbox.checkout.com`
- URL: `https://{prefix}.api.sandbox.checkout.com/issuing/simulate/authorizations/{id}/refunds`
- 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/refunds/post.ts> (a function with typed inputs; its response is checked against the schema)

Simulate the refund of an existing approved authorization, after it has been cleared.

## Path parameters

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

## Request body

- SimulateRefundRequest
  - `amount` integer: The amount to refund. If not specified, the full cleared amount will be refunded. 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 `202`

Refund accepted

## Other responses

- `401`: Unauthorized
- `404`: Presentment 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)
