Payments
Payments of bookings, whether planned, partially paid or paid
The payment object
Attributes
iduuidUnique identifier
provider_idtext | nullIdentifier of the payment at the payment provider
created_atread-onlytimestamp with time zoneCreation timestamp
updated_atread-onlytimestamp with time zoneLast modification timestamp
amountint64Total amount of the payment, in cents
completed_attimestamp with time zone | nullTimestamp at which the payment was completed
currencyCurrencyCurrency of the payment
due_attimestamp with time zoneTimestamp at which the payment is due
ftsread-onlytsvectornotification_sent_attimestamp with time zone | nullTimestamp at which the guest was notified of the payment being due
offlinebooleanWhether the payment is made outside Bookingmood, e.g. by bank transfer
overdue_notified_attimestamp with time zone | nullTimestamp at which the admins were notified of the payment being overdue
paidint64Amount of the payment that was paid, in cents
referencetextReference of the payment
statusread-onlyPaymentStatusStatus of the payment
Related resources
Embed related resources in the response with the select parameter, for example select=*,bookings!booking_id(*). Resources related through more than one column need the column as a hint, like table!column(*).
{
"id": "00000000-0000-0000-0000-000000000000",
"booking_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"provider_id": "",
"created_at": "2026-11-30T11:02:01.147Z",
"updated_at": "2026-11-30T11:02:01.147Z",
"amount": 0,
"completed_at": "2026-11-30T11:02:01.147Z",
"currency": "EUR",
"due_at": "2026-11-30T11:02:01.147Z",
"notification_sent_at": "2026-11-30T11:02:01.147Z",
"offline": false,
"overdue_notified_at": "2026-11-30T11:02:01.147Z",
"paid": 0,
"reference": "ABC123",
"status": "cancelled"
}curl "https://api.bookingmood.com/v1/payments?limit=10&select=*,bookings!booking_id(*),invoices!invoice_id(*)" \
-H "Authorization: Bearer YOUR_API_KEY"List payments
Requiresbookings:read
Filters
idFilter<uuid>Unique identifier
provider_idFilter<text | null>Identifier of the payment at the payment provider
created_atFilter<timestamp with time zone>Creation timestamp
updated_atFilter<timestamp with time zone>Last modification timestamp
amountFilter<int64>Total amount of the payment, in cents
completed_atFilter<timestamp with time zone | null>Timestamp at which the payment was completed
currencyFilter<Currency>Currency of the payment
due_atFilter<timestamp with time zone>Timestamp at which the payment is due
ftsFilter<tsvector>notification_sent_atFilter<timestamp with time zone | null>Timestamp at which the guest was notified of the payment being due
offlineFilter<boolean>Whether the payment is made outside Bookingmood, e.g. by bank transfer
overdue_notified_atFilter<timestamp with time zone | null>Timestamp at which the admins were notified of the payment being overdue
paidFilter<int64>Amount of the payment that was paid, in cents
referenceFilter<text>Reference of the payment
statusFilter<PaymentStatus>Status of the payment
Responses
200A list of payments with the selected columns
206Partial Content
400The request is malformed, for example an unknown column or an invalid filter.
401The API key is missing or invalid.
403The API key or access token doesn't have the scope this request needs.
429The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.
code, message, details and hint. See the introduction for more on errors.curl "https://api.bookingmood.com/v1/payments?select=*&limit=10" \
-H "Authorization: Bearer YOUR_API_KEY"[
{
"id": "00000000-0000-0000-0000-000000000000",
"booking_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"provider_id": "",
"created_at": "2026-11-30T11:02:01.147Z",
"updated_at": "2026-11-30T11:02:01.147Z",
"amount": 0,
"completed_at": "2026-11-30T11:02:01.147Z",
"currency": "EUR",
"due_at": "2026-11-30T11:02:01.147Z",
"notification_sent_at": "2026-11-30T11:02:01.147Z",
"offline": false,
"overdue_notified_at": "2026-11-30T11:02:01.147Z",
"paid": 0,
"reference": "ABC123",
"status": "cancelled"
}
]Create payments
Requiresbookings:write
Body
Partial<Payment> | Array<Partial<Payment>>Read-only attributes are set by the database and can't be written.
Responses
201The newly created payments with the selected columns
400The request is malformed, for example an unknown column, an invalid filter or an invalid body.
401The API key is missing or invalid.
403The API key or access token doesn't have the scope this request needs, or no permission for this change, for example when writing rows of another organization.
409The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.
429The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.
code, message, details and hint. See the introduction for more on errors.curl "https://api.bookingmood.com/v1/payments" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"booking_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"amount": 0,
"currency": "EUR",
"due_at": "2026-11-30T11:02:01.147Z",
"offline": false,
"paid": 0,
"reference": "ABC123"
}'[
{
"id": "00000000-0000-0000-0000-000000000000",
"booking_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"provider_id": "",
"created_at": "2026-11-30T11:02:01.147Z",
"updated_at": "2026-11-30T11:02:01.147Z",
"amount": 0,
"completed_at": "2026-11-30T11:02:01.147Z",
"currency": "EUR",
"due_at": "2026-11-30T11:02:01.147Z",
"notification_sent_at": "2026-11-30T11:02:01.147Z",
"offline": false,
"overdue_notified_at": "2026-11-30T11:02:01.147Z",
"paid": 0,
"reference": "ABC123",
"status": "cancelled"
}
]Delete payments
Requiresbookings:write
Filters
Without filters, this request deletes all payments you have access to. Always filter on at least one column, e.g. id=eq.{id}.
idFilter<uuid>Unique identifier
provider_idFilter<text | null>Identifier of the payment at the payment provider
created_atFilter<timestamp with time zone>Creation timestamp
updated_atFilter<timestamp with time zone>Last modification timestamp
amountFilter<int64>Total amount of the payment, in cents
completed_atFilter<timestamp with time zone | null>Timestamp at which the payment was completed
currencyFilter<Currency>Currency of the payment
due_atFilter<timestamp with time zone>Timestamp at which the payment is due
ftsFilter<tsvector>notification_sent_atFilter<timestamp with time zone | null>Timestamp at which the guest was notified of the payment being due
offlineFilter<boolean>Whether the payment is made outside Bookingmood, e.g. by bank transfer
overdue_notified_atFilter<timestamp with time zone | null>Timestamp at which the admins were notified of the payment being overdue
paidFilter<int64>Amount of the payment that was paid, in cents
referenceFilter<text>Reference of the payment
statusFilter<PaymentStatus>Status of the payment
Responses
200The deleted payments with the selected columns. Returns 204 without a body when sending the header Prefer: return=minimal.
400The request is malformed, for example an unknown column or an invalid filter.
401The API key is missing or invalid.
403The API key or access token doesn't have the scope this request needs, or no permission for this change, for example when writing rows of another organization.
429The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.
code, message, details and hint. See the introduction for more on errors.curl -X DELETE "https://api.bookingmood.com/v1/payments?id=eq.00000000-0000-0000-0000-000000000000" \
-H "Authorization: Bearer YOUR_API_KEY"[
{
"id": "00000000-0000-0000-0000-000000000000",
"booking_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"provider_id": "",
"created_at": "2026-11-30T11:02:01.147Z",
"updated_at": "2026-11-30T11:02:01.147Z",
"amount": 0,
"completed_at": "2026-11-30T11:02:01.147Z",
"currency": "EUR",
"due_at": "2026-11-30T11:02:01.147Z",
"notification_sent_at": "2026-11-30T11:02:01.147Z",
"offline": false,
"overdue_notified_at": "2026-11-30T11:02:01.147Z",
"paid": 0,
"reference": "ABC123",
"status": "cancelled"
}
]Update payments
Requiresbookings:write
Filters
Without filters, this request updates all payments you have access to. Always filter on at least one column, e.g. id=eq.{id}.
idFilter<uuid>Unique identifier
provider_idFilter<text | null>Identifier of the payment at the payment provider
created_atFilter<timestamp with time zone>Creation timestamp
updated_atFilter<timestamp with time zone>Last modification timestamp
amountFilter<int64>Total amount of the payment, in cents
completed_atFilter<timestamp with time zone | null>Timestamp at which the payment was completed
currencyFilter<Currency>Currency of the payment
due_atFilter<timestamp with time zone>Timestamp at which the payment is due
ftsFilter<tsvector>notification_sent_atFilter<timestamp with time zone | null>Timestamp at which the guest was notified of the payment being due
offlineFilter<boolean>Whether the payment is made outside Bookingmood, e.g. by bank transfer
overdue_notified_atFilter<timestamp with time zone | null>Timestamp at which the admins were notified of the payment being overdue
paidFilter<int64>Amount of the payment that was paid, in cents
referenceFilter<text>Reference of the payment
statusFilter<PaymentStatus>Status of the payment
Body
Partial<Payment>Read-only attributes are set by the database and can't be written.
Responses
200The updated payments with the selected columns. Returns 204 without a body when sending the header Prefer: return=minimal.
400The request is malformed, for example an unknown column, an invalid filter or an invalid body.
401The API key is missing or invalid.
403The API key or access token doesn't have the scope this request needs, or no permission for this change, for example when writing rows of another organization.
409The change conflicts with existing data, for example a duplicate key or a reference to a row that does not exist.
429The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.
code, message, details and hint. See the introduction for more on errors.curl -X PATCH "https://api.bookingmood.com/v1/payments?id=eq.00000000-0000-0000-0000-000000000000" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "amount": 0 }'[
{
"id": "00000000-0000-0000-0000-000000000000",
"booking_id": "00000000-0000-0000-0000-000000000000",
"invoice_id": "00000000-0000-0000-0000-000000000000",
"provider_id": "",
"created_at": "2026-11-30T11:02:01.147Z",
"updated_at": "2026-11-30T11:02:01.147Z",
"amount": 0,
"completed_at": "2026-11-30T11:02:01.147Z",
"currency": "EUR",
"due_at": "2026-11-30T11:02:01.147Z",
"notification_sent_at": "2026-11-30T11:02:01.147Z",
"offline": false,
"overdue_notified_at": "2026-11-30T11:02:01.147Z",
"paid": 0,
"reference": "ABC123",
"status": "cancelled"
}
]