Create Plan

Create a plan that can be used to create subscriptions.

-H "x-api-key: your_secret_key"
POST {{host}}/v1/plans

Request Body

FieldData TypeRequiredDescription
namestringYesPlan name.
descriptionstringYesPlan description.
intervalstringYesBilling interval. Allowed values: daily, weekly, monthly, quarterly, biannually, annually.
amountnumberYesPlan amount in major currency units.
localCurrencystringYesCustomer billing currency. Supported collection currencies: NGN, KES, ZAR, GHS, XOF, USD.
amountCurrencystringNolocal or settlement. Defaults to local.
settlementCurrencystringNoSettlement currency. If omitted, Kyshi uses your business settlement account currency.
limitnumberNoOptional plan limit.
hostedPagebooleanNoWhether to use a hosted page. Defaults to false.
sendSmsbooleanNoWhether to send SMS notifications. Defaults to false.
sendInvoicesbooleanNoWhether to send invoices. Defaults to false.
{
  "name": "Starter",
  "description": "Monthly starter subscription",
  "interval": "monthly",
  "amount": 5000,
  "localCurrency": "NGN",
  "amountCurrency": "local",
  "hostedPage": true,
  "sendInvoices": true
}
{
  "status": true,
  "message": "Success",
  "code": 201,
  "data": {
    "id": "4c4a6413-3f0f-4bc6-97d8-c8f1a8516361",
    "name": "Starter",
    "description": "Monthly starter subscription",
    "interval": "monthly",
    "amount": 5000,
    "settlementAmount": null,
    "settlementCurrency": null,
    "code": "PLN_abc123",
    "mode": "live",
    "hostedPage": true,
    "sendSms": false,
    "sendInvoices": true,
    "isActive": true,
    "createdAt": "2026-05-20T10:15:00.000Z"
  }
}