freepay.js
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i freepay.js

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

23.1 kB

Total Files

20

Last publish

Collaborators

  • n0ahk