Verticals
Entertainment
Provider-specific behavior for the entertainment vertical, including party_size as ticket quantity.
"vertical": "entertainment"StubHubOTP
termAn event, team, artist, or venue, e.g. "The Weeknd", "Hamilton".lifecycleSearch returns each event's ticket listings in metadata.sections, each with a listing_id, section, row, seats, price and quantity. Pick one and pass its listing_id in metadata when booking; that targets the exact ticket, so no price cap is needed. party_size is the ticket quantity and customer.email is used for delivery. StubHub guest checkout can then stop for two actions, each returned as requires_action: a verification code sent to the buyer's phone or email (next_action.type "otp"), and card details (next_action.type "payment"). Send the card up front in metadata.payment and the card step is answered from it; a re-prompt for a corrected card still comes back to you. Submit each to /continue; always check next_action.type and send the matching body until status is confirmed. Purchased tickets cannot be cancelled through Ophelia.