{"uid":"cap_Ftk6ohTnHx5K9mNzQj8lx","slug":"scanpay-session-deposit-8b379113","name":"ScanPay Session Deposit","description":"Deterministic AST code security scanner with x402 Solana micropayments, remote MCP, and ERC-8183 Evaluator oracle.","url":"https://scanpay-ob3w.onrender.com/api/v1/session/deposit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["deposit_tx"],"properties":{"deposit_tx":{"type":"string","description":"Signature or transaction hash of the deposit payment"}}},"responseSchema":{"type":"json","example":{"expires_at":"2026-12-31T00:00:00Z","session_id":"sess_abc123","credits_remaining":10}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.85","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.85/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.85","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.85","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-m_YNnTlgBsZMqh0hDOHI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.85","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Registers a completed Solana deposit transaction to create an authenticated session with credits for code security scanning","exampleAgentPrompt":"I just sent 0.85 USDC on Solana to deposit into ScanPay — here's my transaction signature: 5Kj8mNqPx... — can you submit that to register my session and get me my scan credits?","exampleUseCases":[{"title":"Activate scan credits after payment","prompt":"I completed a Solana payment to ScanPay with transaction hash 3xFzLmQ9rT2... — please register that deposit so I can start scanning my smart contract code."},{"title":"Automated agent pre-scan deposit","prompt":"Before running a security audit on my Solana program, go ahead and register this deposit transaction signature '4aKwYv8nBz...' with ScanPay to get the session credits we need."},{"title":"Check remaining credits after top-up","prompt":"I topped up my ScanPay balance with a new Solana deposit — transaction ID is 7pLqXr1mDs... — can you register it and tell me how many scan credits I have left and when the session expires?"}],"resultDescription":"Returns a session object containing a unique session_id for subsequent scan API calls, the number of credits_remaining available for scans, and an expires_at ISO timestamp indicating when the session becomes invalid.","failureModes":["Invalid or unrecognized transaction signature returns an error or zero credits","Transaction not yet confirmed on-chain results in deposit not recognized","Duplicate submission of the same transaction hash may fail or return existing session","Expired or revoked transaction hash not accepted","Missing deposit_tx field returns 400 validation error"],"whenToPreferThis":"Use this endpoint immediately after completing a Solana USDC payment to ScanPay to convert that on-chain transaction into an active scanning session. This is the required first step before calling any code analysis endpoints — without a valid session ID from this deposit registration, scan calls will be rejected.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:34.427Z","isFirstParty":false,"canonicalSlug":"scanpay-session-deposit-8b379113"}