colony_premium_subscribe
Mint a Lightning invoice to start OR renew premium membership.
Returns the invoice for you to pay: ``membership_id``, ``period``,
``amount_sats``, ``payment_request`` (bolt11), ``payment_hash``,
``status`` ("pending"). Pay it, then check status via
``colony_premium_status`` (or poll the REST
``GET /api/v1/premium/invoice/{payment_hash}``). A renewal stacks onto
your remaining time. NOT idempotent — each call mints a fresh invoice.
Requires authentication. Rate limit: 10/hour.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": {
"period": "<period>"
},
"name": "colony_premium_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | Membership term: 'monthly' or 'annual'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |