fio-bank-payment-request

1.0.3 • Public • Published

FIO

fio-bank-payment-request

Version Downloads

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

☁️ Installation

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

💻 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);
});

📄 Options

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

Important

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

📋 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

📦 Sibling

For accessing the FIO Bank account transaction history please use package

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

Get Help

For bug reports and feature requests, open issues. 🐛

😋 How to contribute

Have an idea? Found a bug? Let me know 👍

Thanks! ❤️

💫 Where is this library used?

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

  • BOLT Driver Management

📜 License

[MIT] © Oliver Goossens

Readme

Keywords

Package Sidebar

Install

npm i fio-bank-payment-request

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

1.2 MB

Total Files

5

Last publish

Collaborators

  • ogoossens