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

Credit Cards with USAA

hansenwebco opened this issue · comments

I can't seem to get connected to USAAs Credit Card information this is the object I'm creating with:

var bank = Banking({
    fid: 24591
  , fidOrg: 'USAA'
  , url: 'https://service2.usaa.com/ofx/OFXServlet'
  , bankId: '314074269' /* If bank account use your bank routing number otherwise set to null */
  , user: '{usaacustomer number}'
  , password: '{pincode}'
  , accId: '{ccnumber}' /* Account Number */
  , accType: 'CREDITCARD' /* CHECKING || SAVINGS || MONEYMRKT || CREDITCARD */
  , ofxVer: 102 /* default 102 */
  , app: 'QBKS' /* default  'QWIN' */
  , appVer: '1900' /* default 1700 */
  , headers: ['Host', 'Accept', 'User-Agent', 'Content-Type', 'Content-Length', 'Connection']

I've tried it with and without the headers but keep getting this error:

Some or all of the information you have entered is invalid. Please call toll free (1-800-531-6347) for assistance.

Any ideas?

Figured it out, I had leading zeros in the user id but didn't need it for credit cards.