sap_x402_prepare_payment
Prepare a V1 x402 payment context for monetized agent workflows, specifying agent wallet, price per call, deposit, and optional terms. Deprecated for production escrow creation; prefer Escrow V2 tools.
Instructions
Prepare a V1 x402 payment context using SDK X402Registry.preparePayment. Deprecated by the SDK for production escrow creation; prefer Escrow V2 tools for new flows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deposit | No | Initial deposit amount as a decimal string | |
| maxCalls | No | Optional maximum number of calls covered | |
| expiresAt | No | Optional expiry timestamp in unix seconds | |
| tokenMint | No | Optional SPL token mint; omit/null for SOL | |
| agentWallet | No | Agent wallet public key (base58) | |
| volumeCurve | No | Optional array of { afterCalls, pricePerCall } pricing breakpoints | |
| pricePerCall | No | Price per call as a decimal string | |
| tokenDecimals | No | Optional token decimals | |
| networkIdentifier | No | Optional x402 network identifier written into headers |