Jetron TicketFluid
Checkout

Get an order

GET
/events/{slug}/orders/{reference}

Returns an order once payment is confirmed and its tickets and add-ons are issued. items is empty when only add-ons were bought. Use it on your callbackUrl page, with the reference from the query string. Until the order exists it returns 404: payment confirmation usually takes a few seconds, so retry every couple of seconds for up to a minute before telling the attendee to check their email. An unpaid or abandoned payment also returns 404. Buyer details are not returned; the TICKET_PURCHASED and ADDON_PURCHASED webhooks carry them.

Authorization

ApiKeyAuth
AuthorizationBearer <token>

Your public API key (e.g. jt_public_...) passed as a Bearer token.

In: header

Path Parameters

slug*string

The event's URL slug.

reference*string

The order reference, from the order response or the callbackUrl query string.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/events/string/orders/string"
{  "status": true,  "data": {    "reference": "string",    "status": "confirmed",    "total": 0,    "formattedTotal": "string",    "discount": 0,    "promoCode": "string",    "items": [      {        "sku": "98542ea5-499d-45d5-aeee-c88e05d1e84c",        "name": "string",        "quantity": 0,        "amount": 0,        "formattedAmount": "string"      }    ],    "addons": [      {        "addonId": "ed930881-3f27-4e25-9365-ff53ffbcfa14",        "name": "string",        "quantity": 0,        "amount": 0,        "formattedAmount": "string",        "status": "confirmed"      }    ],    "createdAt": "2019-08-24T14:15:22Z"  }}

Create an order (checkout) POST

Completes checkout for a held reservation. Echo the `reservationToken` as the `X-Device-ID` header and send the `quoteReference` from the reservation response. Free (zero-total) orders are fulfilled immediately and return `status: confirmed`; paid orders return `status: pending_payment` and a payment link in `checkoutUrl`. Both return the order's `reference`. After payment the attendee is redirected to your `callbackUrl` with `reference` in the query string. The redirect alone does not prove payment: confirm it with `GET /events/{slug}/orders/{reference}` or the `TICKET_PURCHASED` or `ADDON_PURCHASED` webhook. A duplicate order for the same reservation returns `409`.

Look up an attendee's tickets POST

Returns the tickets an email currently holds for your events, newest activity first. Tickets transferred away from the email are left out and tickets transferred to it are included. Refunded orders and invalidated tickets are left out. Requires the private key; call it from your server only, after verifying the attendee owns the email. `qrCode` is the value to render as the entry QR code. It is only present for `VALID` tickets. A `TRANSFER_PENDING` ticket cannot be scanned until the recipient accepts or the transfer is cancelled. When an event has Website & App Only turned on, its tickets stay locked until the event's Ticket Release Time before each ticket's date (7 days unless the organizer changes it). Until then the ticket is `LOCKED`, and `unlocksAt` says when its QR code becomes available. Fetch the ticket again after that time to get it. Each ticket's `addons` are the add-ons that came with it; their codes are left out while the ticket is `LOCKED` or `TRANSFER_PENDING`. Responses are sent with `Cache-Control: no-store`; do not cache them, because scans change ticket status live.