v1

latestSwagger 2.02026-07-141993129.2 KB
Bookings

Post a payment token for a reservation.

TBD.<br /> For more details on how the API responds to errors please check our documentation on <a href="https://developer.hetras.com/docs/errors/" onfocus="this.blur()">Error Handling</a>.

put/api/booking/v0/bookings/{confirmationId}/reservations/{reservationNumber}/payment_token

Path parameters

confirmationIdstring required

The confirmation id for the booking the reservation was made.

reservationNumberinteger required

Specifies the reservation number for the reservation to be checked in.

Headers

App-Idstring required

Application identifier

App-Keystring required

Application key.

Request body

no_authorization_requiredboolean

Whether hetras should skip authorization using the provided token when no authorization details are supplied. Optional flag, defaults to false.

payment_tokenstring required

The token you get from the payment service provider

Response

The payment token was added successfully

_warningsstring[]

Warnings that came up when your request was processed. Your request will still be processed successfull when you see such warnings in your response