NodeJS Paytm Checksum SDK
Unofficial Node.JS SDK for Paytm Checksum Generation and Verification
Installation
$ npm install paytm-sdk --save
Usage
const Paytm = const paytm = '<merchantkey>' options const express = const bodyParser = const app = appappapp app
Options
const paytm = '<merchantkey>' generateRoute: '/checksum/generate' verifyRoute: '/checksum/verify' handleError: false
generateRoute
This is route where you can send a POST request to generate checksum. The default value is set to /checksum/generate
verifyRoute
This is route where you can send a POST request to verify checksum. The default value is set to /checksum/verify
handleError
Set this to true if you do not want to handle the error condition, instead want the library to send 500 for checksum generation failure and 400 for incorrect checksum
Release Notes
Release | Notes |
---|---|
0.0.1 | Priliminary release |
Licence
MIT