cryptopay-node
v2.2.0
Published
Cryptopay is a payment gateway and business wallet that allows merchants to automate the processes of accepting cryptocurrency payments and payouts from their customers, as well as making currency exchange transactions and receiving data on the transactio
Downloads
152
Readme
Cryptopay Node Library
Cryptopay-node - The official NodeJS library for the Cryptopay API
Cryptopay is a payment gateway and business wallet that allows merchants to automate the processes of accepting cryptocurrency payments and payouts from their customers, as well as making currency exchange transactions and receiving data on the transaction history and account balance statuses for reporting.
For more information, please visit Cryptopay API docs.
Table of contents
Installation
Use this command install node modules:
npm install cryptopay-node
Configuration
Create API credentials
Learn mode about API credentials at Developers guide
Configure library
const { Cryptopay, SERVER } = require('cryptopay-node');
// Server is an optional parameter which is imported from constants.ts and switches between sandbox and production.
const api = new Cryptopay(api_secret, api_key, callback_secret, server, SERVER.sandbox);
Usage
See Documentation
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/cryptopay-dev/cryptopay-node.
License
The gem is available as open source under the terms of the MIT License.