...
parameter
...
format
...
mandatory
...
locator booking locator
...
ytfxxx
...
yes
...
payment id returned from book
...
string
...
yes
Request Body - Emit RQ
...
NAME | DESCRIPTION | FORMAT | ALLOWED VALUES | MANDATORY |
---|---|---|---|---|
Emit Request | ||||
query | ||||
query/locator | Locator of the booking line to be processed | String | HJQZR | No |
query/payment | Payment ID | Yes | ||
payment/type | Type of payment. Please, keep in mind which payment options you have availables.
| String |
| Yes |
payment/cash | If payment cash true | Bool |
| Yes |
query/cancel_if_not_exists | Auto cancel if it's unable to get external docs (e.g.: Renfe getting tickets in pdf file) | Bool |
string
Default value : false
no
checkStatus Not status error will be return if this parameters is false
string
no
emitRQ
token"
{{token}}
no
"payment":
Code Block |
---|
: {
"cash": true |
yes
"expected_amount"
expected_amount": 8
yes
booking id: returned from book
string
| No | |||
query/checkStatus | RSVD = RESERVED The order is reserved but not issued CNFD = CONFIRMED The order is confirmed (issued) VOID = VOID Tickets cancelled during the first hours after issuance ( only if supplier allows it ) CNLD = CANCELLED Reservation is cancelled RFND = REFUNDED The order is refunded ONRQ = ORDER ON REQUEST This status is applicable for low cost bookings when the order is not completed during the booking process. This is a temporary status that will end in:
MANL = MANUAL. Applicable for low cost bookings. Starting from ONRQ status, the booking will change to MANL status if after some time the reservation does not end in any of the previous status: CNFD / CNLD. PAYG = PAYING. Applicable for low cost booking. This is a temporary status while the order is being paid by 3DS. | String |
| No |
query/bookingID | Booking identification returned on book reply | String | 826f2e66-8e0 | Yes |