paycek

1.1.2 • Public • Published

Paycek

This is an official package for the Paycek crypto payment processor. The documentation provided in code explains only minor implementation details.

For in depth information about endpoints, fields and more, read our API Documentation.

Quick Start

Installation

Install package with npm.

npm install paycek

Initialization

Under account settings you’ll find your API key and secret. Initialize a paycek instance.

const Paycek = require('paycek');

const paycek = new Paycek('<apiKey>', '<apiSecret>');

Usage

Get payment

paycek.getPayment({
		paymentCode: "<paymentCode>"
	})
	.then((result) => console.log(JSON.stringify(result.body)))
	.catch((error) => console.log(error));

Open payment

paycek.openPayment({
		profileCode: "<profileCode>",
		dstAmount: "<dstAmount>"
	})
	.then((result) => console.log(JSON.stringify(result.body)))
	.catch((error) => console.log(error));

Package Sidebar

Install

npm i paycek

Homepage

paycek.io

Weekly Downloads

2

Version

1.1.2

License

MIT

Unpacked Size

12.7 kB

Total Files

5

Last publish

Collaborators

  • electrocoin