Create a plan
create_planCreates a recurring billing plan with a set amount charged every interval count and unit, so you can subscribe customers to it.
Instructions
Create a plan.
Create a plan: an amount billed every interval_count × interval (for example every 3 months). Subscribe customers to it with POST /api/v1/subscriptions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| amount | Yes | Amount per period in kobo | |
| interval | Yes | ||
| metadata | No | ||
| description | No | ||
| interval_count | No | Bill every N intervals (e.g. 3 months) | |
| idempotency_key | No | Optional. A unique key for this request; retrying with the same key returns the original result instead of acting twice. One is generated if omitted. |