https://github.com/cryptopay-dev/cryptopay-node
Node.js library for the Cryptopay API
https://github.com/cryptopay-dev/cryptopay-node
Last synced: 9 days ago
JSON representation
Node.js library for the Cryptopay API
- Host: GitHub
- URL: https://github.com/cryptopay-dev/cryptopay-node
- Owner: cryptopay-dev
- License: mit
- Created: 2021-10-28T12:15:01.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-08-29T13:36:47.000Z (5 months ago)
- Last Synced: 2025-08-29T16:38:31.659Z (5 months ago)
- Language: TypeScript
- Size: 770 KB
- Stars: 3
- Watchers: 15
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
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](https://developers.cryptopay.me).
## Table of contents
* [Installation](#installation)
* [Configuration](#configuration)
* [Usage](#usage)
* [Callbacks](#callbacks)
* [Contributing](#contributing)
## Installation
Use this command install node modules:
```bash
npm install cryptopay-node
```
## Configuration
### Create API credentials
Learn mode about API credentials at [Developers guide](https://developers.cryptopay.me/guides/api-credentials)
### Configure library
```js
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](https://cryptopay-dev.github.io/cryptopay-node/classes/index.Cryptopay.html)
## Contributing
Bug reports and pull requests are welcome on GitHub at .
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).