fio-bank-payment-request
v1.0.5
Published
Unofficial FIO BANK module to post EURO payment requests using FIO API
Downloads
14
Readme
fio-bank-payment-request
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
: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