1.0.8 • Published 4 years ago
sendchamp v1.0.8
This library allows you to quickly and easily use the sendchamp nodejs library.
npm install sendchampusing yarn
yarn install sendchampIn order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with require() use the following approach:
const sendchamp = require('sendchamp'); sendchamp.emailotp( publickey, customer_mobile_number, customer_email, token_type, token_length, expiration_time, metadata )
The following parameters are not required and have default values.
token_type == 'numeric'
expiration_time == 6
token_length == 5The following parameters are not required and have default values.
token_type == 'numeric' expiration_time == 6 token_length == 5
<h1>Using whatsapp OTP API</h1>
```javascript
sendchamp.whatsappOTP( publickey, customer_mobile_number, customer_email, token_type, token_length, expiration_time, metadata )
The following parameters are not required and have default values.
token_type == 'numeric'
expiration_time == 6
token_length == 5Visit the sendchamp website for full doocumentation of APIs