Khipu NodeJs
Complete documentation
This library is an implementation made in javascript of the Khipu API, it is incomplete and only contemplates functionalities that will be used by banks and payments, if you want to add the rest, do it without problems.
Support Version
Current support Khipu API version 2.0
Install
Npm:
npm install --save khipujs
Yarn:
yarn add khipujs
Getting started
Authenticate with your Commerce ID Key, and Secret Key
Make sure you have created your free account on Khipu and that you have your Credentials.
const khipu = commerceId: 'COMMERCE_ID' secretKey: 'YOUR_SECRET_KEY'
Payments
Payments with notification token
khipupayments // Handle the error.
Create payment
khipupayments // Handle the error.
Read payment
khipupayments // Handle the error.
Delete payment
khipupayments // Handle the error.
Banks
list banks
khipubanks // Handle the error.