Get the card-payment page for an approved ad
pay_adAfter DEBYTA approved your ad request with a price (status awaiting_payment in request_ad), this returns a checkout_url. A human opens it and pays by card. The ad starts automatically after payment. DEBYTA never stores card data.
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": {
"ad_id": "<ad_id>"
},
"name": "pay_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | ||
| agent_key | No | Your agent key from introduce_agent (or send it as Authorization: Bearer header). |