Checkout tickets
Creates a payment session for one or more tickets. Supplements are optional: send supplement_id per add-on and optionally quantity. Prices and service charge come from the ticket rate. Duplicate supplement_id entries are collapsed and quantities summed. Paid supplements with purchase_limit.min_quantity are added automatically when omitted; if quantity is below min it is raised to min (max is still enforced). Free supplements (price 0) are added automatically when omitted (purchase_quantity 1, product_quantity from the rate). Only one free supplement type is allowed per ticket.
Authorizations
Body
URL to redirect the user after the checkout.
"https://app.yourwebpage.com/checkout/internal-id/success"
URL to redirect the user if the checkout fails.
"https://app.yourwebpage.com/checkout/internal-id/error"
Ticket rate id of a ticket.
"5f8d0f8b9d2b3b0017b6d8a0"
If the resources (tickets in that case) should be sent via email (and Whatsapp if is enabled) by Fourvenues.
true
Metadata to be stored in the ticket. Max 1kb.
{ "key": "value" }Discount code of a ticket.
"DISCOUNT_CODE"
Response
OK