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

# Simulate clearing

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

## Request

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

Simulate the clearing of an existing approved authorization.

## Path parameters

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

## Request body

- PresentmentRequest
  - `amount` integer: The amount to clear. If not specified, the full authorized amount will be cleared. 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`

Presentment accepted

## 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)
