reissue_order_token
Regenerate a checkout URL token for an existing cryptocurrency payment order to restore access to payment completion.
Instructions
Reissue checkout URL token for an existing order.
Args:
order_id: The order ID to reissue token for
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes |
Implementation Reference
- server.py:216-226 (handler)Handler function decorated with @mcp.tool(), which registers and implements the reissue_order_token tool. It sends a POST request to the Infini API to reissue the token for the given order_id and returns the JSON response as a string.@mcp.tool() def reissue_order_token(order_id: str) -> str: """ Reissue checkout URL token for an existing order. Args: order_id: The order ID to reissue token for """ data = {"order_id": order_id} result = client.request("POST", "/order/token/reissue", json_data=data) return str(result)