Create subscription
payments_create_subscriptionCreate a recurring subscription via UPI Autopay or card e-mandate across Indian gateways. Returns a checkout action the customer must complete to authorise the mandate.
Instructions
Create a recurring subscription (UPI Autopay / card e-mandate). Returns a checkout action the customer must complete to authorise the mandate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| customer | No | ||
| metadata | No | ||
| provider | Yes | Gateway id | |
| return_url | No | ||
| include_raw | No | Include the untouched provider response (verbose). | |
| total_count | No | Billing cycles (Razorpay requires it) | |
| provider_options | No | ||
| provider_plan_id | No | ||
| subscription_ref | Yes | Merchant reference: 3-40 chars, letters/digits/_/- | |
| provider_customer_id | No |