---
title: "Refund a transaction"
method: POST
path: "/bookings/{code}/refund_transaction"
tags: ["Booking Endpoints"]
---

# Refund a transaction

`POST /bookings/{code}/refund_transaction`

Refund a specific payment transaction on a booking (Stripe, Square, or Jammed Pay).

## Path parameters

- `code` string, required

## Query parameters

- `transaction_id` integer, required

## Headers

- `Authorization` string, required

## Response `200`

Transaction refunded

- StatusResponse
  - `status` 'ok' | 'error'
  - `message` string

## Changes

- **2026-03-25** (v2) `40748de0c299` — 2 info
  - api tag `Booking Endpoints` added
  - api tag `Booking Management Endpoints` removed
- **2026-03-25** (v2) `71bc3de607c7` — 1 info
  - endpoint added
- **2022-05-05** (v2) `95c52cb13f9a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/jammed-org/apis/jammed-bookings-api/changes/bookings/:code/refund_transaction/post.md)

---

[API](https://skmtc.dev/jammed-org/apis/jammed-bookings-api.md) · [All operations](https://skmtc.dev/jammed-org/apis/jammed-bookings-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jammed-org/jammed-bookings-api/revisions/8edf08285947/schema)
