Connect billing integration
connect_billing_integrationConnect a billing provider so purchases, renewals, cancellations and refunds become events and contact revenue. Returns webhook_path (prefix with the API origin) to paste into the provider; secret is returned only if Runearc generated it (shown once). Errors: unknown_billing_provider, billing_already_connected. Next: send a test event from the provider, then list_billing_integrations to see last_event_at.
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": {
"provider": "<provider>"
},
"name": "connect_billing_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | No | The provider's webhook signing secret. Omit to have Runearc generate one. | |
| provider | Yes | stripe, paddle, lemonsqueezy, polar, revenuecat, adapty or shopify. |