Skip to main content
Glama

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
NameRequiredDescriptionDefault
idYes
transactionIdYes

Implementation Reference

  • 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}`),
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bkawk/ryft-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server