list_payment_methods
Retrieve saved payment methods for a client account with a vendor, including card type, brand, last four digits, expiry, and default status. Returns an empty array when none are saved.
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. |