euforic / banking.js

The Missing API for Banks - Get all of your transactions and balances using node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call to Citicards doesn't seem to be working

mrbrahman opened this issue · comments

Request:

var Banking = require('banking');

var bank = Banking({
    fid: 24909
  , fidOrg: 'Citigroup'
  , url: 'https://www.accountonline.com/cards/svc/CitiOfxManager.do'
  , bankId: '' /* If bank account use your bank routing number otherwise set to null */
  , user: 'xxxx'
  , password: 'xxxx'
  , accId: 'xxxx' /* Account Number */
  , accType: 'CREDITCARD' /* CHECKING || SAVINGS || MONEYMRKT || CREDITCARD */
  , ofxVer: 103 /* default 102 */
  , app: 'QBKS' /* default  'QWIN' */
  , appVer: '1900' /* default 1700 */
});

bank.getStatement({start:20170101, end:20170330}, function(err, res){
  if(err) console.log(err)
  console.log(res);
});

Part of Output

<STATUS><CODE>2000</CODE><SEVERITY>ERROR</SEVERITY><MESSAGE>We\'ve had a problem processing your request.  It may take 24 to 36 hours for the problem to be resolved.  Please try again at that time.</MESSAGE></STATUS>

Looks like commenting out the last 3 params (using defaults) is needed here. Now, I'm getting a nice result set!