1.1.0 • Published 1 year ago

paycek v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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));
1.1.0

1 year ago

1.0.0

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago