Skip to content

caiknife/rustore-client

 
 

Repository files navigation

RuStore client for NodeJs

NPM Version Package License

Install

npm install @piavart/rustore-client

Usage

import { RuStoreClient } from '@piavart/rustore-client';

const privateKey = 'MIIEvgIBADANBgkqhkiG9w0BAQEFAASZ...'
const companyId = 123;
const isSandbox = false;

const client = new RuStoreClient(privateKey, companyId, isSandbox);

const purchase = await client.getPurchase('123.321');

В настоящий момент реализован функционал верификации платежей и получение информации о подписке по токену платежа.

RuStore API

About

nodejs rustore client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.9%
  • JavaScript 8.1%