Expire unpaid session (cancel payment link)
expire_sessionCancel an unpaid payment session to invalidate its payment URL. Use for mistakenly created or obsolete payment links.
Instructions
Invalidate an UNPAID session so its payment URL can no longer be paid. Use this to cancel a payment link that was created by mistake or is no longer needed. 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": "expire_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session id (acquiring or checkout) |