0.1.10 • Published 9 months ago

dark-payment v0.1.10

Weekly downloads
84
License
ISC
Repository
-
Last release
9 months ago

Dark-Payment.

Start service

$ npm i dark-payment

1. Create an instance of payment client

  import PaymentClient from 'dark-payment';
  const paymentClient = new PaymentClient();

  paymentClient.init(<Provider Config>)
    .then((data) => {
      console.log(data);
    }).catch(err => console.log(err));

2. Call createSingleUseToken or createCustomerToken

  paymentClient.createSingleUseToken(<source>).then(data => console.log(data)).catch(err => console.log(err));
  
	paymentClient.createCustomerToken(
    <customerToken>,
    <source>
  ).then(data => console.log(data)).catch(err => console.log(err));
0.1.10

9 months ago

0.1.9

10 months ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

4 years ago

0.1.4-beta.2

6 years ago

0.1.4-beta.1

6 years ago

0.1.4-beta.0

6 years ago

0.1.3

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago