{"swagger":"2.0","info":{"description":"Python Flask endpoints to serve bank statement data to front-end","version":"1.0.0","title":"Abbyy Alerts API","contact":{"email":"alexander.caruso@principiscapital.com"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"tags":[{"name":"admins","description":"Secured Admin-only calls"},{"name":"developers","description":"Operations available to regular developers"}],"paths":{"/CustomerAccounts":{"get":{"tags":["developers"],"summary":"Gets customer account info","description":"Gets bank account info by customerId\n","produces":["application/json"],"parameters":[{"in":"query","name":"custId","description":"pass a required customerId to get associated bank account info","required":true,"type":"string"}],"responses":{"200":{"description":"Customer account JSON array","schema":{"type":"array","items":{"$ref":"#/definitions/CustomerAccount"}}},"400":{"description":"bad input parameter"}}}}},"definitions":{"CustomerAccount":{"type":"object","required":["Id","AccountNumber","BankName","AppId","CustomerId","FileName","AccountName"],"properties":{"Id":{"type":"integer","example":3003},"AccountNumber":{"type":"string","example":"212332132321"},"BankName":{"type":"string","example":"Chase"},"AppId":{"type":"integer","example":170000},"CustomerId":{"type":"string","example":"150150"},"FileName":{"type":"string","example":"170000_150150_Bank_Statements_e553994e9dfd461293d90e0ace4ff78c.pdf"},"AccountName":{"type":"string","example":"XYZ Corporation"}}}},"host":"virtserver.swaggerhub.com","basePath":"/PrincipisCapital/AbbyyAlerts/1.0.0","schemes":["https","http"]}