payment_info
Retrieve payment details and status information, including review requirements for approval at app.fewsats.com when needed.
Instructions
Retrieve the details of a payment.
If payment status is needs_review inform the user he will have to approve it at app.fewsats.com
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes |
Implementation Reference
- src/fewsats_mcp/server.py:52-56 (handler)MCP tool handler function for 'payment_info'. It takes a payment ID (pid) and returns payment details by calling Fewsats().payment_info(pid) wrapped in handle_response.@mcp.tool() async def payment_info(pid: str) -> str: """Retrieve the details of a payment. If payment status is `needs_review` inform the user he will have to approve it at app.fewsats.com""" return handle_response(Fewsats().payment_info(pid))