Billing

Billing overview

Your plan, trial, subscription, credits and the plans on sale.

GET/v1/billing

Authentication

A signed-in session: the cookie from Log in. Changes also need the X-CSRF-Token header.

Response

200 OK

planobject

The plan that applies now.

sourcestring

subscription, trial or free.

trialobject or null

started_at, ends_at and active.

subscriptionobject or null

plan, interval, status, paid_through, next_charge_at and more.

limitsobject

The limits that apply now.

creditsobject

Your balance.

pending_checkoutobject or null

A payment you started and haven't finished.

plansarray

Plans and their prices.

checkout_availableboolean

Whether payments are switched on.

billing_profileobject or null

Your billing details.

test_modeboolean

true when payments use the Cashfree sandbox and no real money moves.

Errors

StatusCodeWhat to do
401unauthenticatedLog in first, or log in again.