{"uid":"cap_U5otJHt9-IEo3aW4zQRTs","slug":"sys84-ink-agent-checkout-x402-payment-session-initiator-4af2ab7a","name":"SYS84 Ink Agent Checkout — x402 Payment Session Initiator","description":"Receipt-backed token, wallet, NFT and launch intelligence for humans and agents.","url":"https://api.sys84.org/v1/services/ink_agent_checkout?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","properties":{"pay_to":{"type":"string","description":"string optional merchant wallet, defaults to SYS84 wallet"},"resource":{"type":"string","description":"string optional paid resource URL"},"product_id":{"type":"string","description":"string product or service id"},"amount_usdc":{"type":"number","description":"number price to charge in USDC"},"description":{"type":"string","description":"string optional checkout description"}}},"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","properties":{"pay_to":{"type":"string","description":"string optional merchant wallet, defaults to SYS84 wallet"},"resource":{"type":"string","description":"string optional paid resource URL"},"product_id":{"type":"string","description":"string product or service id"},"amount_usdc":{"type":"number","description":"number price to charge in USDC"},"description":{"type":"string","description":"string optional checkout description"}}}}},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"settle_url":{"type":"string","description":"string facilitator settle URL"},"verify_url":{"type":"string","description":"string facilitator verify URL"},"checkout_id":{"type":"string","description":"string uuid"},"payment_requirements":{"type":"object","description":"object x402Version 2 requirements"},"payment_required_header":{"type":"string","description":"string base64 header value"}}}}}}},"responseSchema":{"type":"json","example":{"settle_url":"string","verify_url":"string","checkout_id":"string","payment_requirements":{},"payment_required_header":"string"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ipIx0PVI31AqiR29Ez8oC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates an x402-compliant payment checkout session for pay-per-call API access, returning settlement and verification URLs along with encoded payment requirements.","exampleAgentPrompt":"Create an x402 checkout session for product 'ink-analysis-v1' charging 0.002 USDC, with my merchant wallet 0xABC123... as the recipient and the description 'Ink chain risk report'.","exampleUseCases":[{"title":"Pay-per-call agent API billing","prompt":"Set up an x402 checkout for product 'chain-risk-scan' that charges 0.005 USDC per call and routes payment to my wallet 0xDEF456..., so my agent can get the payment requirements header to include in its API request."},{"title":"Gating a paid resource URL","prompt":"Create a payment session for my resource at https://api.sys84.org/v1/reports/survivor-evidence, charging 0.002 USDC, with checkout description 'Survivor evidence report access' — I need the settle and verify URLs back."},{"title":"Merchant checkout for custom product","prompt":"Generate an x402 payment checkout for product ID 'agent-risk-premium', set the price to 0.01 USDC, and use wallet address 0x789GHI... as the pay_to merchant — I need the checkout ID and the base64 payment_required_header."}],"resultDescription":"Returns a JSON object containing a UUID checkout_id, a settle_url for finalizing the payment, a verify_url to confirm payment status, a payment_requirements object conforming to x402 version 2, and a base64-encoded payment_required_header string suitable for inclusion in HTTP 402 responses.","failureModes":["Missing required 'product_id' or 'amount_usdc' — returns 400 with validation error","Invalid or malformed merchant wallet address in 'pay_to' — may cause settlement routing failure","Network or chain-layer unavailability — returns 5xx with no checkout session created","Zero or negative USDC amount — rejected as invalid pricing","Malformed resource URL — may return 400 or produce an uncallable settle URL"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate an x402-compliant payment session for micropayment-gated API access, especially when your agent or service needs to produce a 402 Payment Required response with encoded payment requirements. Prefer this over generic payment APIs when the consuming agent speaks the x402 protocol and you need USDC-denominated per-call billing with settlement and verification URL pairs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:33:45.939Z","isFirstParty":false,"canonicalSlug":"sys84-ink-agent-checkout-x402-payment-session-initiator-4af2ab7a"}