0.1.0 • Published 9 months ago

@litepay/litepay-js-sdk v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months 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

9 months ago

0.0.14

9 months ago

0.0.13

9 months ago

0.0.12

9 months ago

0.0.11

9 months ago

0.0.10

9 months ago

0.0.9

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago