Fund Prepaid Payment Session
sap_payments_fund_prepaidHosted paid tool that creates a prepaid session. The x402 charge for this tool IS the funding deposit. After settlement, creates a prepaid credit session with the specified amount and per-call cost. Returns sessionId, remainingUsd, and expiresAt. Pass the returned sessionId as prepaidSessionId to sap_payments_call_paid_tool for future calls to bypass per-call 402 challenges (x402 Lifecycle Hooks grantAccess pattern).
SAP MCP execution guidance: Intent: local non-custodial payment/signing bridge. Pricing: paid value-action; preview cost and transaction effects before user confirmation. Routing: local sap_payments bridge. It may sign x402 payment payloads or user-approved transactions locally, and must never expose keypair bytes. Signer boundary: user-controlled local profile or external signer; OOBE hosted MCP remains non-custodial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttlHours | No | Session TTL in hours. Defaults to 24. | |
| amountUsd | Yes | Total USDC to deposit into the prepaid session. This amount is charged via x402 when calling this tool. | |
| perCallCostUsd | No | Cost deducted from the prepaid balance per granted call. Defaults to 0.015 USD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |