Skip to main content
PATCH
Update a payment

Authorizations

Authorization
string
header
required

Bearer authentication using your BookingShake access token. Create it in Settings > Developers > Access token in your BookingShake dashboard.

Path Parameters

id
string
required

Payment document ID (the id field carried by the payment.* webhooks).

Body

application/json

Fields that can be updated on a payment. All fields are optional (partial update): only the fields present in the body are modified. Same conventions as the response - amount in integer cents, dates as YYYY-MM-DD in the Europe/Paris timezone. At least one field other than reason must be provided. method_id is required when status is set to paid.

name
string

Payment label (non-empty)

Required string length: 1 - 255
Example:

"Acompte 30%"

amount
integer

Amount in integer cents. 0 is only accepted on a venue outside the fiscal engine, and with status: paid only on a payment that expects zero.

Required range: x >= 0
Example:

90000

status
enum<string>
Available options:
waiting,
paid,
canceled
Example:

"paid"

method_id
string

Stable ID of a payment method from the venue catalog (GET /payment-methods). Must reference an active (non-archived) method; the display label stored on the payment is derived from the catalog. Required when status is set to paid.

Example:

"wire_transfer"

received_date
string<date> | null

Date the payment was received, YYYY-MM-DD. A new date cannot be in the future nor more than 365 days in the past (Europe/Paris). When status is set to paid without it, the payment keeps the date it already has when that date is within these bounds, and takes today otherwise. Pass null to clear (not allowed together with status: paid, nor on a paid payment of a venue running the fiscal engine).

Example:

"2026-06-10"

due_date
string<date> | null

Date the payment is expected, YYYY-MM-DD. Pass null to clear.

Example:

"2026-06-15"

reason
string

Reason for the change, recorded in the sealed journal. Required on a venue running the fiscal engine to amend or cancel a waiting payment, and to correct or cancel a paid one. Not used on other venues.

Required string length: 1 - 500
Example:

"Amount corrected after bank reconciliation"

Response

Payment updated successfully. Returns the full payment in its post-update state.

message
string
Example:

"success"

data
object

A payment. Identical to the data block of the payment.* webhooks. Amount is integer cents; dates are YYYY-MM-DD strings in the Europe/Paris timezone; timestamps are Unix milliseconds; missing values are explicit null.