Activate Premium Session
sap_premium_activate_sessionActivates a pending premium session with a verified x402/pay.sh payment receipt. This tool is FREE — it does not charge x402. The paymentReceipt must be the actual Solana transaction signature (tx hash) from the x402 facilitator settlement, NOT "pending" or any placeholder. Flow: 1) sap_premium_session_start creates a pending session (free). 2) The x402 challenge is settled via the local bridge (sap_payments_call_paid_tool or direct facilitator payment) — the facilitator returns a tx signature. 3) Pass that tx signature as paymentReceipt to this tool. Do NOT pass "pending" — it will always be rejected and waste a tool call.
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 |
|---|---|---|---|
| sessionId | Yes | Premium session id returned by sap_premium_session_start. | |
| payerAddress | No | Optional Solana payer public key for audit binding. | |
| paymentReceipt | Yes | The Solana transaction signature (tx hash) from the x402 facilitator settlement. NOT "pending" — must be the real tx hash like "3ozKaRujGGymu3s9q67qfwfG21s2BpjJQ5zEEFCWen1u...". Get this by settling the payment challenge first, then pass the returned signature here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activation | Yes | Activation result with status, activatedAt, receiptBound, unitsQuota, and reason. |