Booking
Post Booking
Import Booking
1min
Get a cake by its ID
POST
Request
Body Parameters
share_secret
required
String
Test mode secret keys and live mode secret keys are available in your PayDocker account under Integration menu.
Don't share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
booking_event
required
String
Used to identify the action connected to the booking and the allowed action for this request would be "new".
source_id
required
String
Your PayDocker Account ID assigned upon account creation (e.g. PDR1). It is case sensitive.
buyer_id
optional
String
booking_id
required
String
booking_date
required
String
booking_category
required
String
supplier_id
required
String
property_name
required
String
property_country
required
String
guests_count
required
Number
room_count
required
Number
check_in
required
String
check_out
required
String
transaction_currency
required
String
transaction_amount
required
String
margin_category
required
String
transaction_margin
required
String
nonrefundable_amount
required
String
refundable_amount
required
String
firstnight_amount
required
String
cancellation_days
required
Number
auth_code
optional
String
pre_auth
optional
Boolean
true or false
Updated 24 Jul 2024
Did this page help you?