---
title: "Cancel Order"
method: POST
path: "/pgw/api/v1/direct/cancel"
---

# Cancel Order

`POST /pgw/api/v1/direct/cancel`

## Request

- Base URL: `https://api.ksamerchant.geidea.net`
- URL: `https://api.ksamerchant.geidea.net/pgw/api/v1/direct/cancel`
- Auth: HTTP basic

## Request body

- object
  - `orderId` string, required: Unique ID for the order.
  - `reason` 'CancelledByUser' | 'TimedOut' | 'TimedOutOn3DS': Reason for cancellation of order

## Response `200`

200

- object
  - `orderId` string
  - `reason` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/geidea/apis/transaction-management.md) - [All operations](https://skmtc.dev/geidea/apis/transaction-management/llms.txt) - [OpenAPI document](https://skmtc.dev/geidea/apis/transaction-management/revisions/4eae92a0fe71?raw)
