freepay.js
v1.1.1
Published
A module to communicate with the danish payment service provider Freepay
Readme
Freepay.js
Easily use the Freepay API with JavaScript.
Code Example
npm i freepay.jsconst 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
