Void session (refund)
void_sessionCancel a paid or held session to release a hold or refund a charged payment, returning money to the customer. Confirm with the user before proceeding.
Instructions
Cancel a PAID or HELD session: releases a hold or REFUNDS an already charged payment — real money moves back to the customer. Confirm with the user before calling this on a paid session. For unpaid sessions use expire_session instead. NovaPay returns no body — check the result with get_session_status.
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": {
"session_id": "<session_id>"
},
"name": "void_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session id (acquiring or checkout) |