Unofficial Node.js Library for FeelFreePay with helper included to seamlessly integrate into your backend
Forked from node-gbprimepay
and changed to the new endpoint
Still WIP, but contributions are welcome! I only use QR Cash in my work, so other channel still UNTESTED
if you face any bug, feel free to make a PR!
- Written in TypeScript
- Does Checksum things for you
- No more HTML forms in frontend, your secret key will never leak again
- Tries to replace bad UX HTML pages with direct link to Payment services or App Deeplink
By default the library will tries to parse data from HTML page returned from GB Prime Pay API and will give you a direct link (vary by channel), but you can revert this by set argument raw
as true
LINEPAY
will returns Rabbit LINE Pay Checkout URL PageSHOPEEPAY
will returns ShopeePay Checkout URL PageTRUEWALLET
will returnsptx_id
for requesting OTP withtruemoney_sendOtp()
ortruemoney_resendOtp()
then submit usingtruemoney_submitOtp()
MOBILE_BANKING
vary by Bank Code014
will returns SCB EASY App Deeplinkscbeasy://
002
will returns Bualuang mBanking App Deeplinkbualuangmbanking://
Other channels are untested and will return unparsed HTML/JSON
This project is MIT licensed (see LICENSE)
Not affiliated with Global Prime Corporation Co., Ltd. (GB Prime Pay) in any way,
Trademarks belongs to their respective owner.