Skip to content

Receiving Confirmed Reservations from SPS

Callback

When calling /v1/initiate you supply a full URL in the callback field. SPS will call this endpoint with the session token. You should use the token to look up order data and process it by storing the confirmation number and other order metadata to render a confirmation page to the end user.

Callback Response Format

Callback URL's should respond with a JSON response with the following shape:

Success

{
    "status": 1,
    "url": "https://full.url.to.redirect.confirmation.page"
}

Failure

{
    "status": 0
}