Standalone Checkout
Introduction
The Standalone Checkout is available for customers who are not using the imin Events API and are instead processing open data directly.
To enable authenticated Checkout, you must register your webhook with imin. This can be done by contacting your imin liaison.
Please only refer to this page if you are processing open data directly (as opposed to using imin's Events API).
Request
All bookable opportunities available in open data have an id
.
The id
from a ScheduledSession
within the open data is to be supplied as the id
contained within imin:initialOrder.orderedItem.orderedItem
in the initial request, along with the information contained within the following JSON:
Response
The response will reflect back the request, but will additionally contain a potentialAction
with a target
URL. The data consumer uses .potentialAction[0].target
as the URL of the "book" button for this opportunity.
If the bookable opportunity provided is available for you to book within the imin platform, the response JSON will include the URL for the Checkout:
If the opportunity is not available for you to book within the imin platform, the following response will be returned:
Last updated