Topic: Trouble Connection to Key Bank

Hi,  I'm having trouble connection to Key Bank, and thinking maybe I don't have the correct fi_url.  I am enrolled by Key, and have my initial PIN, but can't get past the login, or even to the point where I need to set a new pin.  Here is what I have tried so far.

First, I tried the url listed here on ofx home:  https://www.oasis.cfree.com/KeyBank.ofxgp

But almost no matter what I try to send to this url, I always get a 15500 error.

I then searched around some more and found this url:  https://www.oasis.cfree.com/fip/genesis/prod/05901.ofx

But, no matter what I send to this url, I pretty much just get a profile response (PROFRS).

I tried calling the Key Bank help line, but they didn't have a clue what I was asking.  "Can you confirm the url of your ofx server?".  "Huh?".

So, I gave up on that, and tried some other urls

https://www.oasis.cfree.com/KeyBank.ofx no matter what gives me PROFTRNRS with an error code 2000 (but SONRS returns OK (Code 0)).

Does anyone have any suggestions on figuring out the correct url?

Re: Trouble Connection to Key Bank

After digging further on this I think this url is the correct one:  https://www.oasis.cfree.com/fip/genesis/prod/05901.ofx

This request:

OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:a1a427cced68b8a50502f54df25b3984

<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20120306211257
<USERID>xxxxx
<USERPASS>xxxxx
<LANGUAGE>ENG
<FI>
<ORG>KeyBank
<FID>5901
</FI>
<APPID>QWIN
<APPVER>1900
</SONRQ>
</SIGNONMSGSRQV1>
<PROFMSGSETV1>
<PROFTRNRQ>
<TRNUID>6879c87f0dd2a3d750c85c71511051e2
<PROFRQ>
<CLIENTROUTING>NONE
<DTPROFUP>20120306211257
</PROFRQ>
</PROFTRNRQ>
</PROFMSGSETV1>
</OFX>

Gets a response (parsed) of:

'OFX' => {
                     'PROFMSGSRSV1' => {
                                         'PROFTRNRS' => {
                                                          'TRNUID' => '6879c87f0dd2a3d750c85c71511051e2',
                                                          'STATUS' => {
                                                                        'SEVERITY' => 'INFO',
                                                                        'CODE' => '1'
                                                                      }
                                                        }
                                       },
                     'SIGNONMSGSRSV1' => {
                                           'SONRS' => {
                                                        'LANGUAGE' => 'ENG',
                                                        'DTSERVER' => '20120306161258',
                                                        'STATUS' => {
                                                                      'SEVERITY' => 'INFO',
                                                                      'CODE' => '0'
                                                                    }
                                                      }
                                         }
                   }
        };

But, when trying almost any other request I get this response:

