Huỷ phiên thanh toán
monapay_cancel_checkoutCancel a pending MONA Pay checkout to stop payment processing. Only pending sessions can be cancelled; paid, expired, or already cancelled checkouts are not affected.
Instructions
Huỷ checkout đang pending; checkout đã paid, expired hoặc cancelled không thể huỷ lại. / Cancel a pending checkout.
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": {
"checkout_id": "<checkout_id>"
},
"name": "monapay_cancel_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkout_id | Yes | ID phiên thanh toán | |
| idempotency_key | No | Khoá chống tạo trùng; bỏ trống để MCP tự sinh UUID |