A ticket is created when someone RSVP's or purchases a ticket to your event.
The ticket.created webhook returns the following properties
| Property | Type | Description |
|---|---|---|
| name | string | The person who purchased. |
| string | The email of the person who purchased. | |
| eventStart | string | An ISO-8601 timestamp of when the event was advertised to start when the ticket was created. |
| eventEnd | string | An ISO-8601 timestamp of when the event was advertised to end when the ticket was created. |
| eventTitle | string | The title of the event |
| repeatId | string | null | The ID of the particular repeat if it is a recurring event. |
| subtotal | integer | null | The total cost (in pence) of the tickets before anything else is added such as coupons or tax. |
| total | integer | null | The total cost (in pence) of the tickets after anything else is added such as coupons or tax. |
| currency | string | null | The three letter ISO code of the currency used for the transaction. |
| couponDiscountAmount | integer | null | The amount (in pence) that was discounted because of a coupon. |
| taxAmount | integer | null | The percentage that was added due to tax. |
| taxName | string | null | The name of the tax added. |
| shopifyOrderId | integer | null | The Shopify order ID associated with the purchase if the purchase was made through the Shopify checkout system. |
| createdAt | integer | null | An ISO-8601 timestamp of when the ticket was created. |
| purchases | array of objects | An ISO-8601 timestamp of when the ticket was created. |
| ↳ purchases.quantity | integer | The number of this ticket type that was purchased. |
| ↳ purchases.ticketType | object | The number of this ticket type that was purchased. |
| ↳ purchases.ticketType.name | string | The name of the ticket type. |
| ↳ purchases.ticketType.cost | string | The cost of a single ticket type in pence. |
| coupon | object | null | The coupon that was part of the ticket purchase if there was one. This is a reference object and will change if the coupon it is referencing changes. |
| ↳ coupon.id | integer | The id of the coupon. |
| ↳ coupon.code | string | The code that is used to add the coupon to a ticket purchase. |
| ↳ coupon.type | string | Will either be 'Fixed' or 'Percentage'. |
| ↳ coupon.amountOff | integer | If the coupon type is 'Fixed' then this values shows the amount it discounts in pence. |
| ↳ coupon.percentOff | integer | If the coupon type is 'Percentage' then this values shows the percentage it discounts. |
| stripeCharge | object | null | A object representing the Stripe data for the purchase. Only present if there is a Stripe purchase associated with the ticket. |
| ↳ stripeCharge.id | string | The Stripe charge id. |
| ↳ stripeCharge.receiptUrl | string | The stripe charge receipt url. |
| formFields | array of objects | null | Any custom fields that were added to the form and their values upon creation of the ticket. |
| ↳ formFields.value | string | The value that was typed into the field upon submission. |
| ↳ formFields.name | string | The name of the field. |