Skip to main content
Glama
yanboishere

Infini Payment MCP Server

by yanboishere

get_payment_order

Retrieve cryptocurrency payment order details by order ID to manage USDC/USDT transactions and verify payment status.

Instructions

Get payment order details by order ID.

Args:
    order_id: The order ID to query

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idYes

Implementation Reference

  • The main handler function for the 'get_payment_order' MCP tool. It takes an order_id parameter, makes a GET request to the Infini API /order endpoint, and returns the result as a string. Registered automatically via the @mcp.tool() decorator.
    @mcp.tool()
    def get_payment_order(order_id: str) -> str:
        """
        Get payment order details by order ID.
        
        Args:
            order_id: The order ID to query
        """
        params = {"order_id": order_id}
        result = client.request("GET", "/order", params=params)
        return str(result)

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/yanboishere/infini-mcp'

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