avify-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.24 • Public • Published

Avify Javascript Client Library

Avify Logo

NPM Downloads GitHub issues open

INSTALLATION

npm i avify-client

USAGE

  • Javascript
const Avify = require('avify-client');
const avify = new Avify({ mode: 'sandbox', version: 'v1' });
avify.checkout({
    cardHolder: 'John Doe',
    cvc: '248',
    expMonth: '06',
    expYear: '2023',
    carcNumber: '2424242424242424',
})
.then((res) => {
	console.log(res.data);
});
  • Typescript
import Avify from 'avify-client';
const avify = new Avify({ mode: 'sandbox', version: 'v1' });
avify.checkout({
    cardHolder: 'John Doe',
    cvc: '248',
    expMonth: '06',
    expYear: '2023',
    carcNumber: '2424242424242424',
})
.then((res) => {
	console.log(res.data);
});

TODO

  • Modify test scripts

Readme

Keywords

Package Sidebar

Install

npm i avify-client

Weekly Downloads

1

Version

0.0.24

License

ISC

Unpacked Size

1.3 MB

Total Files

22

Last publish

Collaborators

  • bananacode