1.0.0 • Published 1 year ago

@quantix-ict/paynl v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

PayNL client by Quantix

A library to use the PayNL API.

Installation and Usage

Installation:

npm i @quantix-ict/paynl

Usage:

const { Paynl } = require('@quantix-ict/paynl')

const paynl = new Paynl({
  apiCode: 'AT-####-####',
  apiToken: '<token>',
})

const data = await this.request({
  endpoint: `/transactions/EX-####-####-####`,
  method: 'GET',
})

of using import:

import { Paynl } from '@quantix-ict/paynl'

const paynl = new Paynl({
  apiCode: 'AT-####-####',
  apiToken: '<token>',
})

const data = await this.request({
  endpoint: `/transactions/EX-####-####-####`,
  method: 'GET',
})
1.0.0

1 year ago