wavepay_subscribe
Open a subscription for a customer (needs a merchant key; a mk_test_ key previews it with fake money). collection=automatic charges a saved card or PayPal subscription; invoice_and_remind (default, and the only mode for mobile wallets) sends a payment request each period. Returns the first checkout to hand the buyer.
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": {
"productId": "<productId>",
"planId": "<planId>",
"provider": "<provider>",
"email": "<email>",
"externalSubject": "<externalSubject>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "wavepay_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| phone | No | ||
| planId | Yes | ||
| provider | Yes | ||
| productId | Yes | ||
| collection | No | ||
| idempotencyKey | Yes | ||
| externalSubject | Yes | Your own customer id; owns the entitlement. |