paymentMethods.get
Retrieve a specific payment method from Ryft using its unique identifier to access stored payment details for transactions.
Instructions
Get a Ryft payment method by id.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/tools/payment-methods.ts:25-30 (registration)Registration and implementation of the 'paymentMethods.get' tool. The handler is defined inline as an async function that calls client.get.
registerTool( 'paymentMethods.get', 'Get a Ryft payment method by id.', { id: z.string().min(1) }, async ({ id }) => client.get(`/payment-methods/${id}`), );