create_subscription
Create cardless subscriptions via manual Pix or migration. Idempotent by customer and offer.
Instructions
Cria uma assinatura SEM cartão (Pix manual ou migração). Idempotente por (cliente, oferta). Escopo write.
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": {
"external_id": "<external_id>",
"offer_slug": "<offer_slug>"
},
"name": "create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | ||
| name | No | ||
| No | |||
| phone | No | Obrigatório para Pix. | |
| activation | No | ||
| offer_slug | Yes | ||
| coupon_code | No | ||
| external_id | Yes | ||
| collection_method | No | ||
| current_period_end | No | Migração: assinatura já paga; a ribbo assume na renovação. |