These docs are for v1.0. Click to read the latest docs for v2.0.

Book a Trip only if the preauthorisation of the payment_nonce is successful

This endpoint is similar to /v1/bookings/ but it includes an extra payment_nonce parameter. You only need to use this endpoint if you were instructed by Karhoo to do so.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

request body

meta
object

Any key value pairs to be associated with a booking

string
required

The ID of the quote that should be used for pricing this Booking. This ID is obtained from the Quote Item List returned by the /quotes/{id} API.

passengers
object
required
string

Trip ID provided by the demand partner.

string

Free form comments provided by the rider / person booking.

string

Flight number of passenger

string
length ≤ 15

Train number

string

Optional cost center reference to be used by the booker.

string
required

The nonce associated to the payment merthod that will be used to charge the passenger's credit card. Most integrations should ignore this parameter unless explicitelly instructed by Karhoo on how to use it.

string

Train time

string

Loyalty Programme unique identifire that is returned along with the payment provider. Must be sent along with loyalty_points.

number

Number of Loyalty Points to burn with the booking. A loyalty_programa must be provided.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*