list_payment_methods
List saved payment methods for a client account with a vendor: card ID, type, brand, last 4, expiry, and default status. Use view='raw' for full billing details.
Instructions
List saved payment methods for your client account with a vendor: id, type, brand, last 4, expiry and whether it is the default. Empty array if none are saved. view="raw" returns the untrimmed records (billing name/address and Stripe references).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Response shape: "compact" (default) drops fields the response already carries elsewhere; "raw" returns the upstream payload unprojected. compact returns only the card-on-file fields; "raw" returns the untrimmed records, including billing name/address and Stripe references. | |
| origin | No | Portal origin (e.g. https://<vendor>.hbportal.co). Optional when only one session is active. |