Setup Kineticpay logo

Setup Kineticpay

Community
afu-it
setup-kineticpay

Set up, build, debug, review, and explain KineticPay payment integrations using official KineticPay docs and KineticPay's official WordPress plugins, FPX bill creation via /payment/create, auto-submit HTML checkout, callback_success/callback_error/callback_status URLs, server-side status requery via /payment/status, merchant key from the Collection page, API v2 bearer key, FPX bank codes, sandbox mode, rate limits, and error shapes. Use when working with KineticPay Malaysia, FPX online banking, collection forms, WooCommerce, GiveWP, Gravity Forms, Forminator, custom PHP/Node/Python checkout, callback settlement, or production readiness.

Overview

Publisherafu-it
Repositorymalaysia-payment-gateway
Skill namesetup-kineticpay
Stars
74
Forks
11
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by afu-it on GitHub. Read the source before you install it.

Installation

Install the Setup Kineticpay AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-kineticpay
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/afu-it/malaysia-payment-gateway.git /tmp/malaysia-payment-gateway
mkdir -p .claude/skills
cp -r /tmp/malaysia-payment-gateway/setup-kineticpay .claude/skills/setup-kineticpay
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Setup Kineticpay in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Setup Kineticpay on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Setup Kineticpay is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

KineticPay Payment Gateway

Use this skill for KineticPay (kineticpay.my) payment gateway integration work.

Source

Read references/kineticpay-api.md before giving factual API guidance or writing integration code. It holds the endpoint catalogue, the bill creation fields, the callback and requery flow, status codes, FPX bank codes, rate limits, errors, and the gaps in the official docs.

Read references/account-setup.md when the user asks how to register, where the merchant key or API key lives, how sandbox mode works, which env vars to use, payment method availability, settlement, or pricing.

Read references/source-map.md when choosing which official page or plugin file backs a fact, or to see what the public docs do not cover.

Core Workflow

  1. Identify environment: live or sandbox (sandbox is a toggle on the Collection page, same endpoints).
  2. Identify surface: custom server integration, WooCommerce, GiveWP, Gravity Forms, Forminator, WHMCS, or a no-code collection form/link.
  3. Confirm dashboard setup: approved company, a Collection with name and website URL, its merchant key, and (for API v2) the API key.
  4. Create a local pending payment with a unique invoice string before calling KineticPay.
  5. Let the buyer pick an FPX bank; send its code as bank.
  6. POST https://manage.kineticpay.my/payment/create server-side with merchant_key, invoice, amount, description, bank, callback_success, callback_error, callback_status.
  7. Output the returned html (an auto-submit form) to the browser to send the buyer to the bank. On error, show the messages.
  8. On any callback hit, do not trust the request body. Requery GET /payment/status?merchant_key=...&invoice=... server-side.
  9. Settle idempotently only when the requery returns code "00" and the invoice, amount, and local state match.
  10. Keep a requery job for pending payments whose callback never arrived.

Core Facts

  • Payment base (used by all official plugins): https://manage.kineticpay.my.
  • Create bill: POST /payment/create. Requery: GET /payment/status.
  • Bill auth is the Collection merchant_key sent in the body (create) or query string (status). No header auth, no signature.
  • API v2 base: https://manage.kineticpay.my/api/v2, auth Authorization: Bearer <API_KEY>, headers Accept and Content-Type: application/json.
  • API v2 documented endpoints: GET /ping, GET /bank, GET /company. Bills, Collections, Collection Forms, Transactions, Settlements and Points are listed in the docs nav but have no published page (checked 2026-10-21).
  • Successful payment code is "00" (code on requery, record.transaction_status_code on the WooCommerce callback POST).
  • amount is in ringgit with 2 decimals (for example "12.50"), not sen. MYR only.
  • FPX bank codes such as MB2U0227, BCBB0235, PBB0233; fetch the live list from GET /api/v2/bank.
  • Rate limit: 60 requests per minute per user; X-RateLimit-Limit, X-RateLimit-Remaining headers; HTTP 429 when exceeded.
  • Validation errors return JSON {"error": {"field": ["message"]}} (observed with HTTP 200 on /payment/status).
  • Pagination on v2 list endpoints: page, perPage (default 20, max 40), metadata in meta.pagination.
  • Merchant key: Collection page, generated after you enter Collection name and website URL. API key: https://manage.kineticpay.my/api-key.

