Skip to main content

Billing Snapshot and Portal

Read the plan, credit balance and purchase options, get a one-time payment portal link for a human, and ask for full workspace access from a trial workspace.

The billing snapshot shows the plan, balance, auto-reload settings and whether the workspace may buy credits directly. To buy credits, use GET /v1/billing/upgrade-link; to manage payment methods and invoices, get a one-time portal link a human opens. Nothing is paid through the API.

GET/v1/billing

cURL

curl -X GET https://api.talonic.com/v1/billing \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/billing/portal

cURL

curl -X POST https://api.talonic.com/v1/billing/portal \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/billing/request-access

cURL

curl -X POST https://api.talonic.com/v1/billing/request-access \
  -H "Authorization: Bearer $TALONIC_API_KEY"
Errors: 401 missing or invalid credential; 403 with a reason (insufficient_scope, insufficient_role, person_inactive, not_member, no_person, workspace_read_only, or STEP_UP_REQUIRED); 404 unknown id in this workspace; 429 rate limited (see Retry-After).