Billing
Get Billing Summary
Returns the caller's plan, subscription status, entitlements, AI credit wallet, and public catalog in one call. Entitlements (e.g. portfolio publishing) and the AI credit wallet are two independent systems — a plan can grant one, both, or neither depending on `productKey`. Session-authenticated only.
veriworkly-auth.session_token<token>
Internal session cookie for local development.
In: cookie
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/billing/me"{ "success": true, "message": "string", "data": { "plan": "FREE", "productKey": "ai_credits", "activeProductKeys": [ "string" ], "status": "string", "interval": "one_day", "currentPeriodEnd": "2019-08-24T14:15:22Z", "cancelAtPeriodEnd": true, "graceEndsAt": "2019-08-24T14:15:22Z", "canPublish": true, "eligibleForTrial": true, "accessEndsAt": "2019-08-24T14:15:22Z", "publicationStatus": "LIVE", "entitlements": [ "string" ], "credits": { "balance": 0, "reserved": 0, "lifetimeCredited": 0, "lifetimeDebited": 0, "nextExpiryAt": "2019-08-24T14:15:22Z", "nextExpiryCredits": 0, "updatedAt": "2019-08-24T14:15:22Z" }, "catalog": {}, "creditEconomics": {}, "addOns": [ { "key": "string", "name": "string" } ] }}