Close Premium Session
sap_premium_close_sessionCloses an active premium session, stopping all stream and webhook delivery. Use this when the buyer wants to stop delivery before the unit quota is exhausted. No refund is issued — the session is simply closed.
SAP MCP execution guidance: Intent: SAP MCP tool workflow. Pricing: paid read-premium; estimate first, then use sap_payments_call_paid_tool when the runtime cannot replay x402 natively. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Human-readable reason for closing the session. | |
| sessionId | Yes | The active premium session id to close. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closed | Yes | Close result with sessionId, success boolean, and reason. |