1.1.1 • Published 3 years ago
freepay.js v1.1.1
Freepay.js
Easily use the Freepay API with JavaScript.
Code Example
npm i freepay.js
const freepay = require("freepay.js").default;
const client = new Freepay("your-api-key-from-dashboard");
// Get authorization example
const authorization = client
.getAuthorization("00000000-0000-0000-0000-000000000000")
.then((response) => {
// Do something with response.
})
.catch((error) => console.error);
// Or async
const authorization = await client.getAuthorization("00000000-0000-0000-0000-000000000000");
For other code examples check the wiki.
Tasks
- Paymentlink
Done
- Get authorization information
- Void authorization
- Get authorization capture
- Get authorization captures
- Capture authorization
- Get authorization credit
- Get authorization credits
- Credit authorization
- Get information about recurring payment agreement
- Delete recurring payment agreement
- Make recurring authorization