One SDK for verifying bank slip QR payloads in Thailand.
- Unified Interface: Use a single
inquiryfunction with various providers. - Payload Validation: Uses
promptparseinternally to ensure payloads are structurally valid before hitting the provider APIs. - Flexible & Extensible: Easily switch between providers, or implement your own.
- TypeScript Support: Fully typed out of the box.
- Node.js >= 18 (uses native
fetch) - Bun >= 1.0
This SDK is designed for server-side use only. It handles sensitive credentials and should not be used in client-side environments.
npm install slipverifyBank Providers:
scb: SCB Slip Verification API. RequiresapiKey,apiSecretand optionallyenv('sandbox' or 'production').kbank: KBANK Slip Verification API. RequiresclientId,clientSecretand optionallyenv('sandbox' or 'production').
3rd Party Providers:
rdcw: RDCW Slip Verification API. RequiresclientIdandclientSecret.slipok: SlipOK Slip Verification API. RequiresbranchIdandapiKey.thunder: Thunder Slip Verification API. RequiresapiKey.easyslip: EasySlip Slip Verification API. RequiresaccessToken.
truemoney: TrueMoney Wallet Slip QR. RequiresaccessToken.
This project is MIT licensed (see LICENSE.md).