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).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_payment_methods"
}
}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. |