Pay for a test
start_testPay for one option of a quote and open the test. The price is the option's ad budget in USDC on Base, paid over x402. Call it first without payment: the answer is an x402 payment request for the exact amount. Pay it with an x402 client and call again with the payment as payment (the base64 PAYMENT-SIGNATURE value). A person reviews every test before its ads run; a declined test is refunded in full. Use sandbox: true to try the whole flow on Base Sepolia with test USDC; a sandbox test runs no ads and moves through its states in minutes.
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": {
"quote_id": "<quote_id>"
},
"name": "start_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option | No | Which of the quote's options to pay for. Default signal. | |
| payment | No | The x402 payment, base64, as an x402 client creates it. Leave out to get the payment request. | |
| sandbox | No | Base Sepolia and test USDC; no ads run. Default false. | |
| quote_id | Yes | The quote_id from quote_test. Quotes hold for 30 minutes. | |
| webhook_url | No | A public https address told of every change, signed with the webhook_secret returned once. | |
| idempotency_key | No | Any string. Sending the same one again returns the same test and never charges twice. |