# paycek

> A connector library for communicating with PayCek public API

Latest version **1.1.2** (published 2024-07-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install paycek
pnpm add paycek
yarn add paycek
bun add paycek
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2024-07-02 |
| First published | 2023-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 12.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Electrocoin d.o.o. |
| Keywords | paycek, cryptocurrency, bitcoin, ether, payment, cryptopayment, exchange |

## Links

- npm: https://www.npmjs.com/package/paycek
- Repository: https://github.com/electrocoin-eu/paycek-js
- Homepage: https://paycek.io
- Issues: https://github.com/electrocoin-eu/paycek-js/issues
- npm.io page: https://npm.io/package/paycek

## Dependencies (1)

- [got](https://npm.io/package/got.md) ^11.8.3

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.1.2 (latest) — 2024-07-02
- 1.1.1 — 2024-05-29
- 1.1.0 — 2023-04-04
- 1.0.0 — 2023-02-02
- 0.0.8 — 2023-01-20
- 0.0.7 — 2023-01-20
- 0.0.6 — 2023-01-20
- 0.0.5 — 2023-01-20
- 0.0.4 — 2023-01-20
- 0.0.3 — 2023-01-20
- 0.0.2 — 2023-01-20
- 0.0.1 — 2023-01-20

## README

# Paycek

This is an official package for the [Paycek crypto payment processor](https://paycek.io). The documentation provided in code explains only minor implementation details.

For in depth information about endpoints, fields and more, read our [API Documentation](https://paycek.io/api/docs).

## Quick Start

### Installation

Install package with npm.

```shell
npm install paycek
```

### Initialization

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

```javascript
const Paycek = require('paycek');

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

### Usage


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

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

---
_Source: https://npm.io/package/paycek · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
