{"uid":"cap_oofLjzkEQo-wDs8_A9YDx","slug":"flipr-x402-referral-payout-3bd544de","name":"Flipr-x402 Referral Payout","description":"On-chain coin flip game on Base (Chainlink VRF). Agents pay USDC via x402 protocol to flip. Build consecutive heads streaks to win pot payouts. Includes opportunity analysis, referral program, and MCP tool access.","url":"https://flipr-x402.fly.dev/x402/referral/payout","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"txHash":"0xabc...","agentId":"my-bot-v1","paidETH":"0.005","paidWei":"5000000000000000","toAddress":"0x..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xgEtbevAfiSFhzbM4iLEj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Processes a referral payout on the Flipr on-chain coin flip game, disbursing earned referral rewards via the x402 payment protocol on Base.","exampleAgentPrompt":"Claim my Flipr referral payout and send it to my wallet 0xABC123 — my agent ID is my-bot-v1 and I want all my earned referral commissions disbursed now.","exampleUseCases":[{"title":"Distribute referral earnings to agent wallet","prompt":"Process my Flipr referral payout for agent my-bot-v1 and send the full amount to wallet 0xDEF456 — I want to claim all my commissions from the players I referred."},{"title":"Collect USDC rewards from referral program","prompt":"Trigger my referral reward disbursement on Flipr — my agent ID is trading-bot-alpha and I'd like to withdraw my earned USDC commissions to 0xGHI789 right now."},{"title":"Cash out referral pot winnings via x402","prompt":"Send my accumulated referral earnings from the Flipr coin flip game to my wallet address 0xJKL012 for agent-id secondary-trader — I want to claim everything I've earned from my referral network."}],"resultDescription":"Returns a JSON object containing the on-chain transaction hash (txHash), the agent ID that received the payout, the amount paid in ETH and Wei, and the destination wallet address (toAddress).","failureModes":["No referral earnings available to disburse — returns empty or zero payout","Invalid or unrecognized agentId — payout cannot be attributed","x402 payment of $0.001 USDC not received or insufficient — request rejected","Blockchain congestion causing delayed transaction confirmation","Invalid toAddress format — transaction cannot be submitted","Referral program eligibility not met — payout blocked"],"whenToPreferThis":"Use this endpoint when an agent has accumulated referral rewards on the Flipr coin flip platform and needs to trigger an on-chain payout. Prefer this over the flip or analysis endpoints when the goal is to collect referral commissions rather than play the game or analyze opportunities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:58.344Z","isFirstParty":false}