0.1.8 • Published 1 year ago

dark-payment v0.1.8

Weekly downloads
84
License
ISC
Repository
-
Last release
1 year 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.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

3 years ago

0.1.4-beta.2

5 years ago

0.1.4-beta.1

5 years ago

0.1.4-beta.0

5 years ago

0.1.3

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago