---
title: "POST /api/distribution/transaction/{id}/cancel"
method: POST
path: "/api/distribution/transaction/{id}/cancel"
tags: ["api", "distribution-api"]
---

# POST /api/distribution/transaction/{id}/cancel

`POST /api/distribution/transaction/{id}/cancel`

Cancel a transaction.

## Path parameters

- `id` string, required — The transaction to cancel

## Request body

- POSTDistributionApiCancelATransaction
  - `distributorId` string, required — The distributor to cancel a checkout for

## Response `200`

OK

- DistributionTransactionResource
  - `transactionId` string, required — The ID of the transaction
  - `distributorId` string, required — The ID of the distributor
  - `status` 'NEW' | 'RESERVED-BY-SYSTEM' | 'ABORTED' | 'COMPLETE' | 'CANCELED', required — The status of the transaction
  - `tickets` object[] — The tickets associated to the transaction
    - `ticketId` string, required — The ID of the ticket
    - `offerId` string, required — The ID of the ticket's offer
    - `barcode` string, required — The barcode of the ticket
    - `url` string, required — The URL of the ticket
    - `eventId` string, required — The ID of the ticket's event
    - `availabilityId` string, required — The ID of the ticket's availability
    - `timeSlotId` string — The ID of the ticket's time slot
    - `seatingInfo` union — The seating info of the ticket
      - object
        - `type` 'Seats', required
        - `gate` string — The gate for the seat
        - `name` string — The name of the section if the ticket is for a GeneralAdmission section
        - `seatId` string, required
        - `sectionName` string, required — The section name for the seat
        - `rowName` string, required — The row name for the seat
        - `seatName` string, required — The seat name for the seat
      - object
        - `gate` string — The gate for the seat
        - `name` string — The name of the section if the ticket is for a GeneralAdmission section
        - `seatId` string
        - `type` 'GeneralAdmission', required — The type of the seating group this seat belongs to

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
