avify-client
v0.0.24
Published
Avify Javascript Client Library
Downloads
70
Readme
Avify Javascript Client Library
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