---
title: "Create a transaction for a booking"
method: POST
path: "/bookings/{code}/transactions.json"
tags: ["Booking Endpoints"]
---

# Create a transaction for a booking

`POST /bookings/{code}/transactions.json`

Create a new transaction (money log entry) for the specified booking.

This creates a credit note transaction with the specified amount and description.
The transaction will be associated with the booking and its customer.

All amounts should be provided as positive integers in the smallest currency unit
(cents/pence) - e.g., £10.50 should be provided as 1050.

## Path parameters

- `code` string, required

## Headers

- `Authorization` string, required

## Request body

- TransactionCreate — Transaction creation parameters
  - `transaction` object
    - `amount` integer, required — Transaction amount in cents/pence (must be positive)
    - `description` string, required — Description of the transaction
    - `manual_type` 'card' | 'cash' | 'bank_transfer' | 'other' — Type of manual transaction

## Response `201`

Transaction created successfully

- MoneyLog — A financial transaction record
  - `id` integer — Unique identifier for the money log entry
  - `source` string — The source/type of the transaction
  - `amount` integer — Transaction amount in cents/pence
  - `currency_code` string — Currency code (e.g., GBP, USD, EUR)
  - `created_at` integer — Unix timestamp when the transaction was created
  - `display_amount` string — Formatted amount with currency symbol
  - `refund` boolean — Whether this transaction is a refund
  - `success` boolean — Whether the transaction was successful
  - `title` string — Display title for the transaction
  - `description` string, nullable — Description of the transaction (for credit notes)
  - `manual_type` string, nullable — Type of manual transaction (for credit notes)

## Other responses

- `401` — Unauthorized - Invalid API key
- `404` — Not found - Booking was not found
- `422` — Unprocessable - the transaction parameters you provided are invalid

---

[API](https://skmtc.net/jammed-org/apis/jammed-bookings-api.md) · [All operations](https://skmtc.net/jammed-org/apis/jammed-bookings-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jammed-org/jammed-bookings-api/versions/3fc6a6f91b06/schema)