'OFX' => {
                     'PROFMSGSRSV1' => {
                                         'PROFTRNRS' => {
                                                          'TRNUID' => '0',
                                                          'STATUS' => {
                                                                        'SEVERITY' => 'INFO',
                                                                        'CODE' => '0'
                                                                      },
                                                          'PROFRS' => {
                                                                        'URL' => 'http://www.keybank.com',
                                                                        'COUNTRY' => 'USA',
                                                                        'DTPROFUP' => '20030512',
                                                                        'FINAME' => 'Key Bank',
                                                                        'CITY' => 'Toledo',
                                                                        'ADDR1' => '333 North Summit Street',
                                                                        'ADDR2' => '11th Floor',
                                                                        'MSGSETLIST' => {
                                                                                          'PROFMSGSET' => {
                                                                                                            'PROFMSGSETV1' => {
                                                                                                                                'MSGSETCORE' => {
                                                                                                                                                  'RESPFILEER' => 'Y',
                                                                                                                                                  'URL' => 'https://www.oasis.cfree.com/fip/genesis/prod/05901.ofx',
                                                                                                                                                  'LANGUAGE' => 'ENG',
                                                                                                                                                  'SIGNONREALM' => 'KeyRealmA',
                                                                                                                                                  'SYNCMODE' => 'FULL',
                                                                                                                                                  'OFXSEC' => 'NONE',
                                                                                                                                                  'VER' => '1',
                                                                                                                                                  'TRANSPSEC' => 'Y'
                                                                                                                                                }
                                                                                                                              }
                                                                                                          },
                                                                                          'SIGNONMSGSET' => {
                                                                                                              'SIGNONMSGSETV1' => {
                                                                                                                                    'MSGSETCORE' => {
                                                                                                                                                      'RESPFILEER' => 'Y',
                                                                                                                                                      'URL' => 'https://www.oasis.cfree.com/test.ofxgp',
                                                                                                                                                      'LANGUAGE' => 'ENG',
                                                                                                                                                      'SIGNONREALM' => 'KeyRealmA',
                                                                                                                                                      'SYNCMODE' => 'FULL',
                                                                                                                                                      'OFXSEC' => 'NONE',
                                                                                                                                                      'VER' => '1',
                                                                                                                                                      'TRANSPSEC' => 'Y'
                                                                                                                                                    }
                                                                                                                                  }
                                                                                                            },
                                                                                          'BILLPAYMSGSET' => {
                                                                                                               'BILLPAYMSGSETV1' => {
                                                                                                                                      'PROCDAYSOFF' => [
                                                                                                                                                         'SATURDAY',
                                                                                                                                                         'SUNDAY'
                                                                                                                                                       ],
                                                                                                                                      'XFERDAYSWITH' => '0',
                                                                                                                                      'PROCENDTM' => '235959[-5:EST]',
                                                                                                                                      'DIFFFIRSTPMT' => 'N',
                                                                                                                                      'POSTPROCWND' => '180',
                                                                                                                                      'MODELWND' => '30',
                                                                                                                                      'STSVIAMODS' => 'N',
                                                                                                                                      'CANADDPAYEE' => 'Y',
                                                                                                                                      'DIFFLASTPMT' => 'N',
                                                                                                                                      'CANMODPMTS' => 'Y',
                                                                                                                                      'DAYSWITH' => '0',
                                                                                                                                      'PMTBYPAYEEID' => 'N',
                                                                                                                                      'DFLTDAYSTOPAY' => '4',
                                                                                                                                      'XFERDFLTDAYSTOPAY' => '0',
                                                                                                                                      'PMTBYXFER' => 'N',
                                                                                                                                      'PMTBYADDR' => 'Y',
                                                                                                                                      'HASEXTDPMT' => 'Y',
                                                                                                                                      'CANMODMDLS' => 'N',
                                                                                                                                      'MSGSETCORE' => {
                                                                                                                                                        'RESPFILEER' => 'Y',
                                                                                                                                                        'URL' => 'https://www.oasis.cfree.com/test.ofxgp',
                                                                                                                                                        'LANGUAGE' => 'ENG',
                                                                                                                                                        'SIGNONREALM' => 'KeyRealmA',
                                                                                                                                                        'SYNCMODE' => 'FULL',
                                                                                                                                                        'OFXSEC' => 'NONE',
                                                                                                                                                        'VER' => '1',
                                                                                                                                                        'TRANSPSEC' => 'Y'
                                                                                                                                                      }
                                                                                                                                    }
                                                                                                             },
                                                                                          'BANKMSGSET' => {
                                                                                                            'BANKMSGSETV1' => {
                                                                                                                                'MSGSETCORE' => {
                                                                                                                                                  'RESPFILEER' => 'Y',
                                                                                                                                                  'URL' => 'https://www.oasis.cfree.com/test.ofxgp',
                                                                                                                                                  'LANGUAGE' => 'ENG',
                                                                                                                                                  'SIGNONREALM' => 'KeyRealmA',
                                                                                                                                                  'SYNCMODE' => 'LITE',
                                                                                                                                                  'OFXSEC' => 'NONE',
                                                                                                                                                  'VER' => '1',
                                                                                                                                                  'TRANSPSEC' => 'Y'
                                                                                                                                                },
                                                                                                                                'EMAILPROF' => {
                                                                                                                                                 'CANNOTIFY' => 'N',
                                                                                                                                                 'CANEMAIL' => 'Y'
                                                                                                                                               },
                                                                                                                                'CLOSINGAVAIL' => 'N',
                                                                                                                                'XFERPROF' => {
                                                                                                                                                'PROCDAYSOFF' => [
                                                                                                                                                                   'SATURDAY',
                                                                                                                                                                   'SUNDAY'
                                                                                                                                                                 ],
                                                                                                                                                'DAYSWITH' => '0',
                                                                                                                                                'PROCENDTM' => '165959[-5:EST]',
                                                                                                                                                'DFLTDAYSTOPAY' => '0',
                                                                                                                                                'CANRECUR' => 'N',
                                                                                                                                                'CANSCHED' => 'N',
                                                                                                                                                'CANMODMDLS' => 'N',
                                                                                                                                                'CANMODXFERS' => 'N',
                                                                                                                                                'MODELWND' => '0'
                                                                                                                                              }
                                                                                                                              }
                                                                                                          },
                                                                                          'CREDITCARDMSGSET' => {
                                                                                                                  'CREDITCARDMSGSETV1' => {
                                                                                                                                            'MSGSETCORE' => {
                                                                                                                                                              'RESPFILEER' => 'Y',
                                                                                                                                                              'URL' => 'https://www.oasis.cfree.com/test.ofxgp',
                                                                                                                                                              'LANGUAGE' => 'ENG',
                                                                                                                                                              'SIGNONREALM' => 'KeyRealmA',
                                                                                                                                                              'SYNCMODE' => 'FULL',
                                                                                                                                                              'OFXSEC' => 'NONE',
                                                                                                                                                              'VER' => '1',
                                                                                                                                                              'TRANSPSEC' => 'Y'
                                                                                                                                                            },
                                                                                                                                            'CLOSINGAVAIL' => 'Y'
                                                                                                                                          }
                                                                                                                },
                                                                                          'SIGNUPMSGSET' => {
                                                                                                              'SIGNUPMSGSETV1' => {
                                                                                                                                    'OTHERENROLL' => {
                                                                                                                                                       'MESSAGE' => 'Please contact your financial institution to enroll.'
                                                                                                                                                     },
                                                                                                                                    'CLIENTACTREQ' => 'N',
                                                                                                                                    'MSGSETCORE' => {
                                                                                                                                                      'RESPFILEER' => 'Y',
                                                                                                                                                      'URL' => 'https://www.oasis.cfree.com/test.ofxgp',
                                                                                                                                                      'LANGUAGE' => 'ENG',
                                                                                                                                                      'SIGNONREALM' => 'KeyRealmA',
                                                                                                                                                      'SYNCMODE' => 'FULL',
                                                                                                                                                      'OFXSEC' => 'NONE',
                                                                                                                                                      'VER' => '1',
                                                                                                                                                      'TRANSPSEC' => 'Y'
                                                                                                                                                    },
                                                                                                                                    'AVAILACCTS' => 'N',
                                                                                                                                    'CHGUSERINFO' => 'N'
                                                                                                                                  }
                                                                                                            },
                                                                                          'EMAILMSGSET' => {
                                                                                                             'EMAILMSGSETV1' => {
                                                                                                                                  'GETMIMESUP' => 'N',
                                                                                                                                  'MSGSETCORE' => {
                                                                                                                                                    'RESPFILEER' => 'Y',
                                                                                                                                                    'URL' => 'https://www.oasis.cfree.com/test.ofxgp',
                                                                                                                                                    'LANGUAGE' => 'ENG',
                                                                                                                                                    'SIGNONREALM' => 'KeyRealmA',
                                                                                                                                                    'SYNCMODE' => 'FULL',
                                                                                                                                                    'OFXSEC' => 'NONE',
                                                                                                                                                    'VER' => '1',
                                                                                                                                                    'TRANSPSEC' => 'Y'
                                                                                                                                                  },
                                                                                                                                  'MAILSUP' => 'Y'
                                                                                                                                }
                                                                                                           }
                                                                                        },
                                                                        'STATE' => 'OH',
                                                                        'SIGNONINFOLIST' => {
                                                                                              'SIGNONINFO' => {
                                                                                                                'CHGPINFIRST' => 'Y',
                                                                                                                'MIN' => '4',
                                                                                                                'SIGNONREALM' => 'KeyRealmA',
                                                                                                                'PINCH' => 'Y',
                                                                                                                'MAX' => '8',
                                                                                                                'SPACES' => 'N',
                                                                                                                'CASESEN' => 'Y',
                                                                                                                'CHARTYPE' => 'ALPHAORNUMERIC',
                                                                                                                'SPECIAL' => 'N'
                                                                                                              }
                                                                                            },
                                                                        'POSTALCODE' => '43604'
                                                                      }
                                                        }
                                       },
                     'SIGNONMSGSRSV1' => {
                                           'SONRS' => {
                                                        'LANGUAGE' => 'ENG',
                                                        'DTSERVER' => '20120306161500',
                                                        'STATUS' => {
                                                                      'SEVERITY' => 'INFO',
                                                                      'CODE' => '0'
                                                                    }
                                                      }
                                         }
                   }
        };

