Skip to content

deadshumz/crystalpay-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

28 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ’Ž CrystalPay-SDK

GitHub top language

Introduction

The CrystalPay-SDK is a TypeScript SDK for the CrystalPay payment system. It provides a convenient way to integrate CrystalPay's payment functionality into your TypeScript projects.

Features

  • Convenient integration of CrystalPay's payment functionality into TypeScript projects.
  • TypeScript SDK for the CrystalPay payment system.
  • Provides a convenient way to integrate CrystalPay's payment functionality into your projects.

Example

import CrystalPay from 'crystalpay-sdk'

const CrystalPay = new CrystalPay(process.env.LOGIN, process.env.SECRET);

console.log(CrystalPay.Me.getInfo())

Getting started

Telegram token

To use the CrystalPay API, you first have to get a login and secret by chatting with CrystalPay Bot.

Installation

$ npm install crystalpay-sdk

CrystalPay class

[CrystalPay] instance represents interface for interacting with api.