buy_now
Purchase a dataset from the DataBazaar marketplace in one step. Free datasets need no payment method; paid datasets charge via Stripe Checkout to complete the sale.
Instructions
Authorize a one-time purchase of a dataset on the DataBazaar marketplace. Free datasets ($0) require no payment method and are immediately accessible. Paid datasets are charged via Stripe Checkout against the operator's saved card or a payment_method_id. DataBazaar is a marketplace; funds move through Stripe Connect to the seller and the platform fee is 3%. Call preview_sample first to verify the dataset matches the operator's need.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes | The dataset ID to purchase | |
| payment_method_id | No | Stripe payment method ID (pm_...). Not needed for free ($0) datasets. Optional for paid datasets if a default card is saved for this operator. |