{"uid":"cap_npqMPKK96WHZuLSaEv36k","slug":"scanpay-session-deposit-93b47c54","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/v2/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_uVQIFDDvV1PyqKjXQo92p","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 payment transaction to create or top up a ScanPay session with credits for subsequent code security scanning calls","exampleAgentPrompt":"I just sent the Solana payment for ScanPay and got transaction signature 5J3kLm...XqZ — can you register that deposit so I get a session ID and scan credits?","exampleUseCases":[{"title":"Activate first ScanPay scanning session","prompt":"I completed the $0.85 USDC Solana micropayment for ScanPay — the transaction hash is 4xRvT9abcXYZ. Register it so I can start scanning my code for security issues."},{"title":"Reload credits after session expires","prompt":"My ScanPay session ran out of credits, so I made another deposit. The Solana tx signature is 2bNpQ7defGHI — please submit that to top up my session."},{"title":"Automated CI pipeline payment registration","prompt":"Our CI bot just paid for a ScanPay scan job via x402 and got back transaction signature 9mKwS3ghiJKL. Register the deposit so we can retrieve a session ID and proceed with the AST security scan."}],"resultDescription":"Returns a JSON object containing a unique session_id (e.g. sess_abc123) that can be used for subsequent scan requests, an expires_at ISO 8601 timestamp indicating session validity, and a credits_remaining integer showing how many scan calls are available under this session.","failureModes":["Invalid or malformed transaction signature returns error — session not created","Transaction not yet confirmed on-chain causes rejection","Duplicate deposit submission may fail if already registered","Expired or rolled-back transaction hash results in no session grant","Missing deposit_tx field returns 400 validation error"],"whenToPreferThis":"Use this endpoint immediately after completing an x402/Solana micropayment to ScanPay, in order to exchange the payment proof for a session credential. This is the required first step before calling any code scanning endpoints — without a valid session_id obtained here, scan requests will be rejected. Prefer this over alternatives when operating in a pay-per-use, agent-driven pipeline where credits are purchased on demand rather than via a subscription API key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:36:56.302Z","isFirstParty":false,"canonicalSlug":"scanpay-session-deposit-8b379113"}