Create campaign checkout
create_campaign_checkoutCreate a Stripe checkout for the exact campaign and total the buyer reviewed. Open the returned checkoutUrl to complete payment. The campaign is booked after the verified native Stripe payment webhook.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"advertisementId": "<advertisementId>",
"idempotency_key": "<idempotency_key>",
"reviewedSubtotalUsd": "<reviewedSubtotalUsd>",
"reviewedAmount": "<reviewedAmount>",
"reviewedCurrency": "<reviewedCurrency>",
"reviewedSelection": "<reviewedSelection>"
},
"name": "create_campaign_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | No | ||
| quoteIds | No | ||
| bookingIds | No | ||
| reviewedAmount | Yes | Exact amountMinor from prepare_campaign_booking, in the currency minor unit. | |
| advertisementId | Yes | Native campaign ID returned by save_campaign_draft. | |
| idempotency_key | Yes | Stable unique key for this action. Reuse this key and unchanged arguments when retrying. | |
| providerLineIds | No | ||
| reviewedCurrency | Yes | Exact currency from prepare_campaign_booking. | |
| reviewedSelection | Yes | Exact native reviewedSelection from prepare_campaign_booking; binds the reviewed inventory, flight, quantities and targeting. | |
| reviewedSubtotalUsd | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| checkoutUrl | No | ||
| advertisementId | No |