More screenshots

    Works with the AI Agents you already use

    Get Paid Anywhere

    by Younes Habssane

    1

    Add payments where Stripe isn't available: Paystack, M-Pesa, Paymob, CMI, Razorpay and more, with verified webhooks.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Get Paid Anywhere

    Get Paid Anywhere

    Example session with this skill installed

    Stripe isn't available in Kenya. Add M-Pesa payments to my Express shop: customers pay from their phone and the order is marked paid automatically.

    • Read your context and instructions
    • Compiled the get paid anywhere

    Summary

    Picked M-Pesa Daraja (STK Push) for a Kenyan seller selling locally, with Paystack/Flutterwave as card + mobile-money alternatives. Added checkout, callback and order states to the Express app.

    Provider check

    $ python scripts/pick_provider.py --seller KE --customers KE --methods mobile_money
    ✓ Paystack: apple_pay, bank_transfer, card, mobile_money, ussd
    ✓ Flutterwave: bank_transfer, card, mobile_money, ussd
    ✓ M-Pesa Daraja (Safaricom): mobile_money

    Files added

    • payments.js: order store, state machine (pending → paid/failed), idempotent applyPayment, amount + currency check
    • providers.js: mpesa.start() (STK Push, Nairobi timestamp, base64 password) and mpesa.query() to confirm results
    • server.js: POST /api/checkout (server-side prices), secret callback route, GET /api/orders/:ref

    Security

    M-Pesa callbacks are unsigned, so every callback is confirmed with the STK Push Query API before the order is marked paid. Duplicate callbacks are ignored.

    Tests

    $ node test-webhooks.js
    20 passed, 0 failed (valid, tampered, duplicate and underpaid webhooks across 11 providers)

    Next step

    Create a Daraja sandbox app, set MPESA_CONSUMER_KEY, MPESA_CONSUMER_SECRET, MPESA_PASSKEY, MPESA_SHORTCODE=174379, then expose localhost with cloudflared to receive the sandbox callback.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Stripe's limited global footprint leaves developers in emerging markets without a reliable way to accept payments. This skill bridges that gap by implementing local payment gateways and merchants of record tailored to the seller's specific region. It replaces generic advice with production-ready integration code for regions where Stripe is unavailable, including Africa, Latin America, and Southeast Asia.

    What it does

    • Provider selection identifies the optimal gateway based on the seller's country, customer base, and product type.
    • Multi-gateway scaffolding generates integration code for Paystack, Flutterwave, M-Pesa, Paymob, CMI, Razorpay, Mercado Pago, Xendit, and others.
    • Secure webhook handling implements signature verification using raw request bodies and constant-time comparisons.
    • Idempotency logic manages order states to prevent duplicate fulfillment from retried webhook events.
    • Compliance checking provides a pre-flight list of KYC documents and legal requirements needed for gateway approval.

    How it works

    1. Define the context by specifying the seller's location, target markets, and whether they are selling digital or physical goods.
    2. Select the adapter from the provider library to generate the payments.js state machine and providers.js integration.
    3. Verify the flow using the test-webhooks.js utility to simulate tampered, duplicate, and underpaid transactions.
    4. Deploy and audit using the go-live checklist to ensure production keys, environment variables, and refund workflows are active.

    Frameworks & tools

    Supported stacks include Node.js (Express, Next.js, Fastify), Laravel, and Django. Logic is ported to specific languages following strict idempotency and minor-unit currency standards.

    Why this beats prompting it yourself

    Generic prompts often produce insecure code that trusts client-side prices or ignores webhook signature verification. This skill enforces non-negotiable security patterns, such as server-side price truth and idempotent event processing, which are critical for financial reliability.

    Use cases

    • Accepting M-Pesa mobile money for a service business in Kenya.
    • Selling SaaS internationally from Morocco using a merchant of record like Lemon Squeezy.
    • Integrating Razorpay for UPI and card payments for an Indian e-commerce site.
    • Scaling a Nigerian startup using Paystack while ensuring secure webhook fulfillment.

    Known limitations

    Does not guarantee account approval from providers. Requires manual business registration for most local gateways. Limited to the 11 supported providers in the reference library.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 8 days ago

    Accounts
    PaystackFlutterwaveSafaricomRazorpayXendit

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Environment Variables

    Allowed Hosts

    api.paystack.co
    api.flutterwave.com
    api.safaricom.co.ke
    sandbox.safaricom.co.ke
    api.razorpay.com
    api.xendit.co
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    This skill provides production-ready code and logic for integrating local payment gateways (like Paystack, M-Pesa, or Mercado Pago) and Merchants of Record in regions where Stripe is unavailable, ensuring secure, idempotent transaction handling.

    The skill generates a pre-flight compliance checklist specific to your chosen gateway, outlining the exact KYC documents and legal registrations required to successfully pass their approval process.

    It supports modern web frameworks including Node.js (Express, Next.js), Laravel, and Django, and is compatible with any AI agent capable of executing code-generation and architectural planning tasks.

    You receive the full library of 11 provider adapters, secure webhook verification utilities, idempotency state machine logic, and a deployment audit checklist to ensure your integration is production-safe.

    Unlike generic prompts, this skill enforces strict security protocols like constant-time signature verification and server-side price validation, preventing common vulnerabilities that lead to financial loss or fraud.

    Yes, the skill includes a 'test-webhooks.js' utility specifically designed to simulate and debug edge cases like tampered signatures, duplicate events, and underpaid transactions before you go live.

    New in APIs & Backend

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.