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
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes |
Implementation Reference
- server.py:175-185 (handler)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)