customers.listPaymentMethods
Retrieve stored payment methods for a Ryft customer to manage billing and payment options.
Instructions
List stored payment methods for a Ryft customer.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/tools/customers.ts:67-72 (handler)Registration and handler implementation for customers.listPaymentMethods tool.
registerTool( 'customers.listPaymentMethods', 'List stored payment methods for a Ryft customer.', { id: z.string().min(1) }, async ({ id }) => client.get(`/customers/${id}/payment-methods`), );