List saved payment methods
Alpha
GET
https://api.voxrouter.ai/v1/billing/methodsList 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
AuthorizationstringRequiredBearer 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[]RequiredErrors
Non-2xx responses return a JSON body with a machine-readable error code and an optional details string.
| Status | Meaning |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | The 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. |
| 503 | Stripe not configured on this deployment. |