I'm stuck.  I know that I need to set a new Pin, but a request like this:

OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:850d12d9c5f74a9fc135fbcbe995936f

<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20120306211742
<USERID>xxxxx
<USERPASS>xxxxx
<LANGUAGE>ENG
<FI>
<ORG>KeyBank
<FID>5901
</FI>
<APPID>QWIN
<APPVER>1900
</SONRQ>
</SIGNONMSGSRQV1>
<SIGNONMSGSRQV1>
<PINCHTRNRQ>
<TRNUID>6879c87f0dd2a3d750c85c71511051e2
<PINCHRQ>
<USERID>xxxxx
<NEWUSERPASS>xxxxx
</PINCHRQ>
</PINCHTRNRQ>
</SIGNONMSGSRQV1>
</OFX>

gets me the same response as above.

Re: Trouble Connection to Key Bank

I updated the URL.  Thanks for the info.

Jesse

4 (edited by smalldognet 2012-05-07 07:51:32)

Re: Trouble Connection to Key Bank

I finally found someone at Key Bank who was able to help me get past my connection roadblock, and wanted to put the information out there for others to know about.

First, the initial URL to use is https://www.oasis.cfree.com/fip/genesis/prod/05901.ofx.  This will return all that nice profile type information about all the services and the specific bank you are requesting information about.

