Hanzo
OpenapiBilling

Cards and accounts on file for the caller — GET /v1/billing/portal/methods

Answers every payment method the caller has saved, newest first.

GET /v1/billing/portal/methods

Addresshttps://api.hanzo.ai/v1/billing/portal/methods
MethodGET
Operationget_billing_portal_methods
AuthAuthorization: Bearer $HANZO_API_KEY

Answers every payment method the caller has saved, newest first.

A saved method is a card or account VAULTED at the processor: what is stored here is the processor's token for it plus the last four digits and the expiry a customer recognises it by, never a card number.

The list is the caller's OWN — the wallet this request bills from, resolved server-side — so a query cannot widen it to another customer of the same org.

/v1/billing/portal/methods answers the same list under the name a hosted checkout addresses it by. One set of rows, two spellings; a card added at either is present at both.

A store that cannot be read answers an EMPTY LIST rather than a failure: the saved-cards panel renders empty instead of breaking the page around it.

Request

GET /v1/billing/portal/methods takes no parameters and no body — the credential is the whole request.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo billing portal methods list

Billing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page