create_subscription
Set up recurring billing from a one-time payment token, with automatic charges on a defined interval and schedule.
Instructions
Create a recurring subscription. Requires a token from a previous payment. Charges automatically on schedule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Subscriber email for receipts | ||
| Token | Yes | Recurring token from a previous payment (Transaction.Token) | |
| Amount | Yes | Charge amount per period | |
| Period | Yes | Billing interval length (e.g. 1 Month = monthly, 7 Day = weekly) | |
| Currency | No | Currency (RUB, USD, EUR, etc.) | RUB |
| Interval | Yes | Billing interval unit | |
| AccountId | Yes | User identifier in your system | |
| StartDate | Yes | First charge date (ISO 8601, e.g. 2026-05-01T00:00:00) | |
| MaxPeriods | No | Max number of billing periods (optional, unlimited if omitted) | |
| Description | Yes | Subscription description | |
| RequireConfirmation | No | true = two-step charges (auth then confirm) |