Get payment accounts
get_payment_accountsRetrieve masked cards and bank accounts on file for a client. Use to diagnose autodebit failures or identify expired cards.
Instructions
Cards and bank accounts a client has on file (masked: last4, type, expiry, holder name, gateway reference). Never returns full numbers. Wraps Accounts.getAllCcByClient and Accounts.getAllAchByClient. Useful for autodebit failures and expired cards.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"client_id": "<client_id>"
},
"name": "get_payment_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes |