1.0.3 • Published 3 years ago

fio-bank-payment-request v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

FIO

fio-bank-payment-request

Version Downloads

Unofficial FIO BANK module to post EURO payment requests using FIO API

:cloud: Installation

# Using npm
npm install --save fio-bank-payment-request

:computer: Usage

const fio = require('fio-bank-payment-request');
fio.setToken(" < YOUR FIO TOKEN >");

// Payment Object - supports also an array of objects
fio.postPayments({
  accountFrom: "2601234567",
  currency: "EUR",
  amount: "100.00",
  accountTo: "SK8975000000000012345671",
  ks: "0558",
  vs: "111111",
  ss: "111111",
  date: "2021-03-22",
  comment: "Internal Comment",
  benefName: "John smith",
  benefStreet: "Street 5",
  benefCity: "Sample City",
  benefCountry: "SK",
  remittanceInfo1: "Info for beneficiary 1",
  remittanceInfo2: "Info for beneficiary 2",
  remittanceInfo3: "Info for beneficiary 3",
  paymentType: "431008"
}).then((response) => {
  console.log("Posted to Server.");
  console.log(response);
}).catch((error) => {
  console.log(error);
});

:page_facing_up: Options

// Set different FIO URL
// Default is : https://www.fio.cz/ib_api/rest/import/
fio.setURL(String url);

:exclamation: Important

If you face any issues - see the resolve message. That is the FIO BANK server response and may help you debug.

:clipboard: Payment Object

M - mandatory
O - optional, can be left out or be empty string

More info see Documents - FIO Banka API manual.pdf

2021-03-22 12_52_51-API_Bankovnictvi pdf

:package: Sibling

For accessing the FIO Bank account transaction history please use package

require('fio-bank-transaction-history');

:question: Get Help

For bug reports and feature requests, open issues. :bug:

:yum: How to contribute

Have an idea? Found a bug? Let me know :thumbsup:

Thanks! :heart:

:dizzy: Where is this library used?

If you are using this library in one of your projects, add it in this list. :sparkles:

  • BOLT Driver Management

:scroll: License

MIT © Oliver Goossens

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago