{"uid":"cap_Ll-yI8sDAwPVvLD8ZoNsx","slug":"stablemerch-ucp-checkout-session-complete-1543515a","name":"StableMerch UCP Checkout Session Complete","description":"Pay for a StableMerch UCP checkout session and send its prepared Printify order to production. Requires checkout status ready_for_complete.","url":"https://stable-merch-git-rfs-checkout-nites-merit-systems.vercel.app/api/ucp/checkout-sessions/stablemerch%3Acheckout%3Acmqirx483000akv04fiqi4lh7/complete","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"UCP checkout session ID being completed. AgentCash clients may instead send checkout_session_id."},"payment":{},"checkout_session_id":{"type":"string","minLength":1,"description":"AgentCash checkout session ID being completed. UCP clients may instead send id."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"50","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":"$50/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"50","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"50","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8s3aqLyp91SwfNGzpzpar","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"50","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Finalizes a ready-for-complete StableMerch UCP checkout session by processing a $50 USDC payment and submitting the prepared Printify merchandise order to production.","exampleAgentPrompt":"My StableMerch checkout session cmqirx483000akv04fiqi4lh7 is ready to complete — go ahead and pay the $50 USDC and send the Printify order to production.","exampleUseCases":[{"title":"Automated merch order fulfillment","prompt":"My StableMerch checkout session for the custom t-shirt order is ready — please pay the $50 USDC and submit it to Printify production so it starts printing."},{"title":"Agent-driven drop shipping checkout","prompt":"I've got a StableMerch UCP checkout session with ID cmqirx483000akv04fiqi4lh7 in ready_for_complete status — complete it now and get that merchandise order into production."},{"title":"Hands-free merch store order processing","prompt":"Every time a StableMerch checkout session hits ready_for_complete status, automatically pay $50 USDC and push the Printify order to production without me having to do anything."}],"resultDescription":"Returns a confirmation that the checkout session has been paid ($50 USDC) and the associated Printify order has been submitted to production for printing and fulfillment. Likely includes order status, Printify order ID, and payment confirmation details.","failureModes":["Checkout session not in ready_for_complete status — payment and submission rejected","Invalid or expired checkout session ID — 404 or session not found error","Insufficient USDC balance or payment failure — transaction rejected","Duplicate completion attempt on already-completed session — idempotency error","Printify order submission failure — payment may succeed but production submission fails","Network or Vercel platform timeout — indeterminate state requiring status check"],"whenToPreferThis":"Use this endpoint when you have a StableMerch UCP checkout session that has been fully prepared (status: ready_for_complete) and need to both pay for it and send the Printify production order in a single atomic step. This is specifically for the StableMerch platform's print-on-demand workflow using Printify as the backend fulfillment provider. Prefer this over manual Printify API calls when working within the StableMerch UCP checkout flow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:36:17.703Z","isFirstParty":false}