That initial response will have information on other urls to use, in this case SIGNONMSGSET says to use https://www.oasis.cfree.com/test.ofxgp.

Also, it is important to look at the information in SIGNONINFOLIST specifically CHGPINFIRST.  In my case, that value is "Y" which means I need to change my pin on my first connection.

The other VERY important thing to note, is the username to use in my case was NOT the "username" I setup with KeyBank and normally use to connect to other online services, but instead was my TaxID number (EIN or SSN).

So, here is my initial connection data (with applicable information removed for privacy).

OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:aefc37b25848ed1274d251b35a7d262a

<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20120507153110
<USERID>xxxxxx (SSN or EIN)
<USERPASS>xxxx (Initial PIN/Password)
<LANGUAGE>ENG
<FI>
<ORG>Key Bank
<FID>5901
</FI>
<APPID>QWIN
<APPVER>1900
</SONRQ>
<PINCHTRNRQ>
<TRNUID>9d8d92a9a2ad6ae631490e39936f7c1c
<PINCHRQ>
<USERID>xxxxxx (SSN or EIN)
<NEWUSERPASS>xxxx (New Pin)
</PINCHRQ>
</PINCHTRNRQ>
</SIGNONMSGSRQV1>
</OFX>

Hope this helps anyone else who is/was stuck.

Oh, and for Key Bank, you need to go to your online banking area, into Self Service and Enable 3rd Party Connections.  Other banks may have the same requirements as well to unlock your account and open it up for outside access.