Critical Rules

  • Keep merchant_key and the API key server-side only. Never put them in browser code.
  • KineticPay documents no callback signature or checksum. Never mark paid from a callback body, redirect, or query string alone; always requery /payment/status server-side.
  • The requery puts merchant_key in a URL query string. Do not log full requery URLs; redact them in HTTP client logs.
  • Make invoice unique per payment attempt and store it before redirecting. Official plugins use a site prefix plus order id plus a suffix (for example MYSHO123KNWC).
  • Compare requery code, invoice, and amount against the local record. The status response schema is not documented; log the full response and confirm which amount field it returns.
  • Settle idempotently: the same invoice can hit callback_success, callback_status, and a requery job.
  • Send amount as a 2-decimal ringgit string. Do not send sen integers.
  • Treat the WooCommerce plugin's 3-second cron and the plugin defects listed in the API reference as patterns to avoid, not copy.
  • Disable sandbox mode on the Collection before going live, and test once in live with a small amount.
  • Card, e-wallet and BNPL are not exposed in any published API field; the public bill flow is FPX with a bank code.

Completion Criteria

A KineticPay integration is done only when:

  1. Bill creation runs server-side with merchant_key from env, and the html response is rendered only after a local pending record exists.
  2. The checkout collects a valid FPX bank code (from GET /api/v2/bank or a vetted list).
  3. All three callback URLs point to a server route that requeries /payment/status and never trusts the request body.
  4. Settlement checks code === "00", invoice, amount, MYR, and local status, inside an idempotent transaction.
  5. A requery job reconciles pending payments within the rate limit (60/min).
  6. Tests cover: forged callback body with "00", unknown invoice, amount mismatch, duplicate callbacks, failed code, error response on create, 429 handling.
  7. Deployment docs list KINETICPAY_MERCHANT_KEY, KINETICPAY_API_KEY (if v2 is used), callback base URL, and the sandbox toggle state.

Loophole Review Loop

When asked whether a KineticPay strategy is "100% confident", run this loop until no factual gaps remain:

  1. List trust boundaries: browser, auto-submit form, FPX bank page, callback routes, backend bill creator, KineticPay /payment/*, API v2, database, fulfilment job, requery job, dashboard Collection settings.
  2. Check bypasses: forged callback POST with transaction_status_code: "00", replayed callback, guessed invoice, invoice reuse across attempts, amount tampering before create, sandbox left on in production, merchant key leaked in logs or frontend, stale pending never requeried, rate limit exhaustion from aggressive polling, wrong Collection key for the site.
  3. Add fixes: server-side requery as the only source of truth, unique unguessable invoice, amount check against local record, idempotent settle, redacted logs, backoff on 429, sandbox check at deploy.
  4. Re-read references/kineticpay-api.md sections relevant to any gap.
  5. State remaining uncertainty: undocumented status response fields, undocumented callback payload, no refund or recurring API, card plan access, and whether callback_status is called server-to-server. Tell the user to confirm these with KineticPay support (support@kineticpay.my).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Setup Kineticpay AI skill do?

Set up, build, debug, review, and explain KineticPay payment integrations using official KineticPay docs and KineticPay's official WordPress plugins, FPX bill creation via /payment/create, auto-submit HTML checkout, callback_success/callback_error/callback_status URLs, server-side status requery via /payment/status, merchant key from the Collection page, API v2 bearer key, FPX bank codes, sandbox mode, rate limits, and error shapes. Use when working with KineticPay Malaysia, FPX online banking, collection forms, WooCommerce, GiveWP, Gravity Forms, Forminator, custom PHP/Node/Python checkout...

Why use Setup Kineticpay on TypingMind?

Because you install it once and use it with any model. Setup Kineticpay is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Setup Kineticpay in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-kineticpay. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Setup Kineticpay?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Setup Kineticpay?

As many as you like. As long as a model supports skills, you can use Setup Kineticpay with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Setup Kineticpay AI skill free?

It is published on GitHub by afu-it. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