Buy Listing at the Ask
buy_listing_nowFrom XP's connected resale + primary order book. Use when an authenticated buyer wants a fan listing outright at the seller's published asking price, rather than negotiating -- 'buy it now', 'take it at the ask', 'just buy me those tickets to the game'. Only listings that carry an asking price can be bought this way; for one without an ask, use make_offer_on_listing. Two-phase: confirm=false previews the total so it can be read back to the user, confirm=true buys. A confirm here completes the sale immediately -- the money leaves the caller's XP USDC balance and the seller is committed. Pays from the caller's XP USDC balance; the x402 rail does not apply to fan listings, only to buy_tickets. Requires auth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rail | No | How to pay. 'usdc' spends the caller's XP USDC balance. | usdc |
| confirm | No | False (default) previews. True buys at the seller's ask as it stands at confirm time. | |
| identifier | Yes | Listing identifier from list_open_listings or get_open_listing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||