Billing
Billing overview
Your plan, trial, subscription, credits and the plans on sale.
Authentication
A signed-in session: the cookie from Log in. Changes also need the X-CSRF-Token header.
Response
200 OK
planobjectThe plan that applies now.
sourcestringsubscription, trial or free.
trialobject or nullstarted_at, ends_at and active.
subscriptionobject or nullplan, interval, status, paid_through, next_charge_at and more.
limitsobjectThe limits that apply now.
creditsobjectYour balance.
pending_checkoutobject or nullA payment you started and haven't finished.
plansarrayPlans and their prices.
checkout_availablebooleanWhether payments are switched on.
billing_profileobject or nullYour billing details.
test_modebooleantrue when payments use the Cashfree sandbox and no real money moves.
Errors
| Status | Code | What to do |
|---|---|---|
| 401 | unauthenticated | Log in first, or log in again. |