cURL
curl --request POST \ --url https://api-sandbox.pavewaygroup.com/v1/subscriptions/plans \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "code": "<string>", "amount": 123, "currency": "<string>", "billing_cycle": "<string>", "trial_days": 123 } '
{ "status_code": 200, "data": { "id": "658dc...", "name": "Silver Monthly", "code": "silver_v1", "amount": 5000, "currency": "XAF", "billing_cycle": "monthly" } }
Manage recurring billing tiers and pricing structures.
POST /subscriptions/plans
silver_v1
XAF
NGN
USD
daily
weekly
monthly
quarterly
yearly
GET /subscriptions/plans
DELETE /subscriptions/plans/{id}