API & Webhooks

Stable endpoints to manage plans and subscriptions.

POST /api/plans
GET  /api/plans/:id
POST /api/checkout
POST /webhooks/payments

Error codes: EPLAN_INVALID, ECUSTOMER_DENIED, EINSUFFICIENT_ALLOWANCE, ENOT_DUE