/completeReservation

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

Description:

With this functionality you will be able to complete a 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.
Clients

Museum name:Required as of:
Van Gogh Museum
Madame Tussaud Amsterdam
Amsterdam Dungeon
01-01-2019
01-01-2023
01-01-2023

HMAC calculation
Base64 encode - SHA256(apiKey + customerEmailAddress + customerFirstName + customerSurname + environment + reservationId + userId)

  • Sort the sign data alphabetical ascending, you can also find the sequence on the concerned API specification page.

Please note: optional fields only needs to be included when an optional field is used.

Body Params
string
required

Your public apiKey needs to be included in every request.

string
enum
required

"test" or "production"

Allowed:
int32
required

The userId is a reference to the user (museum / attraction). The userId can be requested via getAvailableUsers and can be cached in your application.

int32
required

Include the reservationId from the createReservation request.

string

Firstname of the customer. (please read "Contactinfo required" below)

string

Surname of the customer. (please read "Contactinfo required" below)

string

Emailaddress of the customer. (please read "Contactinfo required" below)

string
required

The HMACKey is calculated based on the input fields.

Responses

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