Result codes
Codes 00–10 and 99 are unchanged from the existing B2B2C connection; codes from 20 upward are Partner API specific.
00
SUCCEEDED
Success
—
01
ON_PROCESS
The booking is being processed, or another request with the same requestId / another commit on the same booking is running
Wait a few seconds, re-check with bookings/get
02
FAILED
Processing failed
Inform the guest; do not auto-retry
03
UNAUTHORIZED
Partner API not enabled for this partner
Contact Gotadi
04
INVALID_SIGNATURE
Bad signature
Check the signing string and private key
06
INVALID_ACCESS_CODE
accessCode does not match apikey
Check configuration
07
INVALID_DATA_FORMAT
Malformed envelope or payload, missing field
Fix the request per message
08
NOT_BE_REPROCESSED
Booking already paid, already cancelled, or not confirmed when cancelling
Check with bookings/get
09
PENDING
Money taken, hotel has not confirmed
Do not refund; poll every minute
10
BOOKING_DUPLICATED
Duplicates a booking that is already paid
Check for a duplicate order
20
PRICE_CHANGED
Price changed at price-check
Ask the guest, use the new bookingToken
21
SOLD_OUT
No rooms left
Offer another rate
22
TOKEN_EXPIRED
offerId or bookingToken expired
Call offers / price-check again
23
BOOKING_NOT_FOUND
No such booking for this partner
Check the reference
24
PAYMENT_EXPIRED
commit after paymentDeadline
Do not collect payment; rebook
25
SUPPLIER_ERROR
Hotel or room source error
Retry later or offer another rate
26
REQUEST_EXPIRED
timestamp more than 300 seconds off
Sync the server clock (NTP)
27
DUPLICATED_REQUEST_ID
requestId already used with a different payload
Generate a new requestId
28
CANCEL_PENALTY_CHANGED
The cancellation penalty changed
Call cancel-check again
29
PROPERTY_NOT_FOUND
No such hotel (content/property)
Check masterId, re-sync the catalogue
99
UNKNOWN_ERROR
System error
Retry; for create/commit check bookings/get first
Cập nhật lần cuối