कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

officex

mevdragon द्वारा

Web & Frontend Development
282clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Complete OfficeX platform skill for end-user consumers and app developers interacting with the OfficeX REST API.

विवरण

यह स्किल क्या करती है

OfficeX is a credit-based app marketplace where users buy credits ($0.03 each) and spend them across installed apps. Vendors build and publish apps, earning credits through a reserve/settle billing API that converts to fiat at $0.01 per credit. The skill covers the full platform REST API for both consumers and app developers, including auth, billing flows, webhooks, iframe embedding, and AI chat agent integration.

The reserve/settle/sip pattern lets developers implement precise per-operation or progressive billing without building custom payment infrastructure.

इसे कब इस्तेमाल करें

  • Charging users per API call using reserve and settle in a pay-per-use app
  • Setting up webhook-based SSO so users are auto-authenticated when they install your app
  • Billing incrementally across a long batch job using the sip pattern
  • Embedding your app inside the OfficeX marketplace via iframe with credential extraction
  • Paying out accumulated vendor credits to a Stripe account or Solana wallet

उदाहरण वर्कफ़्लो

इनपुट

User asks: How do I charge 5 credits each time someone enriches a lead in my app?

एजेंट
  1. 1

    Registers app via POST /register-app with price_type PAY_PER_USE and a webhook_url to receive install events

  2. 2

    Captures install_id and install_secret from the INSTALL webhook payload and stores them against the user record

  3. 3

    Calls POST /reserve with amount 5 and a unique job_id when the user triggers lead enrichment

  4. 4

    Runs the enrichment logic after confirming the reservation succeeded

  5. 5

    Calls POST /reservations/{reservation_id}/settle with amount 5 and final: true to move credits to the app wallet

आउटपुट

5 credits are deducted from the user's wallet and credited to the app's destination wallet, with the reservation_id available for audit and error recovery

आवश्यकताएँ

  • OfficeX account with user ID and master key, obtainable at officex.app/store/en/developer/

इंस्टॉलेशन

clawhub install mevdragon/officex

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक