Skip to main content

Description

The command provided is for the user to install the skill.MD to assist with the integration of CHIP payment link using AI agent. The SKILL.md contains manual instructions for the agent to integrate CHIP payment gateway and generate checkout URLs so the user can verify the integration end-to-end.

Requirements

  • Cursor, Codex or any AI-powered IDE
  • Know how to execute terminal command and prompt AI agent

Install

Run the following command in your project root to install the skill.
npx @chip-in.asia/skill
Once executed, a SKILL.md file is generated inside the chip-skill/ folder in your root repository.

Example prompt

Use this prompt after installing the skill to generate a dummy payment link.
Create a dummy payment link,
The expected output is :
- chip-env file to store CHIP's Secret Key and Brand ID
- executable code that will generate a checkout URL.
- instructions where to get the credentials
- command to execute the code
use chip-skill/SKILL.md as a reference.

What to do next

Once the code is generated, follow these steps to test your integration.
1

Insert your credentials

Add your CHIP Secret Key and Brand ID into the generated chip-env file.
2

Run the executable code

Execute the generated code using the command provided.
A checkout URL will be printed to your terminal.
3

Click the checkout URL

Open the URL in your browser to make a dummy payment. Please use the test mode API key.
Always use a test mode API key when generating dummy payment links.
Do not use your live credentials for testing.
How to identify whether it is real or dummy payment link?
Dummy payment link will execute fake payment instead of redirect to bank page when user click pay.

Get your credentials

Retrieve your Brand ID and API keys from the CHIP staging portal.

Brand ID

Get your Brand ID from the CHIP staging portal.

API keys

Get your Secret Key from the CHIP staging portal.

Source documents

Refer to the official CHIP documentation and downloadable markdown files for deeper integration details.

CHIP Skill

Source for the npx command and CHIP NPMJS account

CHIP API documentation

Full API reference and integration guides.

Downloadable API markdown

Downloadable CHIP API markdown files.