---
title: "preauthTransaction"
method: DELETE
path: "/v2/preauthTransaction/{preauthTransactionId}"
tags: ["Create & Manage Transactions"]
---

# preauthTransaction

`DELETE /v2/preauthTransaction/{preauthTransactionId}`

Delete the specified preauthorized transaction.

<details>
<summary><strong>Error Glossary</strong> (click to expand)</summary>

| Code | HTTP Status | Message |
|------|-------------|-------------|
| `AP009` | 401 | Unauthorized |
| `AP101` | 401 | No authenticated user |
| `AP312` | 200 | Preauth already captured |
| `AP313` | 200 | Preauth ineligible for capture |
| `AP700` | 400 | Missing or invalid required parameter |
| `AP701` | 400 | Improperly formatted parameter |

</details>

## Headers

- `Content-Type` string, required
- `authorization` string, required

## Response `200`

Success or Business Logic Error

- object
  - `preauthTransactionGetResponse` object
    - `transaction` object
      - `id` string, uuid — Unique identifier for the transaction (UUID).
      - `amount` object
        - `currency` string — Three-letter ISO currency code.
        - `amount` integer — Amount in pennies or smallest currency unit.
      - `status` 'pending' | 'live' | 'canceled' | 'completed' — Current status of the transaction.
      - `userId` string, uuid — Internal identifier of the user.
      - `userName` string — Full name of the user.
      - `userEmail` string, email — Email address of the user associated with the transaction.
      - `createdDate` string, date-time — The date and time when the transaction was created.
      - `expiryDate` string, date-time — The date and time when the transaction expires.
      - `merchantId` integer — Identifier of the merchant.
      - `userAccountId` integer — Identifier of the user's bank account.
      - `locationId` integer — Identifier of the specific business location.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/aero/apis/aeropay-v2-api.md) · [All operations](https://skmtc.net/aero/apis/aeropay-v2-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aero/aeropay-v2-api/revisions/4700c4ceeaad/schema)
