Accept Offer
accept_offerACCEPTING SELLS TO A BUYER AND STARTS A CLOCK: the offer comes from a buyer on XP, not from XP. Once it's accepted, the seller must transfer the tickets through XP to that buyer by a deadline XP sets at that moment. Missing it can cancel the sale and forfeit the payout. The deadline is per sale, not a fixed window -- do not quote a countdown of your own. The accept result carries the real one, or says plainly when XP has not set it yet; pass that on. From XP's connected resale + primary order book. Two-phase write on the XP live offer book. Use when an authenticated seller wants to accept a specific bid on their listing (e.g. 'accept the $200 offer on my tickets'). Call with confirm=False first to preview which offer will be accepted; call with confirm=True only after the user explicitly approves. Acceptance is irreversible. Do not use without the two-phase preview-then-confirm flow. Only confirm=True submissions return success=true. Requires auth and write:listings scope. Do not use for casual ticket buyers; this is the seller-side and power-user marketplace surface. For standard ticket purchases, use search_events and get_ticket_listings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Required. True to accept the offer; False to preview without accepting. | |
| identifier | Yes | Public listing identifier from list_my_listings or get_my_listing_status. | |
| offer_uuid | Yes | Offer UUID from get_my_listing_status open_offers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||