Functionality to complete the reservation.

Please note:
By calling this function you have confirmed the purchase of the tickets. The tickets will be billed by the relevant user (museum) in the production environment.
Tickets from the TEST environment are not valid at the museum.

Contactinfo required

for some clients it is mandatory to add contact info to this request.
Below is the list of clients where this information is required.


The VanGogh Museum Required as of 01-01-2019.


HMAC calculation
apiKey + customerEmailAddress + customerFirstName + customerSurname + environment + reservationId + userId
Please note: optional fields only needs to be included when an optional field is used.


Name Datatype Description
apiKey String Your public apiKey needs to be included in every request.
environment Enum "test" or "production"
userId Integer The userId is a reference to the user (museum / attraction). The userId can be requested via getAvailableUsers and can be cached in your application.
reservationId Integer Include the reservationId from the createReservation request.
customerFirstName String (optional) Firstname of the customer. (please read "Contactinfo required" below)
customerSurname String (optional) Surname of the customer. (please read "Contactinfo required" below)
customerEmailAddress String (optional) Emailaddress of the customer. (please read "Contactinfo required" below)
HMACKey String The HMACKey is calculated based on the input fields.


Name Datatype Description
success Boolean Indicates if the request was successfully executed.
Array with ticket barcodes
Name Datatype
barcode Number
ticketTypeId Integer

JSON input example


JSON output example