paymentSessions.getTransaction
Retrieve a specific payment session transaction by providing its unique ID and transaction ID to access transaction details.
Instructions
Get a payment session transaction by id.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| transactionId | Yes |
Implementation Reference
- src/tools/payment-sessions.ts:153-161 (handler)Implementation of the 'paymentSessions.getTransaction' tool, which takes 'id' and 'transactionId' and executes a GET request to the payment session transaction endpoint.
registerTool( 'paymentSessions.getTransaction', 'Get a payment session transaction by id.', { id: z.string().min(1), transactionId: z.string().min(1), }, async ({ id, transactionId }) => client.get(`/payment-sessions/${id}/transactions/${transactionId}`), );