Skip to main content

Endpoint

Headers

string
required
Your public API key.
string
required
Your API secret. Use a stl_test_... value in sandbox, stl_live_... in production.
string
required
Your business ID.

Request body

string
required
The billing amount for the subscription, in kobo.
string
A name for the subscription package, e.g. "Pro Plan".
string
The billing interval. Expected values may include "monthly", "weekly", or "daily".
TODO — Confirm the exact accepted values for interval before publishing.

Response

boolean
true on success.
string
Confirmation message.

Code examples

Example response