Skip to main content

Bookings Payments

Overview

This resource represents the Booking's Payments, establishing the relationship between Payments and Bookings.

Parameters

NameTypeRead/WriteDescription
accountIntegerReadAccount's ID related to the Bookings Payment
bookingIntegerReadBooking's ID related to the Bookings Payment
rentalIntegerReadRental's ID related to the Bookings Payment
paymentIntegerReadRental's ID related to the Bookings Payment
idIntegerReadBookings Payment's id.
amount_in_centsIntegerReadBookings Payment's amount in cents.
currencyStringReadBookings Payment's currency code, list of codes described in enums section.
created_atTimeReadBookings Payment's create time.
updated_atTimeReadBookings Payment's update time.

List bookings payments

List all bookings payments for a given account.

GET /bookings_payments
response.json
{
"links": {
"bookings_payments.account": "https://www.bookingsync.com/api/v3/accounts/{bookings_payments.account}",
"bookings_payments.booking": "https://www.bookingsync.com/api/v3/bookings/{bookings_payments.booking}",
"bookings_payments.payment": "https://www.bookingsync.com/api/v3/payments/{bookings_payments.payment}",
"bookings_payments.rental": "https://www.bookingsync.com/api/v3/rentals/{bookings_payments.rental}"
},
"bookings_payments": [
{
"links": {
"account": 44,
"booking": 22,
"payment": 11,
"rental": 30
},
"id": 2,
"amount_in_cents": 100000,
"currency": "USD",
"created_at": "2025-03-17T22:18:29.723Z",
"updated_at": "2025-03-24T22:18:29.723Z"
}
],
"meta": {}
}

Get a single bookings payment

Returns a single bookings payment identified by ID.

GET /bookings_payments/:bookings_payment_id
response.json
{
"links": {
"bookings_payments.account": "https://www.bookingsync.com/api/v3/accounts/{bookings_payments.account}",
"bookings_payments.booking": "https://www.bookingsync.com/api/v3/bookings/{bookings_payments.booking}",
"bookings_payments.payment": "https://www.bookingsync.com/api/v3/payments/{bookings_payments.payment}",
"bookings_payments.rental": "https://www.bookingsync.com/api/v3/rentals/{bookings_payments.rental}"
},
"bookings_payments": [
{
"links": {
"account": 44,
"booking": 22,
"payment": 11,
"rental": 30
},
"id": 2,
"amount_in_cents": 100000,
"currency": "USD",
"created_at": "2025-03-17T22:18:29.726Z",
"updated_at": "2025-03-24T22:18:29.726Z"
}
],
"meta": {}
}