{"uid":"cap_XitiS_Mtb3zgWE-5iHDMs","slug":"markdown-page-mpp-plan-purchase-8c29e181","name":"markdown.page MPP Plan Purchase","description":"Without payment credentials, returns HTTP 402 with an MPP WWW-Authenticate challenge. Retry with Authorization: Payment ... after payment.","url":"https://api.relai.fi/relay/1781260916303/api/featured/mpp/purchase/{plan}?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oYkP97Y3RZ68V0jWsS802","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a featured plan on markdown.page via the x402 micropayment protocol, returning a paid plan confirmation.","exampleAgentPrompt":"Purchase the featured plan on markdown.page for me — use the x402 micropayment flow with USDC to activate the plan called 'pro'.","exampleUseCases":null,"resultDescription":"On successful payment, returns a confirmation of the purchased plan including subscription details and activation status. Without valid payment credentials, returns HTTP 402 with a WWW-Authenticate MPP challenge header indicating how to proceed with payment.","failureModes":["HTTP 402 returned when no Authorization: Payment header is provided — must complete x402 payment handshake first","Invalid plan identifier in path returns 404 or similar error","Payment token expired or invalid returns 401 or 402","Insufficient USDC balance causes payment failure","Plan already active may return conflict or duplicate purchase error"],"whenToPreferThis":"Use this endpoint when you need to programmatically purchase a featured plan on markdown.page using the x402 micropayment protocol with USDC. Prefer this over manual web checkout when automating subscription activation or integrating plan purchases into an agentic workflow that already handles x402 payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:39:23.916Z","isFirstParty":false,"canonicalSlug":"markdown-page-mpp-plan-purchase-8c29e181"}