Moshtix Developer Documentation

Moshtix Developer Documentation

  • Docs
  • API Playground
  • Terms Of Use
  • Need Help?

›Getting Started

Getting Started

  • Our API
  • Authentication
  • Queries
  • Mutations
  • Dates
  • Currency
  • Images
  • Errors
  • Webhooks
  • Widgets

Widgets

Checkout Widget

Our Checkout Widget can be used to bring the Moshtix checkout experience to authorised client websites, so that customers can purchase in a branded experience without leaving a client's website.

To implement the Checkout Widget on your website, you need to follow these simple steps:

Contact Moshtix client support and request the website domain be added to the 'allow checkout widget' settings for the relevant client account.

Add this script tag to the head of your website or at the section where all the scripts gets loaded on page.

<script src="https://www.moshtix.com.au/v2/Scripts/App/moshtix.embed.js" async="true"></script>

Use the showEvent function to launch the Checkout Widget on your website. The following example uses a button.

<button onclick="moshtix.showEvent({ eventId: '12345', skin: 'yourskin', ref: 'marketing-ref-code', offerCode: 'DISCOUNT10', country:'nz' });">Get Tickets</button>

Note that the skin, offercode, and ref parameters are optional, for country parameter enter 'nz' for New Zealand, it can be left blank for Australia and due to iframe security restrictions imposed by Apple, ApplePay is unavailable when purchasing with our Checkout Widget.

← Webhooks
  • Checkout Widget
Copyright © 2025 Moshtix Pty Ltd