PayphonePayphone
Api reference

Credit balance breakdown

Detailed credit buckets and optional subscription summary. **Auth:** Privy JWT or any valid API key (no extra scope).

Detailed credit buckets and optional subscription summary.

Auth: Privy JWT or any valid API key (no extra scope).

GET
/api/v1/account/credits
AuthorizationBearer <token>

Privy access token (dashboard sessions, ~1h TTL) or long-lived dial_live_* / dial_test_* API key minted from /dashboard/billing. API keys are scope-gated per route (sms:send, numbers:read, account:read, etc.); Privy sessions bypass scope checks. See /docs/api-reference/api-keys for the full scope catalogue.

In: header

Response Body

application/json

curl -X GET "https://payphone.wtf/api/v1/account/credits"
{
  "success": true,
  "credits": 0,
  "totalCredits": 0,
  "authMethod": "privy",
  "apiKeyPrefix": "string"
}
Empty