list_payments
Retrieve a list of payments with pagination or fetch a specific payment by ID. Includes payment statuses: active (1), draft (2), failed (3), refunded (4).
Instructions
List payments or retrieve a specific payment by ID. Payment statuses: ACTIVE=1, DRAFT=2, FAILED=3, REFUNDED=4.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_payments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional payment ID to retrieve a specific payment | |
| page | No | Page number for pagination | |
| per_page | No | Number of results per page |