Get operation
get_operationGet one payment operation (QR or invoice) by id, with its current status: created, pending, paid, cancelled, expired or failed. A payment is confirmed ONLY when the operation status is "paid"; creating a QR or invoice does not mean it was paid. Also shows refunded_amount and failure_reason/failure_message. Amounts in whole tenge. Use to check one payment whose id you have; to find payments by status or date use list_operations. An unknown id returns a 404 not_found error.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation_id": "<operation_id>"
},
"name": "get_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation_id | Yes | Operation id returned by create_qr / create_invoice. |