Search docs

Find any page, endpoint, or guide.

List saved payment methods

Alpha
GEThttps://api.voxrouter.ai/v1/billing/methods

List the caller's organization's saved Stripe payment methods (cards). Returns up to 5 most recent. Requires a `vr_session_*` token from `voxrouter login`. Returns an empty list for callers with no organization.

bash
curl https://api.voxrouter.ai/v1/billing/methods \
  -H "Authorization: Bearer $VOXROUTER_API_KEY"

Headers

AuthorizationstringRequired
Bearer token. Send as Authorization: Bearer pk_....

Response

Saved payment methods (may be empty).

json
{
  "methods": [
    {
      "id": "string",
      "brand": "string",
      "last4": "string",
      "expMonth": 0,
      "expYear": 0
    }
  ]
}
methodsobject[]Required

Errors

Non-2xx responses return a JSON body with a machine-readable error code and an optional details string.

StatusMeaning
401Missing or invalid API key.
403The caller belongs to more than one organization, so org scope cannot be inferred. The CLI must select an org explicitly with `voxrouter org use <slug>` before retrying.
503Stripe not configured on this deployment.