Setup chip
Agent skills for implementing Malaysia payment gateway integrations.
npx -y skills add afu-it/malaysia-payment-gateway --skill setup-chipAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
Set up, build, debug, and explain CHIP Collect payment integrations using the official CHIP Collect API documentation. Use when working with CHIP Collect purchases, checkout URLs, payment links, direct post, FPX, DuitNow QR, cards, e-wallets, callbacks, webhooks, signature verification, clients, recurring tokens, subscriptions, pre-authorization, refunds, captures, releases, payment methods, statements, account balance, account turnover, API keys, Brand ID, or CHIP Collect endpoint schemas.
SKILL.md
2.7 KB, as published. Nobody here has run it
CHIP Collect API
Use this skill for CHIP Collect payment integration work.
Source
Read references/chip-collect-docs.md before giving factual API guidance or writing integration code. It contains all downloaded CHIP Collect markdown pages plus embedded OpenAPI blocks from:
https://docs.chip-in.asia/chip-collect/overview/introduction
Read references/account-setup.md when user asks how to register, which API keys are needed, where credentials come from, or what dashboard setup is required.
Core Facts
- Base URL:
https://gate.chip-in.asia/api/v1/ - Auth:
Authorization: Bearer <secret key>for every request. - Credentials: API key and Brand ID come from CHIP Collect Developers pages in portal.
- Amounts: money values are smallest currency units. Example:
price: 100equalsRM 1.00. - Create checkout/payment link flow:
POST /purchases/, then use responsecheckout_url. - Payment status options: success callback,
GET /purchases/{id}/, or webhook events. - Test cards:
4444 3333 2222 1111non-3DS,5555 5555 5555 44443DS, CVC123, expiry >= current month/year. - Callback signature:
X-Signatureis base64 RSA PKCS#1 v1.5 over SHA256 digest of raw request body. - Success callback public key:
GET /public_key/; webhook public key:Webhook.public_key.
Lookup Map
- Purchases: create, retrieve, cancel, capture, charge token, refund, release, resend invoice, mark paid.
- Clients: create/list/retrieve/update/delete, recurring token list/retrieve/delete.
- Webhooks: create/list/retrieve/update/delete.
- Payment methods:
GET /payment_methods/, usually withbrand_idandcurrency. - Direct post: intro, card, FPX, DuitNow QR, e-wallet.
- Online flows: payment link, pre-authorization, subscriptions, custom flow.
- Account/reporting: balance, turnover, company statements.
Working Rules
- Use exact endpoint paths and request fields from reference OpenAPI blocks.
- Preserve trailing slashes on CHIP Collect endpoints as documented.
- For code, keep secrets in env vars and never hard-code API keys or Brand IDs.
- For webhooks/callbacks, require raw request body for signature verification.
- If user asks for latest pricing, legal terms, supported methods, or production portal state, verify live docs first.