paymentMethods.delete
Remove a stored payment method from the Ryft payment system by specifying its unique identifier to manage financial resources securely.
Instructions
Delete a Ryft payment method.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/tools/payment-methods.ts:55-60 (handler)The handler for 'paymentMethods.delete' which calls the Ryft API to delete a payment method by ID.
registerTool( 'paymentMethods.delete', 'Delete a Ryft payment method.', { id: z.string().min(1) }, async ({ id }) => client.delete(`/payment-methods/${id}`), );