0.1.0 • Published 2 years ago

@litepay/litepay-js-sdk v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Litepay.gg javascript sdk

This is a wrapper over Litepay.gg api. Typedoc available at https://litepay-gg.github.io/litepay-js-sdk/

Installation

npm install @litepay/litepay-js-sdk

Usage

import LitepayClient from '@litepay/litepay-js-sdk'
const lpClient = new LitepayClient({});
lpClient.getTokens().then(console.log);

Methods

| name | description | getTokens | Get list of tokens available to send and receive | createPaymentLink | Input what you want to receive and get back a link where customer can choose their payment method and pay using their preferred method | getRate | Allows you to get the rate customer has to pay to fulfill payment link | createOrder | Creates order using payment link and customer selected token | subscribeOrderUpdates | Allows you to listen to order updates in real-time | subscribePaymentLink | Allows you to get info on orders that are generated with payment link

0.1.0

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago