buy_now
Purchase an eBay Buy It Now listing instantly by confirming the exact price and item ID.
Instructions
Purchase a Buy It Now listing immediately at the listed price.
Trading API PlaceOffer with Action=Purchase. The buyer commits to pay the listing's BIN price; eBay creates the order on success.
PRODUCTION HOST WARNING: when the active host is "production", a successful call commits real money on eBay. Inspect server_info() or list_hosts() before committing.
Args: item_id: numeric eBay item ID. Get from search() or get_item(). confirm_amount: must equal the listing's Buy-It-Now price exactly. The repeated dollar amount is a safety gate against stale prices or typos. Look up the current price with get_item() right before calling. quantity: number of units to purchase (default 1). Multi-quantity BIN listings can have a per-buyer limit; eBay rejects with TradingApiError if violated. currency: ISO currency code matching the listing (default "USD"). max_bid_override: optional ceiling that authorizes amounts above the $500 per-call safety cap. Pass a value >= confirm_amount to bypass the cap for this call. host: configured host name. Defaults to default_host.
Returns: On success: dict with host, item_id, action="Purchase", amount, currency, quantity, placed=True, and (on production) a warning. On safety-gate failure: structured refusal payload. Raises ValueError / TradingApiError as in place_bid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| confirm_amount | Yes | ||
| quantity | No | ||
| currency | No | USD | |
| max_bid_override | No | ||
| host | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||