{
  1. Introduction
  2. Version Control
  3. Ticket Shop Api
    1. Authentication
    2. Event
      1. Calculation Of Fees
    3. Discount Codes
    4. Calendar
      1. Time Slots Year Month
      2. Time Slots Year Month Day
    5. Reservation
      1. Create Reservation
      2. Update Reservation
    6. Checkout

Create Checkout

Create a checkout for a reservation, so you can finish the order.

POST https://api.cmtelecom.com/ticketingapi/v1.0/ticketshop/events/{event_uuid}/reservations/{order_id}/checkout?key=KEY123

POST Parameters

Type Name Description Required Example
Header X-CM-PRODUCTTOKEN The product token. True 00000000-0000-0000-0000-000000000000
Header Content-Type The content type which the application expects. True application/json
Path Variable event_uuid The UUID of an event can be retrieved from the Ticketing Dashboard. True 00000000-0000-0000-0000-000000000000
Path Variable order_id The id of an reservation can be retrieved from the create reservation end-point. True CMTICKETS123XX
Query Parameter key In some cases, an organiser wants to lock the ticket store. This can be done with our access key option. The end user has a key to unlock the ticket store. In the case the access keys are activated, the key needs to be send to our API. False KEY123
Body Checkout Object The checkout to make (JSON object.) True Reservation Object

Request: Checkout Object

{
    "order_id": "CMTICKETS123XX"
    "payment_method_uuid": "00000000-0000-0000-0000-000000000000",
    "ideal_issuer_id" : "XXXXXXXX",
    "callback_urls" : {
        "success_url": "https://{host}//success",
        "failed_url": "https://{host}//failed",
        "cancelled_url": "https://{host}/cancelled",
        "expired_url": "https://{host}/expired"
    }
}

Response

Http status Description Example
201 Successful operation Checkout Confirmation Object
400 Bad request Info Message

Response: Reservation Object

{
    "order_id": "CMTICKETS123XX"
    "due_at": "2018-12-24T13:34:07+00:00",
    "status" : "OPEN",
    "redirect_url": "https://{paymentmethod}/{transaction}"
}