{"info":{"_postman_id":"4c4f69e1-cb07-4843-877c-ea3704e72a63","name":"Finicity APIs","description":"<html><head></head><body><p><img src=\"https://raw.githubusercontent.com/Mastercard/finicity-openapi/main/res/logo.png\" alt=\"\"></p>\n<p>Contact Support:\n Name: Finicity\n Email: <a href=\"mailto:business.development@finicity.com\">business.development@finicity.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"11339178","collectionId":"4c4f69e1-cb07-4843-877c-ea3704e72a63","publishedId":"2s93eYUsLS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-05-08T08:30:29.000Z"},"item":[{"name":"Quick Start","item":[{"name":"Welcome Your First Customer","item":[{"name":"Step 1 - Create Access Token","event":[{"listen":"test","script":{"id":"f8288171-5cc5-4f49-9d63-61c558a54676","exec":["if (pm.response.code == 403) {\r","    throw Error(\"HTTP 403. Make sure you are located in the US, UK or Canada.\")\r","}\r","pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})\r","\r","/* Store the token and expiry date in global variables */\r","const tokenValue = pm.response.json().token\r","const expiryDate = new Date()\r","expiryDate.setMinutes(expiryDate.getMinutes() + 90)\r","pm.globals.set(\"appToken\", tokenValue)\r","pm.globals.set(\"appTokenExpiry\", expiryDate)"],"type":"text/javascript"}}],"id":"25658189-077a-4847-9ad6-096c14ea8f3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"partnerSecret\": \"Xb0dkA6h9fXn5gqLkfrI\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v2/partners/authentication","description":"<p>Send Partner ID and Partner Secret to the Partner Authentication service to obtain a token for accessing Finicity APIs.</p>\n<ul>\n<li>The token is valid for two hours and is required on all calls to the Finicity APIs</li>\n<li>As a best practice, use a single token for all calls. Assign a timestamp for each token, and then check the current timestamp before making any calls. If the token is greater than 90 minutes, generate a new one.</li>\n<li>⚠️ After five failed attempts to authenticate, your account will be locked. Contact <a href=\"mailto:support@finicity.com\">support@finicity.com</a> to get help resetting your account.</li>\n</ul>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","partners","authentication"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"25658189-077a-4847-9ad6-096c14ea8f3e"},{"name":"Step 2 - Add Testing Customer","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(201)\r","})\r","\r","/* Add the created customer ID to the environment */\r","const customerId = pm.response.json().id\r","pm.environment.set(\"customerId\", customerId)"],"type":"text/javascript","id":"f54c9923-8d84-4a73-a1c0-b985b6268744"}}],"id":"1d6ba15b-bb7e-4bd0-acc8-aa95bf0362ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"customer_1778507251\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Smith\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v2/customers/testing","description":"<p>Enroll a testing customer (<a href=\"https://signup.finicity.com/\">Test Drive</a> accounts).</p>\n<p>For using testing customers with FinBank OAuth, you must register a test application with your systems engineer or account manager. Then, use that testing <code>applicationId</code> when creating testing customers.</p>\n<p>Testing Customers can access FinBank profiles (except \"FinBank Billable\" profiles), and cannot access live financial institutions.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","customers","testing"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d6ba15b-bb7e-4bd0-acc8-aa95bf0362ad"},{"name":"Step 3 - Generate Connect URL","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})\r","\r","/* Store the connect URL in global variables */\r","const url = pm.response.json().link\r","pm.globals.set(\"connectUrl\", url)\r",""],"type":"text/javascript","id":"d2ecd16a-1a5a-4194-9ca6-80607c86d670"}}],"id":"03cb4418-145e-4ac8-852d-85acf65c729d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"customerId\": \"6025984717\",\n    \"language\": \"en\",\n    \"consumerId\": \"0bf46322c167b562e6cbed9d40e19a4c\",\n    \"redirectUri\": \"https://www.finicity.com/connect/\",\n    \"webhookContentType\": \"application/json\",\n    \"webhookData\": {},\n    \"webhookHeaders\": {},\n    \"optionalConsumerInfo\": {\n        \"ssn\": \"999999999\",\n        \"dob\": 1607450357\n    },\n    \"singleUseUrl\": true,\n    \"institutionSettings\": {},\n    \"fromDate\": 1607450357,\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/connect/v2/generate","description":"<p>Generate a Connect 2.0 URL link to add within your own applications.</p>\n<p>In option, use the <code>experience</code> parameter to call Connect (per session) in the body of the request. Configure the <code>experience</code> parameter to change the brand color, logo, icon, which credit decisioning report to generate when the Connect application completes, and more.</p>\n<p>Note: contact your Sales Account Team to set up the <code>experience</code> parameter.</p>\n<p>MVS Developers: You can pre-populate the consumer's SSN on the \"Find employment records\" page at the beginning of the MVS payroll app. Pass the SSN value for the consumer in the body of the request call.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["connect","v2","generate"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"03cb4418-145e-4ac8-852d-85acf65c729d"},{"name":"Step 4 - Sign-in to FinBank and submit accounts","id":"7da475c0-0e87-48f1-8e9a-31ab51520d82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"Follow Step 4 here => https://mstr.cd/3Z1ekdU","description":"<p>Follow <a href=\"https://mstr.cd/3Z1ekdU\">Step 4 - Sign-in to FinBank and submit accounts</a></p>\n","urlObject":{"protocol":"Follow Step 4 here => https","path":["3Z1ekdU"],"host":["mstr","cd"],"query":[],"variable":[]}},"response":[],"_postman_id":"7da475c0-0e87-48f1-8e9a-31ab51520d82"},{"name":"Step 5 - Refresh Customer Accounts","event":[{"listen":"test","script":{"id":"f365863a-b22c-4f6b-9b91-6a7b75fb5a7a","exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript"}}],"id":"9148af29-360a-423d-856a-ebe9f308d8e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts","description":"<p>Refresh account and transaction data for all accounts associated with the  given <code>customerId</code> with a connection to the institution.</p>\n<p>Client apps are not permitted to automate calls to the Refresh services. Active accounts are automatically refreshed by Finicity once per day. Because many financial institutions only post transactions once per day, calling Refresh repeatedly is usually a waste of resources and is not recommended.</p>\n<p>Apps may call Refresh services for a specific customer when there is a specific business case for the need of data that is up to date as of the moment. Please discuss with your account manager and systems engineer for further clarification.</p>\n<p>The recommended timeout setting for this request is 120 seconds in order to receive a response. However, you can terminate the connection after making the call the operation will still complete. You will have to pull the account records to check for an updated aggregation attempt date to know when the refresh is complete.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9148af29-360a-423d-856a-ebe9f308d8e0"},{"name":"Step 6 - List Transaction","event":[{"listen":"test","script":{"id":"f365863a-b22c-4f6b-9b91-6a7b75fb5a7a","exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript"}}],"id":"1322ea10-6601-49c1-a9e1-44fc2ee1015e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"},{"key":"Accept","value":"application/json"},{"key":"Finicity-App-Token","value":"{{appToken}}"}],"url":"https://api.finicity.com/aggregation/v3/customers/6025984717/transactions?fromDate=1640995200&toDate=1664620799&includePending=true&sort=desc","description":"<p>Refresh account and transaction data for all accounts associated with the  given <code>customerId</code> with a connection to the institution.</p>\n<p>Client apps are not permitted to automate calls to the Refresh services. Active accounts are automatically refreshed by Finicity once per day. Because many financial institutions only post transactions once per day, calling Refresh repeatedly is usually a waste of resources and is not recommended.</p>\n<p>Apps may call Refresh services for a specific customer when there is a specific business case for the need of data that is up to date as of the moment. Please discuss with your account manager and systems engineer for further clarification.</p>\n<p>The recommended timeout setting for this request is 120 seconds in order to receive a response. However, you can terminate the connection after making the call the operation will still complete. You will have to pull the account records to check for an updated aggregation attempt date to know when the refresh is complete.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v3","customers","6025984717","transactions"],"host":["https://api.finicity.com"],"query":[{"key":"fromDate","value":"1640995200"},{"key":"toDate","value":"1664620799"},{"key":"includePending","value":"true"},{"key":"sort","value":"desc"}],"variable":[]}},"response":[],"_postman_id":"1322ea10-6601-49c1-a9e1-44fc2ee1015e"}],"id":"c2eb9c73-c33e-40ef-8e84-2585c84fdc15","description":"<p>Steps from the <a href=\"https://developer.mastercard.com/open-banking-us/documentation/quick-start-guide/#2-welcome-your-first-customer\">Quick Start Guide</a> to create a test customer and share some test accounts with Mastercard Open Banking. The corresponding Customer ID can then be used for retrieving account and financial data.</p>\n","_postman_id":"c2eb9c73-c33e-40ef-8e84-2585c84fdc15"}],"id":"ac67e4e5-87d0-4bf7-a76c-9c434210a18f","description":"<p>Steps from the <a href=\"https://developer.mastercard.com/open-banking-us/documentation/quick-start-guide/#2-welcome-your-first-customer\">Quick Start Guide</a> to create a test customer and share some test accounts with Mastercard Open Banking. The corresponding Customer ID can then be used for retrieving account and financial data.</p>\n","_postman_id":"ac67e4e5-87d0-4bf7-a76c-9c434210a18f"},{"name":"All APIs","item":[{"name":"Accounts","item":[{"name":"Get Customer Accounts by Institution Login ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"d79c65d7-39ec-4f90-925a-bc70d7f0a1a0"}}],"id":"9f15a67e-a457-4148-a774-1c364e5c4a81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/institutionLogins/{{institutionLoginId}}/accounts","description":"<p>Get all accounts associated with the given institution login. All accounts returned are accessible by a single set of credentials on a single institution.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","institutionLogins","{{institutionLoginId}}","accounts"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"4b1fd281-a01a-4e09-b8c3-d7f9817822d4","name":"The account list was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"b1d04408-a546-46db-b19a-819ddd67436e","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"48ddcfdc-98fb-4831-9f38-5784e940aef5","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"ddfa8ed7-08ae-4445-8fa6-c1caebb7e79c","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"9f15a67e-a457-4148-a774-1c364e5c4a81"},{"name":"Refresh Customer Accounts by Institution Login ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"9881e16e-8a08-4735-b03d-1791a6a6a52a"}}],"id":"fe0813fc-4026-4ffb-bbc0-777d60098099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/institutionLogins/{{institutionLoginId}}/accounts","description":"<p>Refresh account and transaction data for all accounts associated with a given <code>institutionLoginId</code> with a connection to the institution.</p>\n<p>Client apps are not permitted to automate calls to the Refresh services. Active accounts are automatically refreshed by Finicity once per day. Because many financial institutions only post transactions once per day, calling Refresh repeatedly is usually a waste of resources and is not recommended.</p>\n<p>Apps may call Refresh services for a specific customer when there is a specific business case for the need of data that is up to date as of the moment. Please discuss with your account manager and systems engineer for further clarification.</p>\n<p>The recommended timeout setting for this request is 120 seconds in order to receive a response. However, you can terminate the connection after making the call the operation will still complete. You will have to pull the account records to check for an updated aggregation attempt date to know when the refresh is complete.</p>\n<p>Note: This service is not available for all tiers of dynamic billing.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","institutionLogins","{{institutionLoginId}}","accounts"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"1b0dcd35-3b2f-4df5-a521-fd900a54f55d","name":"The account list was successfully refreshed","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"2bcdb5a3-5473-438b-823b-ae2a75f03c6f","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"23fc7cb3-e4d7-4ad5-9b39-36cc378845b0","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"54f409e9-a7b9-458e-a90b-a2171b62044b","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"fe0813fc-4026-4ffb-bbc0-777d60098099"},{"name":"Refresh Customer Accounts by Institution Login ID for Dynamic Billing","id":"123d6de5-5c1b-4be9-be2f-efc20bb66c6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"default"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"default"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v2/customers/6025984717/institutionLogins/{{institutionLoginId}}/accounts","description":"<p>Refresh account and transaction data for all accounts associated with a given 'institutionLoginId` with a connection to the institution. Client apps are not permitted to automate calls to the Refresh services. Active accounts are automatically refreshed by Finicity once per day.</p>\n<p>Apps may call Refresh services for a specific customer when there is a specific business case for the need of data that is up to date as of the moment. Please discuss with your account manager and systems engineer for further clarification.</p>\n<p>Note: This service will be used for dynamic billing tiers ASD, AFD and ATD.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","customers","6025984717","institutionLogins","{{institutionLoginId}}","accounts"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"81d6a613-519b-45e4-aeca-b75790bcf01a","name":"The account list was successfully refreshed","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"83c55b22-0133-4450-89b6-ba4f2b5bd8ce","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"72788dd6-caae-4d03-ac70-b47a6ef05fb2","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"},{"id":"4e214d6f-a685-484b-b9bf-0cdbee534f36","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/institutionLogins/:institutionLoginId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","institutionLogins",":institutionLoginId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"123d6de5-5c1b-4be9-be2f-efc20bb66c6c"},{"name":"Delete Customer Accounts by Institution Login ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(404)\r","})"],"type":"text/javascript","id":"9193d058-57ce-431c-b99d-428471a3da11"}}],"id":"284e2e4f-8a6c-4d67-8606-1162d0875666","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/institutionLogins/1234","description":"<p>Remove from Finicity aggregation the set of accounts matching the institution login ID.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","institutionLogins","1234"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"2cb8b2df-a661-4425-bf31-7aab002bc54b","name":"The customer accounts were successfully deleted","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d5e5c8b6-5369-446d-95ce-c0518a817646","name":"The request was rejected","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"9c1076b0-063f-48cc-bbc5-f294b38d8ee0","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"a3b56da3-0a52-473f-ae01-13bd9eef36b9","name":"The resource doesn't exist","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"284e2e4f-8a6c-4d67-8606-1162d0875666"},{"name":"Get Customer Account by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"6c1de7e2-6ab1-4888-914c-492087656692"}}],"id":"0829d0ef-b27c-429d-8d51-284294e43840","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v2/customers/6025984717/accounts/{{accountId}}","description":"<p>Get a customer account by ID.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","customers","6025984717","accounts","{{accountId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"5fcb428c-52a6-447c-a408-a210256f2091","name":"The account was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"1c559852-98e3-49cc-94c6-e07ab1cb9b7f","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"ad4a1ac7-e60f-4c54-bcde-49e84cf3d0c7","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"647ac105-b4a8-48bd-bac4-2e2160eac2be","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"0829d0ef-b27c-429d-8d51-284294e43840"},{"name":"Delete Customer Account by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(404)\r","})"],"type":"text/javascript","id":"062fc752-de83-485b-b861-3a4e9b2037dc"}}],"id":"0de61e71-3221-4760-a539-8641bbd3b9f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/1234","description":"<p>Remove the given account from Finicity aggregation.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","1234"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"f5f130d0-0cf5-45c3-b496-d2ecb6328d67","name":"The customer account was successfully deleted","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"6f78f8a2-c9f6-4eb2-89ba-95a8d0e231e9","name":"The request was rejected","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"2997dbba-1df1-4506-ad43-d3153a77b538","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"153c6173-13f5-4a26-9828-d3dcc3a64683","name":"The resource doesn't exist","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"0de61e71-3221-4760-a539-8641bbd3b9f4"},{"name":"Get Customer Accounts","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"b03ecf15-3d98-4ebb-8455-ed4041ea84c5"}}],"id":"291f28cf-bfa7-40ec-aba1-204c0e995d67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts","description":"<p>Get all accounts owned by the given customer.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A filter to fetch account in the given status</p>\n","type":"text/plain"},"key":"status","value":"pending"}],"variable":[]}},"response":[{"id":"c611860e-59f9-471a-a182-2824908fecd4","name":"The account list was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts?status=pending","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts"],"query":[{"key":"status","value":"pending"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"8c2eab91-5978-4094-92d8-b9d00ac6948b","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts?status=pending","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts"],"query":[{"key":"status","value":"pending"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"0d91f1a6-67f3-46fa-9e02-d130901b31ca","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts?status=pending","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts"],"query":[{"key":"status","value":"pending"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"06ce616f-0ed5-42e6-af1e-8ecd0f620298","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts?status=pending","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts"],"query":[{"key":"status","value":"pending"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"291f28cf-bfa7-40ec-aba1-204c0e995d67"},{"name":"Refresh Customer Accounts","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"a71ebee7-d9e0-4925-9379-cb10031c6518"}}],"id":"e991fe39-2d1e-436d-91d3-6d01f3518995","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts","description":"<p>Refresh account and transaction data for all accounts associated with the  given <code>customerId</code> with a connection to the institution.</p>\n<p>Client apps are not permitted to automate calls to the Refresh services. Active accounts are automatically refreshed by Finicity once per day. Because many financial institutions only post transactions once per day, calling Refresh repeatedly is usually a waste of resources and is not recommended.</p>\n<p>Apps may call Refresh services for a specific customer when there is a specific business case for the need of data that is up to date as of the moment. Please discuss with your account manager and systems engineer for further clarification.</p>\n<p>The recommended timeout setting for this request is 120 seconds in order to receive a response. However, you can terminate the connection after making the call the operation will still complete. You will have to pull the account records to check for an updated aggregation attempt date to know when the refresh is complete.</p>\n<p>Note: This service is not available for all tiers of dynamic billing.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"dc743f72-e809-4411-9189-8a5115315c1e","name":"The account list was successfully refreshed","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"7393e077-f738-46f9-9d03-f22c8ac19180","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"dd84997c-73f2-4c37-8dd1-49ae8164e455","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"6af2bcc7-ae21-413a-bd3b-8837049f71c7","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"e991fe39-2d1e-436d-91d3-6d01f3518995"},{"name":"Refresh Customer Accounts For Dynamic Billing","id":"0a91b66d-ceec-4b53-a429-02776be095f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"default"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"default"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v2/customers/6025984717/accounts","description":"<p>Refresh account and transaction data for all accounts associated with the  given <code>customerId</code> with a connection to the institution.</p>\n<p>Client apps are not permitted to automate calls to the Refresh services. Active accounts are automatically refreshed by Finicity once per day.\nApps may call Refresh services for a specific customer when there is a specific business case for the need of data that is up to date as of the moment. Please discuss with your account manager and systems engineer for further clarification.</p>\n<p>Note: This service will be used for dynamic billing tiers ASD, AFD and ATD.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","customers","6025984717","accounts"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"85383a3e-5bd3-4b2c-bbbe-280478c8bb8f","name":"The account list was successfully refreshed","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e56e83a5-89c0-44aa-90f2-6b251c84bf7a","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"6411c7ef-a80d-49c7-8124-1ce9ce5a52db","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"},{"id":"06b10273-65ad-4c36-ad27-0ce3d4fff0d2","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"0a91b66d-ceec-4b53-a429-02776be095f9"},{"name":"Get Customer Accounts by Institution ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"707958c7-488e-4918-91f3-a2d843e56f2b"}}],"id":"f3061194-28d3-4dca-a3b9-137fbae383cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/institutions/{{institutionId}}/accounts","description":"<p>Get all active accounts owned by the given customer at the given institution.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","institutions","{{institutionId}}","accounts"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"8b36cfae-f864-4a9d-b8c2-080ee6767c14","name":"The account list was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutions/:institutionId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutions",":institutionId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"6ae744aa-a3f0-4f39-9163-594543f93934","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutions/:institutionId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutions",":institutionId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"b8f1e51a-205a-4383-8db9-290aab11287f","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutions/:institutionId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutions",":institutionId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"da146227-f7b8-4210-8790-5ecdd8196d2f","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutions/:institutionId/accounts","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutions",":institutionId","accounts"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"f3061194-28d3-4dca-a3b9-137fbae383cb"}],"id":"dbe82c34-14e7-4136-b242-7482cb9087d8","description":"<p>Fetch or refresh customer accounts</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","","const institutionLoginId = pm.variables.get(\"institutionLoginId\")","const institutionId = pm.variables.get(\"institutionId\")","const accountId = pm.variables.get(\"accountId\")","if (institutionLoginId && institutionId && accountId) {","    return","}","","","console.log(\"Fetching account ID, institution ID and institution login ID ...\")","const options = {","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts\",","    method: 'GET',","    header: {","        \"Accept\": \"application/json\",","        \"Finicity-App-Key\": appKey,","        \"Finicity-App-Token\": appToken","    }","}","pm.sendRequest(options, function (err, response) {","    pm.expect(err).to.be.null","    pm.expect(response.code).to.equals(200)","    const account = response.json().accounts[0]","    pm.variables.set(\"institutionLoginId\", account.institutionLoginId)","    pm.variables.set(\"institutionId\", account.institutionId)","    pm.variables.set(\"accountId\", account.id)","})"],"id":"2a8fe631-78f5-4660-914b-92b3a7f4c750"}}],"_postman_id":"dbe82c34-14e7-4136-b242-7482cb9087d8"},{"name":"Accounts (Simple)","item":[{"name":"Get Customer Accounts by Institution ID (Simple)","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"cce87a27-7783-42be-9e0e-8403598f5ab0"}}],"id":"62aa2f89-f62b-44d6-b076-b1fa97791ff0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"default"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"default"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/institutions/{{institutionLoginId}}/accounts/simple","description":"<p>This API is a lighter version of Get Customer Accounts by Institution ID, returning only basic information of active accounts owned by the given customer at the given institution.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","institutions","{{institutionLoginId}}","accounts","simple"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"ee6bbe52-d987-4386-b564-59ceda97968e","name":"The account list was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutions/:institutionId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutions",":institutionId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"74228f8a-7a97-4c4a-be4d-97f88813bb27","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutions/:institutionId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutions",":institutionId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"eefe672a-423a-4f5c-87c5-d6f5580660fd","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutions/:institutionId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutions",":institutionId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"},{"id":"7908e9b9-e6fb-4e54-a70f-9d2aaa3861c2","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutions/:institutionId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutions",":institutionId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"62aa2f89-f62b-44d6-b076-b1fa97791ff0"},{"name":"Get Customer Accounts by Institution Login ID (Simple)","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"69788189-7408-4ad2-9feb-e6287117d11e"}}],"id":"e25f7532-ab27-4598-9bc5-46ff6c24e298","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/institutionLogins/{{institutionLoginId}}/accounts/simple","description":"<p>This API is a lighter version of Get Customer Accounts by Institution Login ID, returning only basic information of all active accounts owned by the given customer at the given institution login ID.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","institutionLogins","{{institutionLoginId}}","accounts","simple"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"072d22cf-6f10-4ea7-8704-c9bd5a7dd9bd","name":"The account list was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"e1fc9d29-bde6-46ed-8141-b843972afb02","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"8556592c-4d0b-45ef-8e52-e14871f4f7e5","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"},{"id":"66af7f00-63e5-492c-a660-292abb9baa2c","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/institutionLogins/:institutionLoginId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","institutionLogins",":institutionLoginId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"e25f7532-ab27-4598-9bc5-46ff6c24e298"},{"name":"Get Customer Account by ID (Simple)","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"dcb98237-03f1-4274-bca0-75200c5f6a06"}}],"id":"13cb1e3e-39cd-4fd2-93cc-3c7a85f170f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{accountId}}/simple","description":"<p>This API is a lighter version of Get Customer Accounts by ID, returning only basic information of a customer account.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{accountId}}","simple"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"a3c18a02-d783-4e93-8438-8d11817644ef","name":"The account was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"0761e46f-77ee-4721-91ba-02ca385eb502","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"a61a351e-806f-40d6-813a-8f2ea6b802fe","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"},{"id":"9f9cc94f-c59a-40f4-9911-d4402b3de7c5","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"13cb1e3e-39cd-4fd2-93cc-3c7a85f170f4"},{"name":"Get Customer Accounts (Simple)","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"3b2a0f9a-604d-4c9e-ab8e-ae27ca0135de"}}],"id":"4f98a840-19fb-4ea5-b8a9-51a03fc232fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/simple","description":"<p>This API is a lighter version of Get Customer Accounts, returning only basic information of all active customer accounts.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","simple"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"f6cb5a73-ef32-443f-98b0-22489e454616","name":"The account list was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"1d23edff-e378-4b42-a1d2-0475deb45416","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"b8e854a1-2322-4347-8dab-4498d2e9b767","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"},{"id":"c852c366-241a-48ed-b4c4-f896cc5aa860","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/simple","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts","simple"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"4f98a840-19fb-4ea5-b8a9-51a03fc232fb"}],"id":"569a3920-cbc0-4add-9872-4d318c5acf79","description":"<p>Fetch simple customer accounts</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","","const institutionLoginId = pm.variables.get(\"institutionLoginId\")","const institutionId = pm.variables.get(\"institutionId\")","const accountId = pm.variables.get(\"accountId\")","if (institutionLoginId && institutionId && accountId) {","    return","}","","","console.log(\"Fetching account ID, institution ID and institution login ID ...\")","const options = {","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts\",","    method: 'GET',","    header: {","        \"Accept\": \"application/json\",","        \"Finicity-App-Key\": appKey,","        \"Finicity-App-Token\": appToken","    }","}","pm.sendRequest(options, function (err, response) {","    pm.expect(err).to.be.null","    pm.expect(response.code).to.equals(200)","    const account = response.json().accounts[0]","    pm.variables.set(\"institutionLoginId\", account.institutionLoginId)","    pm.variables.set(\"institutionId\", account.institutionId)","    pm.variables.set(\"accountId\", account.id)","})"],"id":"d49a7fe0-bf1a-4f20-9dee-a9673d5b139c"}}],"_postman_id":"569a3920-cbc0-4add-9872-4d318c5acf79"},{"name":"App Registration","item":[{"name":"Register App","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(201)\r","})"],"type":"text/javascript","id":"ebedc921-bd3e-4ed5-897d-640dfa795f1e"}}],"id":"d814738b-8125-46fd-88ed-8012dcf63b91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"appDescription\": \"The app that makes your budgeting experience awesome\",\n    \"appName\": \"Awesome Budget App_71d98183-990b-401d-99a6-ebcba599f962\",\n    \"appUrl\": \"https://www.finicity.com/\",\n    \"ownerAddressLine1\": \"434 W Ascension Way\",\n    \"ownerAddressLine2\": \"Suite #200\",\n    \"ownerCity\": \"Murray\",\n    \"ownerCountry\": \"USA\",\n    \"ownerName\": \"Finicity\",\n    \"ownerPostalCode\": \"84123\",\n    \"ownerState\": \"UT\",\n    \"image\": \"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgICAKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB2ZXJzaW9uPSIxLjEiCiAgIHZpZXdCb3g9IjAgMCAwIDAiCiAgIGhlaWdodD0iMCIKICAgd2lkdGg9IjAiPgogICAgPGcvPgo8L3N2Zz4K\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/partners/applications","description":"<p>Register a new application to access financial institutions using OAuth connections.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","partners","applications"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"b2c8485d-434e-4956-a30e-514495386ba6","name":"The app registration was successfully created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v1/partners/applications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"40b8c9b6-5d0b-44cc-8be6-0fe0309c76b4","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v1/partners/applications"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"f8f8f54c-dddd-444e-b5e0-af2a40104fa5","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v1/partners/applications"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"d814738b-8125-46fd-88ed-8012dcf63b91"},{"name":"Modify App Registration","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200 )\r","})"],"type":"text/javascript","id":"038772e5-7eab-41a0-a243-042791208f88"}},{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","// Register a test app we will update later\r","console.log(\"Registering test app ...\")\r","const options = {\r","    url:  baseUrl + \"/aggregation/v1/partners/applications\", \r","    method: 'POST',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Content-type\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    },\r","    body: JSON.stringify({\r","        \"appDescription\": \"The app that makes your budgeting experience awesome\",\r","        \"appName\": \"Awesome Budget App_\" + pm.variables.replaceIn(\"0026014b-61ca-4c8a-b95a-5c154fca948b\"),\r","        \"appUrl\": \"https://www.finicity.com/\",\r","        \"ownerAddressLine1\": \"434 W Ascension Way\",\r","        \"ownerAddressLine2\": \"Suite #200\",\r","        \"ownerCity\": \"Murray\",\r","        \"ownerCountry\": \"USA\",\r","        \"ownerName\": \"Finicity\",\r","        \"ownerPostalCode\": \"84123\",\r","        \"ownerState\": \"UT\",\r","        \"image\": \"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgICAKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB2ZXJzaW9uPSIxLjEiCiAgIHZpZXdCb3g9IjAgMCAwIDAiCiAgIGhlaWdodD0iMCIKICAgd2lkdGg9IjAiPgogICAgPGcvPgo8L3N2Zz4K\"\r","    })\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.expect(err).to.be.null\r","    pm.expect(response.code).to.equals(201)\r","    pm.variables.set(\"preAppId\", response.json().preAppId)\r","})"],"type":"text/javascript","id":"41fcfabf-edce-4ee2-a972-60cfa9f3ac0c"}}],"id":"cc2b0bf4-5b74-4a0e-9643-5038094269ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"appDescription\": \"The app that makes your budgeting experience awesome\",\n    \"appName\": \"Awesome Budget App_412d0270-63c6-4f8d-b8c2-95baaeb2a902\",\n    \"appUrl\": \"https://www.finicity.com/\",\n    \"ownerAddressLine1\": \"434 W Ascension Way\",\n    \"ownerAddressLine2\": \"Suite #200\",\n    \"ownerCity\": \"Murray\",\n    \"ownerCountry\": \"USA\",\n    \"ownerName\": \"Finicity\",\n    \"ownerPostalCode\": \"84123\",\n    \"ownerState\": \"UT\",\n    \"image\": \"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgICAKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB2ZXJzaW9uPSIxLjEiCiAgIHZpZXdCb3g9IjAgMCAwIDAiCiAgIGhlaWdodD0iMCIKICAgd2lkdGg9IjAiPgogICAgPGcvPgo8L3N2Zz4K\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/partners/applications/{{preAppId}}","description":"<p>Update a registered application.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","partners","applications","{{preAppId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"3bb387f7-0211-452a-a8c7-da851b1e97a5","name":"The app registration was updated","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/applications/:preAppId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","applications",":preAppId"],"variable":[{"key":"preAppId","value":"2581","description":"(Required) The application registration tracking ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"35a153c0-022a-48cf-bfd1-60f4cc96e667","name":"The request was rejected","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/applications/:preAppId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","applications",":preAppId"],"variable":[{"key":"preAppId","value":"2581","description":"(Required) The application registration tracking ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"38785008-a989-4ffe-93be-23a1b7dc56e1","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/applications/:preAppId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","applications",":preAppId"],"variable":[{"key":"preAppId","value":"2581","description":"(Required) The application registration tracking ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"ba3b1500-3a60-408f-b775-8e97bf2a9ed8","name":"The resource doesn't exist","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/applications/:preAppId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","applications",":preAppId"],"variable":[{"key":"preAppId","value":"2581","description":"(Required) The application registration tracking ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"cc2b0bf4-5b74-4a0e-9643-5038094269ac"},{"name":"Get App Registration Status","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"315a6269-b531-47fe-9d0c-d639794e96d9"}}],"id":"8b3df70e-cff5-4d62-a3a8-9a239b797af2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v2/partners/applications","description":"<p>Get the status of your application registration(s).</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","partners","applications"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>The application registration tracking ID</p>\n","type":"text/plain"},"key":"preAppId","value":"2581"},{"disabled":true,"description":{"content":"<p>The application ID</p>\n","type":"text/plain"},"key":"applicationId","value":"123456789"},{"disabled":true,"description":{"content":"<p>Look up app registration requests by status</p>\n","type":"text/plain"},"key":"status","value":"P"},{"disabled":true,"description":{"content":"<p>Look up app registration requests by app name</p>\n","type":"text/plain"},"key":"appName","value":"Awesome Budget App"},{"disabled":true,"description":{"content":"<p>Look up app registration requests by the date they were submitted</p>\n","type":"text/plain"},"key":"submittedDate","value":"1607450357"},{"disabled":true,"description":{"content":"<p>Look up app registration requests by the date the request was updated. This can be used to determine when a request was updated to \"A\" or \"R\".</p>\n","type":"text/plain"},"key":"modifiedDate","value":"1607450357"},{"disabled":true,"description":{"content":"<p>Index of the page of results to return</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>Maximum number of results per page</p>\n","type":"text/plain"},"key":"pageSize","value":"20"}],"variable":[]}},"response":[{"id":"6ae35ca6-a980-4f56-9c9c-7bc21877484b","name":"The app registration statuses were returned","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/partners/applications?preAppId=2581&applicationId=123456789&status=P&appName=Awesome Budget App&submittedDate=1607450357&modifiedDate=1607450357&page=1&pageSize=20","host":["https://api.finicity.com"],"path":["aggregation","v2","partners","applications"],"query":[{"key":"preAppId","value":"2581"},{"key":"applicationId","value":"123456789"},{"key":"status","value":"P"},{"key":"appName","value":"Awesome Budget App"},{"key":"submittedDate","value":"1607450357"},{"key":"modifiedDate","value":"1607450357"},{"key":"page","value":"1"},{"key":"pageSize","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"085d066b-391a-4016-9ac6-09fb473e5727","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/partners/applications?preAppId=2581&applicationId=123456789&status=P&appName=Awesome Budget App&submittedDate=1607450357&modifiedDate=1607450357&page=1&pageSize=20","host":["https://api.finicity.com"],"path":["aggregation","v2","partners","applications"],"query":[{"key":"preAppId","value":"2581"},{"key":"applicationId","value":"123456789"},{"key":"status","value":"P"},{"key":"appName","value":"Awesome Budget App"},{"key":"submittedDate","value":"1607450357"},{"key":"modifiedDate","value":"1607450357"},{"key":"page","value":"1"},{"key":"pageSize","value":"20"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"d244ebe8-7e15-4225-b594-e44ab0c25e66","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/partners/applications?preAppId=2581&applicationId=123456789&status=P&appName=Awesome Budget App&submittedDate=1607450357&modifiedDate=1607450357&page=1&pageSize=20","host":["https://api.finicity.com"],"path":["aggregation","v2","partners","applications"],"query":[{"key":"preAppId","value":"2581"},{"key":"applicationId","value":"123456789"},{"key":"status","value":"P"},{"key":"appName","value":"Awesome Budget App"},{"key":"submittedDate","value":"1607450357"},{"key":"modifiedDate","value":"1607450357"},{"key":"page","value":"1"},{"key":"pageSize","value":"20"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"84d1a51e-b162-4409-bfe3-a82805b06431","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/partners/applications?preAppId=2581&applicationId=123456789&status=P&appName=Awesome Budget App&submittedDate=1607450357&modifiedDate=1607450357&page=1&pageSize=20","host":["https://api.finicity.com"],"path":["aggregation","v2","partners","applications"],"query":[{"key":"preAppId","value":"2581"},{"key":"applicationId","value":"123456789"},{"key":"status","value":"P"},{"key":"appName","value":"Awesome Budget App"},{"key":"submittedDate","value":"1607450357"},{"key":"modifiedDate","value":"1607450357"},{"key":"page","value":"1"},{"key":"pageSize","value":"20"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"8b3df70e-cff5-4d62-a3a8-9a239b797af2"},{"name":"Set Customer App ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    // \"invalid application id\"\r","    pm.expect(pm.response.code).to.equals(400)\r","})"],"type":"text/javascript","id":"9d6ce23e-b608-4bbe-a0a0-0f834d2e622d"}}],"id":"f1a2c89e-a05e-4b6f-bed0-23f38aa4800b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/applications/:applicationId","description":"<p>If you have multiple applications for a single client, and you want to register their applications to access financial institutions using OAuth connections, then use this API to assign applications to an existing customer.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","applications",":applicationId"],"host":["https://api.finicity.com"],"query":[],"variable":[{"id":"a01e17a0-64b7-4eda-bdf9-6a8357e80bb2","type":"any","value":"1234","key":"applicationId"}]}},"response":[{"id":"311902d8-1b52-4110-b0bb-ad54c0c45041","name":"The app was successfully assigned","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/applications/:applicationId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","applications",":applicationId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"applicationId","value":"123456789","description":"(Required) The application ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"0f570396-35dc-49f0-baeb-2249ea9b508c","name":"The request was rejected","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/applications/:applicationId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","applications",":applicationId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"applicationId","value":"123456789","description":"(Required) The application ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"fbe8e537-035d-456f-9389-36f660df18ac","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/applications/:applicationId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","applications",":applicationId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"applicationId","value":"123456789","description":"(Required) The application ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"c5726661-a645-40ed-a254-646f5dc2cf8f","name":"The resource doesn't exist","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/applications/:applicationId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","applications",":applicationId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"applicationId","value":"123456789","description":"(Required) The application ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"f1a2c89e-a05e-4b6f-bed0-23f38aa4800b"},{"name":"Migrate Institution Login Accounts","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    // \"Customer does not have any accounts associated with institutionLoginId = (1234)\"\r","    pm.expect(pm.response.code).to.equals(404)\r","})"],"type":"text/javascript","id":"ee8c76c1-99cc-41b9-bb90-2eedceb88943"}}],"id":"9676ce79-5bcb-4397-8662-d56e92d9d233","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v2/customers/6025984717/institutionLogins/1234/migration","description":"<p>The <code>institutionLoginId</code> parameter uses Finicity's internal FI mapping to move accounts from the current FI legacy connection to the new OAuth FI connection.</p>\n<p>This API returns a list of accounts for the given institution login ID.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","customers","6025984717","institutionLogins","1234","migration"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"6f7af4de-ee4b-4753-8fef-08c163b6088e","name":"The migration succeeded","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/institutionLogins/:institutionLoginId/migration","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","institutionLogins",":institutionLoginId","migration"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"65160d99-4796-4f54-822b-9d3ed6d6e4f9","name":"The request was rejected","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/institutionLogins/:institutionLoginId/migration","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","institutionLogins",":institutionLoginId","migration"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"97a5ebe7-ca5a-4001-967f-6efcdf4adb92","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/institutionLogins/:institutionLoginId/migration","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","institutionLogins",":institutionLoginId","migration"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"c6d3dfc7-f367-4e83-86a3-c4b350d75a01","name":"The resource doesn't exist","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/institutionLogins/:institutionLoginId/migration","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","institutionLogins",":institutionLoginId","migration"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"institutionLoginId","value":"1007302745","description":"(Required) The institution login ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"9676ce79-5bcb-4397-8662-d56e92d9d233"}],"id":"a515fd82-2051-4be2-8540-19de0d6ebfa5","description":"<p>Register and assign apps to customers</p>\n","_postman_id":"a515fd82-2051-4be2-8540-19de0d6ebfa5"},{"name":"Assets","item":[{"name":"Get Asset by Customer and ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"a8b021a5-13bb-4b28-b897-a1d5861c4f4d"}},{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const customerId = pm.environment.get(\"customerId\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","const assetId = pm.variables.get(\"assetId\")\r","if (assetId) {\r","    return\r","}\r","\r","console.log(\"Creating asset ID ...\")\r","const options = {\r","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/payStatements\",\r","    method: 'POST',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Content-Type\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    },\r","    body: JSON.stringify({\r","        \"label\": \"lastPayPeriod\",\r","        \"statement\": \"VGhpcyBtdXN0IGJlIGFuIGltYWdl\"\r","    })\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.expect(err).to.be.null\r","    pm.expect(response.code).to.equals(200)\r","    pm.variables.set(\"assetId\", response.json().assetId)\r","})"],"type":"text/javascript","id":"9e7a2725-8267-409c-aefb-642bd3b6e6c0"}}],"id":"e56a5e79-c8ec-4ba2-a9f4-6421244951d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/assets/{{assetId}}","description":"<p>Retrieve a binary file for the given asset ID.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","assets","{{assetId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"9ff89dfd-d229-435b-ad2b-41fbfab4593f","name":"The asset was successfully downloaded","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/assets/:assetId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","assets",":assetId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"assetId","value":"097545c5-1c2a-4f20-a5ef-77f0820344c9-2018601178","description":"(Required) The asset ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/octet-stream"}],"cookie":[],"responseTime":null,"body":""},{"id":"8c896cca-fa91-4e16-84d0-8a9835a654fd","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/assets/:assetId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","assets",":assetId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"assetId","value":"097545c5-1c2a-4f20-a5ef-77f0820344c9-2018601178","description":"(Required) The asset ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"c3fe075d-2e0a-422e-a618-6685240fa284","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/assets/:assetId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","assets",":assetId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"assetId","value":"097545c5-1c2a-4f20-a5ef-77f0820344c9-2018601178","description":"(Required) The asset ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"2ce75c11-30b7-4970-a31c-e43b35293ad8","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/assets/:assetId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","assets",":assetId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"assetId","value":"097545c5-1c2a-4f20-a5ef-77f0820344c9-2018601178","description":"(Required) The asset ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"e56a5e79-c8ec-4ba2-a9f4-6421244951d7"}],"id":"4d7028c3-42bf-4f32-be28-01ef6ac370db","description":"<p>Download asset files</p>\n","_postman_id":"4d7028c3-42bf-4f32-be28-01ef6ac370db"},{"name":"Authentication","item":[{"name":"Create Access Token","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"e65e543b-0a26-41f1-af66-5589e275c555"}}],"id":"426c2db4-0e41-4cd9-a8fa-c057113a8e3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"partnerSecret\": \"Xb0dkA6h9fXn5gqLkfrI\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v2/partners/authentication","description":"<p>Send Partner ID and Partner Secret to the Partner Authentication service to obtain a token for accessing Finicity APIs.</p>\n<ul>\n<li>The token is valid for two hours and is required on all calls to the Finicity APIs</li>\n<li>As a best practice, use a single token for all calls. Assign a timestamp for each token, and then check the current timestamp before making any calls. If the token is greater than 90 minutes, generate a new one.</li>\n<li>⚠️ After five failed attempts to authenticate, your account will be locked. Contact <a href=\"mailto:support@finicity.com\">support@finicity.com</a> to get help resetting your account.</li>\n</ul>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","partners","authentication"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"0a955f88-ffa7-412e-a692-4fe1ffbd18a9","name":"The access token was successfully created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/partners/authentication"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"357a0357-348d-4154-9e6e-88eb23ed7ca6","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/partners/authentication"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"9fdb5fa9-10ce-4a77-86e1-ed013402099b","name":"The request lacks valid authentication credentials. Check Partner ID, Partner Secret or Finicity-App-Key.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/partners/authentication"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10026,\n \"message\": \"Missing parameter (Finicity-App-Key)\"\n}"}],"_postman_id":"426c2db4-0e41-4cd9-a8fa-c057113a8e3f"},{"name":"Modify Partner Secret","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(204)\r","})\r","\r","console.log(\"Request successful. Reverting partner secret ...\")\r","const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const partnerId = pm.environment.get(\"partnerId\")\r","const partnerSecret = pm.environment.get(\"partnerSecret\")\r","const appKey = pm.environment.get(\"appKey\")\r","const appToken = pm.collectionVariables.get(\"appToken\")\r","\r","const options = {\r","    url:  baseUrl + \"/aggregation/v2/partners/authentication\", \r","    method: 'PUT',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Content-type\": \"application/json\",\r","        \"Finicity-App-Key\": appKey\r","    },\r","    body: JSON.stringify({\r","            \"partnerId\": partnerId,\r","            \"partnerSecret\": partnerSecret + \"_updated\",\r","            \"newPartnerSecret\": partnerSecret\r","        })\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.test(\"Clean-up\", function () {\r","        pm.expect(err).to.be.null\r","        pm.expect(response.code).to.equal(204)\r","    })\r","})"],"type":"text/javascript","id":"2e2b7386-55c4-41a9-85f2-06fcb676e426"}}],"id":"782a1b36-ac55-4d8f-bf89-652a7d31070a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"partnerSecret\": \"Xb0dkA6h9fXn5gqLkfrI\",\n    \"newPartnerSecret\": \"Xb0dkA6h9fXn5gqLkfrI_updated\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v2/partners/authentication","description":"<p>Change the Partner Secret used to authenticate this partner.</p>\n<p>The secret does not expire, but can be changed by calling this API. A valid Partner Secret may contain upper and lowercase characters, numbers, and the characters !, @, #, $, %, &amp;, *, _, -, +. It must include at least one number and at least one letter, and its length should be between 12 and 255 characters.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","partners","authentication"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"fea4c96c-0ad6-4fdd-a986-a2cd4a0bebd3","name":"The Partner Secret was successfully updated","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/partners/authentication"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"00d7a662-4fde-4b59-8e98-8e7d257adf0a","name":"The request was rejected","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/partners/authentication"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 24437,\n \"message\": \"New password is not as per policy\"\n}"},{"id":"54c6a662-6cfc-4834-9792-5a07ec559fed","name":"The request lacks valid authentication credentials. Check Partner ID, Partner Secret or Finicity-App-Key.","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/partners/authentication"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10026,\n \"message\": \"Missing parameter (Finicity-App-Key)\"\n}"}],"_postman_id":"782a1b36-ac55-4d8f-bf89-652a7d31070a"}],"id":"379a0724-e25a-4e3b-b4a5-d25337b12668","description":"<p>Generate authentication tokens and manage credentials</p>\n","_postman_id":"379a0724-e25a-4e3b-b4a5-d25337b12668"},{"name":"Balance Analytics","item":[{"name":"Generate Balance Analytics","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","\r","    /* Store the report ID */\r","    const reportId = pm.response.json().reportId\r","    pm.globals.set(\"obbReportId\", reportId)\r","})"],"type":"text/javascript","id":"23b9da9f-6646-4479-af85-6af55491e01c"}}],"id":"bcdcf0f4-5b69-4db3-b3d3-ee1a13051dbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/analytics/balance/v1/customer/6025984717?reference-number=abc123","description":"<p>Balance Analytics for Business analyzes bank balances over time to report metrics and identify behavior that may indicate risk.</p>\n<p>Calculated metrics include:</p>\n<ul>\n<li><p>Current/available account balances</p>\n</li>\n<li><p>Minimum/maximum/average account balances over the requested time\nperiod and broken down by month</p>\n</li>\n<li><p>Daily ending balance of accounts for each day in the requested time\nperiod</p>\n</li>\n<li><p>Propensity of the customer's account balances to increase week over\nweek</p>\n</li>\n<li><p>Number of days in the requested time period ending with a negative\nbalance</p>\n</li>\n</ul>\n<p>This version of the API is intended for piloting and integration testing your application with the Balance Analytics product. It does not adhere to FCRA requirements, and should not be used for production/lending purposes. See <em>Generate Balance Analytics - FCRA</em> for the FCRA compliant version of this API.</p>\n<p>A successful call to this API will generate analytics and store a report within Finicity. The report can be retrieved via <em>Get Balance Analytics Report</em> (operation: <em>GetObbAnalyticsReport</em>).</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["analytics","balance","v1","customer","6025984717"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>Partner-provided reference number to correlate reports.</p>\n","type":"text/plain"},"key":"reference-number","value":"abc123"}],"variable":[]}},"response":[{"id":"df58b880-7a87-4509-8ee0-3aa0958cee8d","name":"Response given when balance analytics were generated successfully, providing the caller with a report ID which can be used to retrieve the report as JSON or a PDF.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accountIds\": [\n    10001,\n    10002,\n    10003\n  ],\n  \"businessId\": 123,\n  \"createdDate\": \"2022-02-10T05:00:00-07:00\",\n  \"customerId\": 10001,\n  \"reportId\": \"145cabe0-2b38-4175-9b7e-115431359839\",\n  \"reportPin\": \"qert\",\n  \"requesterName\": \"Mortage ABC LLC\",\n  \"title\": \"Finicity Balance Analytics\"\n}"},{"id":"a5fc79af-1830-4b0f-a489-925bae60e3e5","name":"A bad request was provided","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 400,\n  \"message\": \"Missing required parameter 'customerId'\"\n}"},{"id":"26b6202f-ed66-42ae-9d42-3ed714706e06","name":"Unauthorized request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 401,\n  \"message\": \"Invalid Finicity-App-Key\"\n}"},{"id":"7641ce4c-dfdf-4d9d-ae8c-5adbf0be02cd","name":"Access forbidden","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 403,\n  \"message\": \"Partner does not have access to this resource\"\n}"},{"id":"eb5f4c66-1b59-49fe-b571-d2ba9fa19197","name":"Resource not found","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 404,\n  \"message\": \"Customer not found\"\n}"},{"id":"b4db174f-0fea-4650-a94b-4c4108e34807","name":"Resource conflict","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 409,\n  \"message\": \"Customer is not registered as a business\"\n}"}],"_postman_id":"bcdcf0f4-5b69-4db3-b3d3-ee1a13051dbc"},{"name":"Generate Balance Analytics - FCRA","event":[{"listen":"test","script":{"exec":["if (pm.response.code === 200) {\r","    /* Store the report ID */\r","    const reportId = pm.response.json().reportId\r","    pm.globals.set(\"obbFcraReportId\", reportId)\r","}"],"type":"text/javascript","id":"6894f351-f9e7-4ef4-87b2-33ce1450fe01"}}],"id":"195d0b14-6964-498b-aacb-2f12c344bdff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/analytics/balance/v1/customer/6025984717/fcra?reference-number=abc123","description":"<p>Balance Analytics for Business analyzes bank balances over time to report metrics and identify behavior that may indicate risk.</p>\n<p>Calculated metrics include:</p>\n<ul>\n<li><p>Current/available account balances</p>\n</li>\n<li><p>Minimum/maximum/average account balances over the requested time\nperiod and broken down by month</p>\n</li>\n<li><p>Daily ending balance of accounts for each day in the requested time\nperiod</p>\n</li>\n<li><p>Propensity of the customer's account balances to increase week over\nweek</p>\n</li>\n<li><p>Number of days in the requested time period ending with a negative\nbalance</p>\n</li>\n</ul>\n<p>This version of the API is intended for production use. It maintains and enforces all compliance with FCRA rules and requirements.</p>\n<p><em>Note:</em> this is a premium service, billable per every successful API call for non-testing customers.</p>\n<p>A successful call to this API will generate analytics and store a report within Finicity. The report can be retrieved via <em>Get Balance Analytics Report - FCRA</em> (operation: <em>GetObbAnalyticsReportFCRA</em>).</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["analytics","balance","v1","customer","6025984717","fcra"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>Partner-provided reference number to correlate reports.</p>\n","type":"text/plain"},"key":"reference-number","value":"abc123"}],"variable":[]}},"response":[{"id":"f10576c8-006f-45e5-8022-b697a7408436","name":"Response given when balance analytics (FCRA) were generated successfully, providing the caller with a report ID which can be used to retrieve the report as JSON or a PDF.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accountIds\": [\n    10001,\n    10002,\n    10003\n  ],\n  \"businessId\": 123,\n  \"createdDate\": \"2022-02-10T05:00:00-07:00\",\n  \"customerId\": 10001,\n  \"reportId\": \"145cabe0-2b38-4175-9b7e-115431359839\",\n  \"reportPin\": \"qert\",\n  \"requesterName\": \"Mortage ABC LLC\",\n  \"title\": \"Finicity Balance Analytics\"\n}"},{"id":"e2f92e60-f5c0-42ed-bf05-f96d861e2086","name":"A bad request was provided","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 400,\n  \"message\": \"Missing required parameter 'customerId'\"\n}"},{"id":"34d205f6-7e16-4a71-b39d-5313deaddd28","name":"Unauthorized request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 401,\n  \"message\": \"Invalid Finicity-App-Key\"\n}"},{"id":"d55a3bcb-ceec-418b-9671-2fe056fc13aa","name":"Access forbidden","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 403,\n  \"message\": \"Partner does not have access to this resource\"\n}"},{"id":"4b6c14bc-f9e5-4436-b10c-32aca0a5918e","name":"Resource not found","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 404,\n  \"message\": \"Customer not found\"\n}"},{"id":"bff32169-ad4f-44e0-be5d-44a81d500771","name":"Resource conflict","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/balance/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","balance","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 409,\n  \"message\": \"Customer is not registered as a business\"\n}"}],"_postman_id":"195d0b14-6964-498b-aacb-2f12c344bdff"},{"name":"Get OBB Analytics Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"e8d33340-5eb1-4101-bcb1-44846cf599d0"}}],"id":"4319c9b2-c5c9-4f5e-96ca-ddbf1babcd2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/analytics/data/v1/{{obbReportId}}","description":"<p>Retrieve the report saved by <em>Generate Balance Analytics</em> or <em>Generate Cash Flow Analytics</em>. Requires the report ID generated by the previous call.</p>\n<p>Report data can either be retrieved as a JSON document or PDF file.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["analytics","data","v1","{{obbReportId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"065bbc4d-a2c1-4188-bf06-9df1b55b65b1","name":"OBB Analytics report data as JSON or PDF","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/data/v1/:obb_report_id","host":["https://api.finicity.com"],"path":["analytics","data","v1",":obb_report_id"],"variable":[{"key":"obb_report_id","value":"bcab9592-e032-4e7b-b737-0380619a0573","description":"(Required) Report ID generated and returned by OBB products"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accountResults\": [\n    {\n      \"accountDetails\": {\n        \"accountNumberDisplay\": \"8888\",\n        \"accountOwner\": {\n          \"address\": \"123 Main St, Portland, OR 12345\",\n          \"name\": \"Johnny Appleseed\"\n        },\n        \"aggregationAttemptDate\": \"2022-03-30T14:47:19-07:00\",\n        \"aggregationStatusCode\": 0,\n        \"aggregationSuccessDate\": \"2022-03-30T14:47:19-07:00\",\n        \"currency\": \"USD\",\n        \"currentBalance\": 2239.22,\n        \"id\": \"1234902309er\",\n        \"institution\": {\n          \"institutionIconUrl\": \"https://prod-carpintero-branding.s3.us-west-2.amazonaws.com/101732/icon.svg\",\n          \"institutionId\": 12345,\n          \"institutionName\": \"Wells Fargo\",\n          \"institutionPrimaryColor\": \"#1B3E4A\"\n        },\n        \"institutionLoginId\": 1007302745,\n        \"name\": \"Super Checking\",\n        \"realAccountNumberLast4\": 5678,\n        \"status\": \"active\",\n        \"type\": \"checking\"\n      },\n      \"accountId\": 5001127492,\n      \"balanceAnalyticsMetrics\": {\n        \"availableBalance\": {\n          \"description\": \"Available Balance\",\n          \"example\": 1000.01,\n          \"type\": \"number\"\n        },\n        \"availableBalanceDate\": {\n          \"description\": \"Available Balance date\",\n          \"example\": \"2022-02-18T02:34:00-07:00\",\n          \"type\": \"string\",\n          \"minLength\": 25,\n          \"maxLength\": 25\n        },\n        \"averageDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"averageDailyBalanceForTheReportTimePeriod\": {\n          \"description\": \"Average Daily Balance\",\n          \"example\": -10442.53,\n          \"type\": \"number\"\n        },\n        \"averageWeekdayBalanceForTheReportTimePeriod\": {\n          \"description\": \"Average Weekday Balance\",\n          \"example\": -10442.53,\n          \"type\": \"number\"\n        },\n        \"countDailyNegativeBalancesByMonthForTheReportTimePeriod\": [\n          {\n            \"count\": 5,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"currentRunningBalance\": {\n          \"description\": \"Current Running Balance Date\",\n          \"example\": 1000.01,\n          \"type\": \"number\"\n        },\n        \"currentRunningBalanceDate\": {\n          \"description\": \"Current Running Balance date\",\n          \"example\": \"2022-02-10T05:00:00-07:00\",\n          \"type\": \"string\",\n          \"minLength\": 25,\n          \"maxLength\": 25\n        },\n        \"dailyBalancesByWeekdayForTheReportTimePeriod\": [\n          {\n            \"date\": \"2021-10-11\",\n            \"dayOfWeek\": \"Monday\",\n            \"endingBalance\": 21527.3\n          }\n        ],\n        \"dailyBalancesForTheReportTimePeriod\": [\n          {\n            \"date\": \"2021-10-11\",\n            \"dayOfWeek\": \"Monday\",\n            \"endingBalance\": 21527.3\n          }\n        ],\n        \"historicNumberOfWeeksAverageBalanceIncreasing\": {\n          \"historicAverageWeeklyBalances\": [\n            {\n              \"amount\": 679.07,\n              \"fromDate\": \"2020-01-01\",\n              \"toDate\": \"2020-01-07\",\n              \"week\": 1\n            }\n          ],\n          \"historicNumberOfWeeksAverageBalanceIncreasing\": 3,\n          \"historicNumberOfWeeksWithDataAvailable\": 4\n        },\n        \"maximumDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"maximumRunningBalanceForTheReportTimePeriod\": -28749.44,\n        \"minimumDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"minimumRunningBalanceForTheReportTimePeriod\": -28749.44\n      },\n      \"currentReportRequest\": {\n        \"reportBeginDate\": \"2022-03-01\",\n        \"reportEndDate\": \"2022-03-30\",\n        \"reportRequestDate\": \"2022-03-30T14:47:19-07:00\",\n        \"requestedDaysForReport\": 90,\n        \"requestedReportBeginDate\": \"2022-01-01\"\n      },\n      \"historicDataAvailability\": {\n        \"historicAvailabilityBeginDate\": \"2022-03-01\",\n        \"historicAvailabilityEndDate\": \"2022-03-30\",\n        \"historicAvailableDays\": 30,\n        \"historicDataAvailability\": \"Data is available from 2022-03-01 to 2022-03-30\"\n      }\n    }\n  ],\n  \"businessId\": 4444,\n  \"businessSummary\": {\n    \"balanceAnalyticsMetrics\": {\n      \"availableBalance\": {\n        \"description\": \"Available Balance\",\n        \"example\": 1000.01,\n        \"type\": \"number\"\n      },\n      \"availableBalanceDate\": {\n        \"description\": \"Available Balance date\",\n        \"example\": \"2022-02-18T02:34:00-07:00\",\n        \"type\": \"string\",\n        \"minLength\": 25,\n        \"maxLength\": 25\n      },\n      \"averageDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"averageDailyBalanceForTheReportTimePeriod\": {\n        \"description\": \"Average Daily Balance\",\n        \"example\": -10442.53,\n        \"type\": \"number\"\n      },\n      \"averageWeekdayBalanceForTheReportTimePeriod\": {\n        \"description\": \"Average Weekday Balance\",\n        \"example\": -10442.53,\n        \"type\": \"number\"\n      },\n      \"countDailyNegativeBalancesByMonthForTheReportTimePeriod\": [\n        {\n          \"count\": 5,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"currentRunningBalance\": {\n        \"description\": \"Current Running Balance Date\",\n        \"example\": 1000.01,\n        \"type\": \"number\"\n      },\n      \"currentRunningBalanceDate\": {\n        \"description\": \"Current Running Balance date\",\n        \"example\": \"2022-02-10T05:00:00-07:00\",\n        \"type\": \"string\",\n        \"minLength\": 25,\n        \"maxLength\": 25\n      },\n      \"dailyBalancesByWeekdayForTheReportTimePeriod\": [\n        {\n          \"date\": \"2021-10-11\",\n          \"dayOfWeek\": \"Monday\",\n          \"endingBalance\": 21527.3\n        }\n      ],\n      \"dailyBalancesForTheReportTimePeriod\": [\n        {\n          \"date\": \"2021-10-11\",\n          \"dayOfWeek\": \"Monday\",\n          \"endingBalance\": 21527.3\n        }\n      ],\n      \"historicNumberOfWeeksAverageBalanceIncreasing\": {\n        \"historicAverageWeeklyBalances\": [\n          {\n            \"amount\": 679.07,\n            \"fromDate\": \"2020-01-01\",\n            \"toDate\": \"2020-01-07\",\n            \"week\": 1\n          }\n        ],\n        \"historicNumberOfWeeksAverageBalanceIncreasing\": 3,\n        \"historicNumberOfWeeksWithDataAvailable\": 4\n      },\n      \"maximumDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"maximumRunningBalanceForTheReportTimePeriod\": -28749.44,\n      \"minimumDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"minimumRunningBalanceForTheReportTimePeriod\": -28749.44\n    },\n    \"currentReportRequest\": {\n      \"reportBeginDate\": \"2022-03-01\",\n      \"reportEndDate\": \"2022-03-30\",\n      \"reportRequestDate\": \"2022-03-30T14:47:19-07:00\",\n      \"requestedDaysForReport\": 90,\n      \"requestedReportBeginDate\": \"2022-01-01\"\n    },\n    \"historicDataAvailability\": {\n      \"historicAvailabilityBeginDate\": \"2022-03-01\",\n      \"historicAvailabilityEndDate\": \"2022-03-30\",\n      \"historicAvailableDays\": 30,\n      \"historicDataAvailability\": \"Data is available from 2022-03-01 to 2022-03-30\"\n    }\n  },\n  \"customerId\": 10001,\n  \"reportHeader\": {\n    \"businessAddress\": \"123 Main St\",\n    \"businessCity\": \"Portland\",\n    \"businessName\": \"B&G Construction\",\n    \"businessState\": \"OR\",\n    \"businessZip\": \"12345\",\n    \"referenceNumber\": \"32asdfaasd0823\",\n    \"reportDate\": \"2022-03-16T21:28:38-07:00\",\n    \"reportId\": \"8ff8b4b2-706f-45c3-8d66-857bdb516214\"\n  },\n  \"requesterName\": \"Mortgage ABC LLC\",\n  \"title\": \"Fincity Balance Analytics\"\n}"},{"id":"64aad7b6-f1b2-413f-aa2e-b899e3003ea4","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/data/v1/:obb_report_id","host":["https://api.finicity.com"],"path":["analytics","data","v1",":obb_report_id"],"variable":[{"key":"obb_report_id","value":"bcab9592-e032-4e7b-b737-0380619a0573","description":"(Required) Report ID generated and returned by OBB products"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"4319c9b2-c5c9-4f5e-96ca-ddbf1babcd2b"},{"name":"Get OBB Analytics Report - FCRA","id":"d33d52dc-515e-4646-bba9-86fd1cf7e73b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/analytics/data/v1/{{obbFcraReportId}}/fcra?purpose=proident esse deserunt adipisicing","description":"<p>Retrieve the report saved by <em>Generate Balance Analytics - FCRA</em> or <em>Generate Cash Flow Analytics - FCRA</em>. Requires the report ID generated by the previous call.</p>\n<p>Report data can either be retrieved as a JSON document or PDF file.</p>\n<p><em>Note:</em> this is a premium service, billable per every successful API call for non-testing customers.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["analytics","data","v1","{{obbFcraReportId}}","fcra"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>(Required) 2-digit code from <a href=\"https://docs.finicity.com/permissible-purpose-codes/\">Permissible Purpose Codes</a>, specifying the reason for retrieving this report. Required for retrieving some reports.</p>\n","type":"text/plain"},"key":"purpose","value":"proident esse deserunt adipisicing"}],"variable":[]}},"response":[{"id":"c86fe56f-5072-4d01-a1cb-a3d569193662","name":"OBB Analytics FCRA report data as JSON or PDF","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/data/v1/:obb_report_id/fcra?purpose=proident esse deserunt adipisicing","host":["https://api.finicity.com"],"path":["analytics","data","v1",":obb_report_id","fcra"],"query":[{"key":"purpose","value":"proident esse deserunt adipisicing"}],"variable":[{"key":"obb_report_id","value":"bcab9592-e032-4e7b-b737-0380619a0573","description":"(Required) Report ID generated and returned by OBB products"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accountResults\": [\n    {\n      \"accountDetails\": {\n        \"accountNumberDisplay\": \"8888\",\n        \"accountOwner\": {\n          \"address\": \"123 Main St, Portland, OR 12345\",\n          \"name\": \"Johnny Appleseed\"\n        },\n        \"aggregationAttemptDate\": \"2022-03-30T14:47:19-07:00\",\n        \"aggregationStatusCode\": 0,\n        \"aggregationSuccessDate\": \"2022-03-30T14:47:19-07:00\",\n        \"currency\": \"USD\",\n        \"currentBalance\": 2239.22,\n        \"id\": \"1234902309er\",\n        \"institution\": {\n          \"institutionIconUrl\": \"https://prod-carpintero-branding.s3.us-west-2.amazonaws.com/101732/icon.svg\",\n          \"institutionId\": 12345,\n          \"institutionName\": \"Wells Fargo\",\n          \"institutionPrimaryColor\": \"#1B3E4A\"\n        },\n        \"institutionLoginId\": 1007302745,\n        \"name\": \"Super Checking\",\n        \"realAccountNumberLast4\": 5678,\n        \"status\": \"active\",\n        \"type\": \"checking\"\n      },\n      \"accountId\": 5001127492,\n      \"balanceAnalyticsMetrics\": {\n        \"availableBalance\": {\n          \"description\": \"Available Balance\",\n          \"example\": 1000.01,\n          \"type\": \"number\"\n        },\n        \"availableBalanceDate\": {\n          \"description\": \"Available Balance date\",\n          \"example\": \"2022-02-18T02:34:00-07:00\",\n          \"type\": \"string\",\n          \"minLength\": 25,\n          \"maxLength\": 25\n        },\n        \"averageDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"averageDailyBalanceForTheReportTimePeriod\": {\n          \"description\": \"Average Daily Balance\",\n          \"example\": -10442.53,\n          \"type\": \"number\"\n        },\n        \"averageWeekdayBalanceForTheReportTimePeriod\": {\n          \"description\": \"Average Weekday Balance\",\n          \"example\": -10442.53,\n          \"type\": \"number\"\n        },\n        \"countDailyNegativeBalancesByMonthForTheReportTimePeriod\": [\n          {\n            \"count\": 5,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"currentRunningBalance\": {\n          \"description\": \"Current Running Balance Date\",\n          \"example\": 1000.01,\n          \"type\": \"number\"\n        },\n        \"currentRunningBalanceDate\": {\n          \"description\": \"Current Running Balance date\",\n          \"example\": \"2022-02-10T05:00:00-07:00\",\n          \"type\": \"string\",\n          \"minLength\": 25,\n          \"maxLength\": 25\n        },\n        \"dailyBalancesByWeekdayForTheReportTimePeriod\": [\n          {\n            \"date\": \"2021-10-11\",\n            \"dayOfWeek\": \"Monday\",\n            \"endingBalance\": 21527.3\n          }\n        ],\n        \"dailyBalancesForTheReportTimePeriod\": [\n          {\n            \"date\": \"2021-10-11\",\n            \"dayOfWeek\": \"Monday\",\n            \"endingBalance\": 21527.3\n          }\n        ],\n        \"historicNumberOfWeeksAverageBalanceIncreasing\": {\n          \"historicAverageWeeklyBalances\": [\n            {\n              \"amount\": 679.07,\n              \"fromDate\": \"2020-01-01\",\n              \"toDate\": \"2020-01-07\",\n              \"week\": 1\n            }\n          ],\n          \"historicNumberOfWeeksAverageBalanceIncreasing\": 3,\n          \"historicNumberOfWeeksWithDataAvailable\": 4\n        },\n        \"maximumDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"maximumRunningBalanceForTheReportTimePeriod\": -28749.44,\n        \"minimumDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"minimumRunningBalanceForTheReportTimePeriod\": -28749.44\n      },\n      \"currentReportRequest\": {\n        \"reportBeginDate\": \"2022-03-01\",\n        \"reportEndDate\": \"2022-03-30\",\n        \"reportRequestDate\": \"2022-03-30T14:47:19-07:00\",\n        \"requestedDaysForReport\": 90,\n        \"requestedReportBeginDate\": \"2022-01-01\"\n      },\n      \"historicDataAvailability\": {\n        \"historicAvailabilityBeginDate\": \"2022-03-01\",\n        \"historicAvailabilityEndDate\": \"2022-03-30\",\n        \"historicAvailableDays\": 30,\n        \"historicDataAvailability\": \"Data is available from 2022-03-01 to 2022-03-30\"\n      }\n    }\n  ],\n  \"businessId\": 4444,\n  \"businessSummary\": {\n    \"balanceAnalyticsMetrics\": {\n      \"availableBalance\": {\n        \"description\": \"Available Balance\",\n        \"example\": 1000.01,\n        \"type\": \"number\"\n      },\n      \"availableBalanceDate\": {\n        \"description\": \"Available Balance date\",\n        \"example\": \"2022-02-18T02:34:00-07:00\",\n        \"type\": \"string\",\n        \"minLength\": 25,\n        \"maxLength\": 25\n      },\n      \"averageDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"averageDailyBalanceForTheReportTimePeriod\": {\n        \"description\": \"Average Daily Balance\",\n        \"example\": -10442.53,\n        \"type\": \"number\"\n      },\n      \"averageWeekdayBalanceForTheReportTimePeriod\": {\n        \"description\": \"Average Weekday Balance\",\n        \"example\": -10442.53,\n        \"type\": \"number\"\n      },\n      \"countDailyNegativeBalancesByMonthForTheReportTimePeriod\": [\n        {\n          \"count\": 5,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"currentRunningBalance\": {\n        \"description\": \"Current Running Balance Date\",\n        \"example\": 1000.01,\n        \"type\": \"number\"\n      },\n      \"currentRunningBalanceDate\": {\n        \"description\": \"Current Running Balance date\",\n        \"example\": \"2022-02-10T05:00:00-07:00\",\n        \"type\": \"string\",\n        \"minLength\": 25,\n        \"maxLength\": 25\n      },\n      \"dailyBalancesByWeekdayForTheReportTimePeriod\": [\n        {\n          \"date\": \"2021-10-11\",\n          \"dayOfWeek\": \"Monday\",\n          \"endingBalance\": 21527.3\n        }\n      ],\n      \"dailyBalancesForTheReportTimePeriod\": [\n        {\n          \"date\": \"2021-10-11\",\n          \"dayOfWeek\": \"Monday\",\n          \"endingBalance\": 21527.3\n        }\n      ],\n      \"historicNumberOfWeeksAverageBalanceIncreasing\": {\n        \"historicAverageWeeklyBalances\": [\n          {\n            \"amount\": 679.07,\n            \"fromDate\": \"2020-01-01\",\n            \"toDate\": \"2020-01-07\",\n            \"week\": 1\n          }\n        ],\n        \"historicNumberOfWeeksAverageBalanceIncreasing\": 3,\n        \"historicNumberOfWeeksWithDataAvailable\": 4\n      },\n      \"maximumDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"maximumRunningBalanceForTheReportTimePeriod\": -28749.44,\n      \"minimumDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"minimumRunningBalanceForTheReportTimePeriod\": -28749.44\n    },\n    \"currentReportRequest\": {\n      \"reportBeginDate\": \"2022-03-01\",\n      \"reportEndDate\": \"2022-03-30\",\n      \"reportRequestDate\": \"2022-03-30T14:47:19-07:00\",\n      \"requestedDaysForReport\": 90,\n      \"requestedReportBeginDate\": \"2022-01-01\"\n    },\n    \"historicDataAvailability\": {\n      \"historicAvailabilityBeginDate\": \"2022-03-01\",\n      \"historicAvailabilityEndDate\": \"2022-03-30\",\n      \"historicAvailableDays\": 30,\n      \"historicDataAvailability\": \"Data is available from 2022-03-01 to 2022-03-30\"\n    }\n  },\n  \"customerId\": 10001,\n  \"reportHeader\": {\n    \"businessAddress\": \"123 Main St\",\n    \"businessCity\": \"Portland\",\n    \"businessName\": \"B&G Construction\",\n    \"businessState\": \"OR\",\n    \"businessZip\": \"12345\",\n    \"referenceNumber\": \"32asdfaasd0823\",\n    \"reportDate\": \"2022-03-16T21:28:38-07:00\",\n    \"reportId\": \"8ff8b4b2-706f-45c3-8d66-857bdb516214\"\n  },\n  \"requesterName\": \"Mortgage ABC LLC\",\n  \"title\": \"Fincity Balance Analytics\"\n}"},{"id":"91f56244-106e-4520-86f1-c687ebb6947d","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/data/v1/:obb_report_id/fcra?purpose=proident esse deserunt adipisicing","host":["https://api.finicity.com"],"path":["analytics","data","v1",":obb_report_id","fcra"],"query":[{"key":"purpose","value":"proident esse deserunt adipisicing"}],"variable":[{"key":"obb_report_id","value":"bcab9592-e032-4e7b-b737-0380619a0573","description":"(Required) Report ID generated and returned by OBB products"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"d33d52dc-515e-4646-bba9-86fd1cf7e73b"}],"id":"f47fcc3a-3ec5-4ceb-b66e-45f551df26e3","description":"<p>Balance Analytics for businesses</p>\n","_postman_id":"f47fcc3a-3ec5-4ceb-b66e-45f551df26e3"},{"name":"Bank Statements","item":[{"name":"Get Customer Account Statement","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equal(200)\r","})"],"type":"text/javascript","id":"9906949a-ea7f-4b66-bca7-a467bce7f02b"}}],"id":"55ffba75-0643-4bd8-9bd6-99ba02fba85e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{accountId}}/statement?index=1","description":"<p>Retrieve the customer's bank statements in PDF format. Up to 24 months of history is available depending on the financial institution. Since this is a premium service, charges incur per each successful statement retrieved. </p>\n<p>For certified financial institutions, statements are available for the following account types: </p>\n<ul>\n<li>Checking</li>\n<li>Savings</li>\n<li>Money market</li>\n<li>CDs</li>\n<li>Investments</li>\n<li>Mortgage</li>\n<li>Credit cards</li>\n<li>Loans</li>\n<li>Line of credit</li>\n<li>Student Loans</li>\n</ul>\n<p>Note: setting the timeout to 180 seconds is recommended to allow enough time for a response.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{accountId}}","statement"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>Request statements from 1-24. By default, 1 is the most recent statement. Increase the index value to count back (by month) and retrieve its most recent statement.</p>\n","type":"text/plain"},"key":"index","value":"1"},{"disabled":true,"description":{"content":"<p>The type of statement to retrieve</p>\n","type":"text/plain"},"key":"type","value":"taxStatement"}],"variable":[]}},"response":[{"id":"4ccc87f1-e2c0-4fda-a07e-c56c0d1c3c91","name":"The statement was successfully downloaded as a PDF file","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/statement?index=1","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","statement"],"query":[{"key":"index","value":"1"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"application/octet-stream"}],"cookie":[],"responseTime":null,"body":""},{"id":"1dcf7154-0f4b-4110-b086-aa5834801af4","name":"The response contains an MFA challenge in XML or JSON format. Contact your Account Manager or Systems Engineers to determine the best route to handle this error.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/statement?index=1","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","statement"],"query":[{"key":"index","value":"1"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Non-Authoritative Information (since HTTP/1.1)","code":203,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e05bbdd2-aee6-4b37-9242-10f0ad19909a","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/statement?index=1","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","statement"],"query":[{"key":"index","value":"1"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"5918e6d2-fda3-4b07-91d7-6f9086edead9","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/statement?index=1","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","statement"],"query":[{"key":"index","value":"1"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"52c56a1e-232e-4101-9993-06e2ce46e90d","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/statement?index=1","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","statement"],"query":[{"key":"index","value":"1"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"55ffba75-0643-4bd8-9bd6-99ba02fba85e"},{"name":"Generate Statement Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"0d53d6f9-54c1-46f5-a13f-aa2cdd8a64c6"}},{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const customerId = pm.environment.get(\"customerId\")\r","const appKey = pm.environment.get(\"appKey\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","// A consumer is needed for this API\r","createConsumer()\r","\t\r","function createConsumer() {\r","    const consumerExists = pm.globals.get(\"consumerExists\")\r","    if (consumerExists) {\r","        // A consumer was already created\r","        return\r","    }\r","\r","    console.log(\"Creating consumer ... \")\r","    const options = {\r","        url:  baseUrl + \"/decisioning/v1/customers/\" + customerId + \"/consumer\", \r","        method: 'POST',\r","        header: {\r","            \"Accept\": \"application/json\",\r","            \"Content-type\": \"application/json\",\r","            \"Finicity-App-Key\": appKey,\r","            \"Finicity-App-Token\": appToken\r","        },\r","        body: JSON.stringify({\r","            \"firstName\": \"Homer\",\r","            \"lastName\": \"Loanseeke\",\r","            \"address\": \"434 W Ascension Way\",\r","            \"city\": \"Murray\",\r","            \"state\": \"UT\",\r","            \"zip\": \"84123\",\r","            \"phone\": \"1-800-986-3343\",\r","            \"ssn\": \"999601111\",\r","            \"birthday\": {\r","                \"year\": 1970,\r","                \"month\": 7,\r","                \"dayOfMonth\": 4\r","            },\r","            \"email\": \"finicity@test.com\",\r","            \"suffix\": \"Mr\"\r","        })\r","    }\r","    pm.sendRequest(options, function (err, response) {\r","        pm.expect(err).to.be.null\r","        pm.expect(response.code).to.be.oneOf([200, 201, 409])\r","        pm.globals.set(\"consumerExists\", true)\r","    })\r","}"],"type":"text/javascript","id":"6742b077-5cdb-4c2c-b2e0-b560ca18d674"}}],"id":"5db193fd-2fad-42d5-81f6-3a02f7d30792","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"statementReportData\": {\n        \"accountId\": {{accountId}},\n        \"index\": 1\n    },\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/statement","description":"<p>Generate a Statement Report report for the given accounts under the given customer.</p>\n<p>This is a premium service. A billable event will be created upon the successful generation of the Statement Report. </p>\n<p>Before calling this API, a consumer must be created for the given customer ID (see Consumers APIs).</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","statement"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"fef2f820-ed16-4932-80ed-f0e6cb71967e","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/statement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","statement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"67c94f97-270f-4089-b1ca-028780113659","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/statement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","statement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"72c526fc-9e62-4c83-8d95-aad680570e06","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/statement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","statement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"93d34205-f1d6-414a-8eb9-e8e890e5b216","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/statement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","statement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"5db193fd-2fad-42d5-81f6-3a02f7d30792"}],"id":"101afbc8-12c0-4052-aede-249c67c7668f","description":"<p>Fetch account statements and generate reports asynchronously</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","","const accountId = pm.variables.get(\"accountId\")","if (accountId) {","    return","}","","console.log(\"Fetching account ID ...\")","const options = {","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts\",","    method: 'GET',","    header: {","        \"Accept\": \"application/json\",","        \"Finicity-App-Key\": appKey,","        \"Finicity-App-Token\": appToken","    }","}","pm.sendRequest(options, function (err, response) {","    pm.expect(err).to.be.null","    pm.expect(response.code).to.equals(200)","    pm.variables.set(\"accountId\", response.json().accounts[0].id)","})"],"id":"7a7bf9f0-df60-4edd-8ca4-ce950993ec07"}}],"_postman_id":"101afbc8-12c0-4052-aede-249c67c7668f"},{"name":"Cash Flow","item":[{"name":"Generate Cash Flow Report - Business","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"22b56660-10b3-4136-a8ec-ea020c096e16"}}],"id":"c3f142e9-38d4-4f42-87c6-cfae71eb9548","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"showNsf\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/cashFlowBusiness","description":"<p>Generate a Cash Flow Report (Business) report for all checking and savings under the given customer. This service retrieves up to two years of transaction history for the given account. It then uses this information to generate the CFR report. A consumer is not required to generate this report.</p>\n<p>This report is not provided under FCRA rules, and this report is not available in the Finicity Consumer Portal for the borrower to view.</p>\n<p>If no account type of checking or savings is found, the service will return HTTP 400 Bad Request.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","cashFlowBusiness"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"eacf5dd7-e9bc-4aaf-93a3-9a72d41766cb","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/cashFlowBusiness?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","cashFlowBusiness"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"e45634bc-b9d5-4990-afff-15e11d5790f8","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/cashFlowBusiness?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","cashFlowBusiness"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"729adb8d-02f1-45de-8d50-560ce8620f9f","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/cashFlowBusiness?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","cashFlowBusiness"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"cc32bd90-19df-42c9-8adc-16438f186819","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/cashFlowBusiness?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","cashFlowBusiness"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"c3f142e9-38d4-4f42-87c6-cfae71eb9548"},{"name":"Generate Cash Flow Report - Personal","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"1fbacf40-0106-44d7-b361-e0d4814e19dd"}}],"id":"5df434a9-eb08-43f2-b1a5-68d4ea7ed15c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"showNsf\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/cashFlowPersonal","description":"<p>Generate a Cash Flow Report (Personal) report for all checking and savings under the given customer. This service retrieves up to two years of transaction history for the given account. It then uses this information to generate the CFR report.</p>\n<p>This report is provided under FCRA rules, with Finicity acting as the CRA (Consumer Reporting Agency). If an individual account is included in the report - for example, with an individual acting as an personal guarantor on the loan - then this version of the report should be used. In case of an adverse action on the loan where the decision was based on this report, then the borrower can be referred to the <a href=\"https://consumer.finicityreports.com\">Finicity Consumer Portal</a> where they can view this report and submit a dispute if they feel any information in this report is inaccurate.</p>\n<p>Before calling this API, a consumer must be created for the given customer ID (see Consumers APIs).</p>\n<p>If no account type of checking or savings is found, the service will return HTTP 400 Bad Request.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","cashFlowPersonal"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"541980bb-9d99-4ad2-ba87-ea7d89bbfc95","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/cashFlowPersonal?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","cashFlowPersonal"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"fdb8fcde-df37-424c-8870-09b43d37e5ab","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/cashFlowPersonal?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","cashFlowPersonal"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"b0fa09f3-7aab-4740-bb18-d47989c8e99e","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/cashFlowPersonal?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","cashFlowPersonal"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"c33e6c05-2b64-4f05-a0e0-7e9efdd356ce","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/cashFlowPersonal?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","cashFlowPersonal"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"5df434a9-eb08-43f2-b1a5-68d4ea7ed15c"}],"id":"9c92a374-8191-4b95-97b7-1297522f11cb","description":"<p>Generate cash flow reports asynchronously</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// A consumer is needed for these APIs","createConsumer()","\t","function createConsumer() {","    const baseUrl = pm.collectionVariables.get(\"baseUrl\")","    const customerId = pm.environment.get(\"customerId\")","    const appKey = pm.environment.get(\"appKey\")","    const appToken = pm.globals.get(\"appToken\")","","    const consumerExists = pm.globals.get(\"consumerExists\")","    if (consumerExists) {","        // A consumer was already created","        return","    }","","    console.log(\"Creating consumer ... \")","    const options = {","        url:  baseUrl + \"/decisioning/v1/customers/\" + customerId + \"/consumer\", ","        method: 'POST',","        header: {","            \"Accept\": \"application/json\",","            \"Content-type\": \"application/json\",","            \"Finicity-App-Key\": appKey,","            \"Finicity-App-Token\": appToken","        },","        body: JSON.stringify({","            \"firstName\": \"Homer\",","            \"lastName\": \"Loanseeke\",","            \"address\": \"434 W Ascension Way\",","            \"city\": \"Murray\",","            \"state\": \"UT\",","            \"zip\": \"84123\",","            \"phone\": \"1-800-986-3343\",","            \"ssn\": \"999601111\",","            \"birthday\": {","                \"year\": 1970,","                \"month\": 7,","                \"dayOfMonth\": 4","            },","            \"email\": \"finicity@test.com\",","            \"suffix\": \"Mr\"","        })","    }","    pm.sendRequest(options, function (err, response) {","        pm.expect(err).to.be.null","        pm.expect(response.code).to.be.oneOf([200, 201, 409])","        pm.globals.set(\"consumerExists\", true)","    })","}"],"id":"e8e13dcb-a4e4-4039-bb77-469974285196"}}],"_postman_id":"9c92a374-8191-4b95-97b7-1297522f11cb"},{"name":"Cash Flow Analytics","item":[{"name":"Generate Cash Flow Analytics","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","\r","    /* Store the report ID */\r","    const reportId = pm.response.json().reportId\r","    pm.globals.set(\"obbReportId\", reportId)\r","})"],"type":"text/javascript","id":"346a8bcc-c9c1-4997-bafc-31e21bcab1ab"}}],"id":"d55f352b-8cde-4192-9163-9f33318e01a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/analytics/cashflow/v1/customer/6025984717?reference-number=abc123","description":"<p>Cash Flow Analytics for Business analyzes cash flow over time to report metrics and identify behavior that may indicate risk.</p>\n<p>Calculated metrics include:</p>\n<ul>\n<li><p>Average transaction value by month over the requested time period</p>\n</li>\n<li><p>Net cash flow over the requested time period and broken down by month</p>\n</li>\n<li><p>Count and report of weeks in the requested time period where there\nwere zero transactions posted to the customer's accounts</p>\n</li>\n<li><p>Minimum/maximum/average/sum/count of deposits by month</p>\n</li>\n<li><p>Minimum/maximum/average/sum/count of withdrawals by month</p>\n</li>\n<li><p>Estimated amount of deposits that can be classified as business\nrevenue</p>\n</li>\n<li><p>Number of transactions posted incurring a non-sufficient funds (NSF)\nfee, and net amount charged in NSF fees</p>\n</li>\n</ul>\n<p>This version of the API is intended for piloting and integration testing your application with the Cash Flow Analytics product. It does not adhere to FCRA requirements, and should not be used for production/lending purposes. See <em>Generate Cash Flow Analytics - FCRA</em> for the FCRA compliant version of this API.</p>\n<p>A successful call to this API will generate analytics and store a report within Finicity. The report can be retrieved via <em>Get Cash Flow Analytics Report</em> (operation: <em>GetCashFlowAnalyticsReport</em>).</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["analytics","cashflow","v1","customer","6025984717"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>Partner-provided reference number to correlate reports.</p>\n","type":"text/plain"},"key":"reference-number","value":"abc123"}],"variable":[]}},"response":[{"id":"f46dbcbc-f030-4159-8b46-5ba7680589d3","name":"Response given when cash flow analytics were generated successfully, providing the caller with a report ID which can be used to retrieve the report as JSON or a PDF.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accountIds\": [\n    10001,\n    10002,\n    10003\n  ],\n  \"businessId\": 123,\n  \"createdDate\": \"2022-02-10T05:00:00-07:00\",\n  \"customerId\": 10001,\n  \"reportId\": \"145cabe0-2b38-4175-9b7e-115431359839\",\n  \"reportPin\": \"qert\",\n  \"requesterName\": \"Mortage ABC LLC\",\n  \"title\": \"Finicity Cashflow Analytics\"\n}"},{"id":"4f732db3-923b-4b42-9620-86f724dad419","name":"A bad request was provided","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 400,\n  \"message\": \"Missing required parameter 'customerId'\"\n}"},{"id":"ba253a62-1b3d-4563-ada2-af86be885b3b","name":"Unauthorized request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 401,\n  \"message\": \"Invalid Finicity-App-Key\"\n}"},{"id":"050a3298-0d6d-47a0-a8d1-dedb4d449927","name":"Access forbidden","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 403,\n  \"message\": \"Partner does not have access to this resource\"\n}"},{"id":"dff152fa-405c-4702-a8e1-87c3a9ef5d8d","name":"Resource not found","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 404,\n  \"message\": \"Customer not found\"\n}"},{"id":"e1a0e1b5-e93f-4a29-8c23-07f520e9cf64","name":"Resource conflict","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 409,\n  \"message\": \"Customer is not registered as a business\"\n}"}],"_postman_id":"d55f352b-8cde-4192-9163-9f33318e01a9"},{"name":"Generate Cash Flow Analytics - FCRA","event":[{"listen":"test","script":{"exec":["if (pm.response.code === 200) {\r","    /* Store the report ID */\r","    const reportId = pm.response.json().reportId\r","    pm.globals.set(\"obbFcraReportId\", reportId)\r","}"],"type":"text/javascript","id":"22a37710-332b-4758-8c93-d2b836810aa8"}}],"id":"17bbbf44-a2f1-4178-bf03-49f11b6da7c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/analytics/cashflow/v1/customer/6025984717/fcra?reference-number=abc123","description":"<p>Cash Flow Analytics for Business analyzes cash flow over time to report metrics and identify behavior that may indicate risk.</p>\n<p>Calculated metrics include:</p>\n<ul>\n<li><p>Average transaction value by month over the requested time period</p>\n</li>\n<li><p>Net cash flow over the requested time period and broken down by month</p>\n</li>\n<li><p>Count and report of weeks in the requested time period where there\nwere zero transactions posted to the customer's accounts</p>\n</li>\n<li><p>Minimum/maximum/average/sum/count of deposits by month</p>\n</li>\n<li><p>Minimum/maximum/average/sum/count of withdrawals by month</p>\n</li>\n<li><p>Estimated amount of deposits that can be classified as business\nrevenue</p>\n</li>\n<li><p>Number of transactions posted incurring a non-sufficient funds (NSF)\nfee, and net amount charged in NSF fees</p>\n</li>\n</ul>\n<p>This version of the API is intended for production use. It maintains and enforces all compliance with FCRA rules and requirements.</p>\n<p><em>Note:</em> this is a premium service, billable per every successful API call for non-testing customers.</p>\n<p>A successful call to this API will generate analytics and store a report within Finicity. The report can be retrieved via <em>Get Cash Flow Analytics Report - FCRA</em> (operation: <em>GetCashFlowAnalyticsReportFCRA</em>).</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["analytics","cashflow","v1","customer","6025984717","fcra"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>Partner-provided reference number to correlate reports.</p>\n","type":"text/plain"},"key":"reference-number","value":"abc123"}],"variable":[]}},"response":[{"id":"b80690b1-8b42-4cca-9d86-b516d2a080bb","name":"Response given when cash flow analytics (FCRA) were generated successfully, providing the caller with a report ID which can be used to retrieve the report as JSON or a PDF.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accountIds\": [\n    10001,\n    10002,\n    10003\n  ],\n  \"businessId\": 123,\n  \"createdDate\": \"2022-02-10T05:00:00-07:00\",\n  \"customerId\": 10001,\n  \"reportId\": \"145cabe0-2b38-4175-9b7e-115431359839\",\n  \"reportPin\": \"qert\",\n  \"requesterName\": \"Mortage ABC LLC\",\n  \"title\": \"Finicity Cashflow Analytics\"\n}"},{"id":"269d76e2-a2dd-47b8-993e-ffbdd48444ea","name":"A bad request was provided","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 400,\n  \"message\": \"Missing required parameter 'customerId'\"\n}"},{"id":"f69006de-7c5d-4ba6-b6e7-3da22515b248","name":"Unauthorized request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 401,\n  \"message\": \"Invalid Finicity-App-Key\"\n}"},{"id":"5a0c519e-32a8-4d27-ba5d-435df3cea22d","name":"Access forbidden","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 403,\n  \"message\": \"Partner does not have access to this resource\"\n}"},{"id":"dbd5bd88-8aef-4482-9793-dc08a806d9e0","name":"Resource not found","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 404,\n  \"message\": \"Customer not found\"\n}"},{"id":"1dd8af51-619c-46d1-a05b-9d9a07528d70","name":"Resource conflict","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/cashflow/v1/customer/:customerId/fcra?reference-number=abc123","host":["https://api.finicity.com"],"path":["analytics","cashflow","v1","customer",":customerId","fcra"],"query":[{"key":"reference-number","value":"abc123"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"errorCode\": 409,\n  \"message\": \"Customer is not registered as a business\"\n}"}],"_postman_id":"17bbbf44-a2f1-4178-bf03-49f11b6da7c5"},{"name":"Get OBB Analytics Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"ec522d58-9ae9-40cb-be47-58fba42fef79"}}],"id":"0dd6dfbc-4b36-490d-a8f6-78a2acc85dd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/analytics/data/v1/{{obbReportId}}","description":"<p>Retrieve the report saved by <em>Generate Balance Analytics</em> or <em>Generate Cash Flow Analytics</em>. Requires the report ID generated by the previous call.</p>\n<p>Report data can either be retrieved as a JSON document or PDF file.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["analytics","data","v1","{{obbReportId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"42299796-d159-475d-8948-8fe3ec81ac34","name":"OBB Analytics report data as JSON or PDF","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/data/v1/:obb_report_id","host":["https://api.finicity.com"],"path":["analytics","data","v1",":obb_report_id"],"variable":[{"key":"obb_report_id","value":"bcab9592-e032-4e7b-b737-0380619a0573","description":"(Required) Report ID generated and returned by OBB products"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accountResults\": [\n    {\n      \"accountDetails\": {\n        \"accountNumberDisplay\": \"8888\",\n        \"accountOwner\": {\n          \"address\": \"123 Main St, Portland, OR 12345\",\n          \"name\": \"Johnny Appleseed\"\n        },\n        \"aggregationAttemptDate\": \"2022-03-30T14:47:19-07:00\",\n        \"aggregationStatusCode\": 0,\n        \"aggregationSuccessDate\": \"2022-03-30T14:47:19-07:00\",\n        \"currency\": \"USD\",\n        \"currentBalance\": 2239.22,\n        \"id\": \"1234902309er\",\n        \"institution\": {\n          \"institutionIconUrl\": \"https://prod-carpintero-branding.s3.us-west-2.amazonaws.com/101732/icon.svg\",\n          \"institutionId\": 12345,\n          \"institutionName\": \"Wells Fargo\",\n          \"institutionPrimaryColor\": \"#1B3E4A\"\n        },\n        \"institutionLoginId\": 1007302745,\n        \"name\": \"Super Checking\",\n        \"realAccountNumberLast4\": 5678,\n        \"status\": \"active\",\n        \"type\": \"checking\"\n      },\n      \"accountId\": 5001127492,\n      \"balanceAnalyticsMetrics\": {\n        \"availableBalance\": {\n          \"description\": \"Available Balance\",\n          \"example\": 1000.01,\n          \"type\": \"number\"\n        },\n        \"availableBalanceDate\": {\n          \"description\": \"Available Balance date\",\n          \"example\": \"2022-02-18T02:34:00-07:00\",\n          \"type\": \"string\",\n          \"minLength\": 25,\n          \"maxLength\": 25\n        },\n        \"averageDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"averageDailyBalanceForTheReportTimePeriod\": {\n          \"description\": \"Average Daily Balance\",\n          \"example\": -10442.53,\n          \"type\": \"number\"\n        },\n        \"averageWeekdayBalanceForTheReportTimePeriod\": {\n          \"description\": \"Average Weekday Balance\",\n          \"example\": -10442.53,\n          \"type\": \"number\"\n        },\n        \"countDailyNegativeBalancesByMonthForTheReportTimePeriod\": [\n          {\n            \"count\": 5,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"currentRunningBalance\": {\n          \"description\": \"Current Running Balance Date\",\n          \"example\": 1000.01,\n          \"type\": \"number\"\n        },\n        \"currentRunningBalanceDate\": {\n          \"description\": \"Current Running Balance date\",\n          \"example\": \"2022-02-10T05:00:00-07:00\",\n          \"type\": \"string\",\n          \"minLength\": 25,\n          \"maxLength\": 25\n        },\n        \"dailyBalancesByWeekdayForTheReportTimePeriod\": [\n          {\n            \"date\": \"2021-10-11\",\n            \"dayOfWeek\": \"Monday\",\n            \"endingBalance\": 21527.3\n          }\n        ],\n        \"dailyBalancesForTheReportTimePeriod\": [\n          {\n            \"date\": \"2021-10-11\",\n            \"dayOfWeek\": \"Monday\",\n            \"endingBalance\": 21527.3\n          }\n        ],\n        \"historicNumberOfWeeksAverageBalanceIncreasing\": {\n          \"historicAverageWeeklyBalances\": [\n            {\n              \"amount\": 679.07,\n              \"fromDate\": \"2020-01-01\",\n              \"toDate\": \"2020-01-07\",\n              \"week\": 1\n            }\n          ],\n          \"historicNumberOfWeeksAverageBalanceIncreasing\": 3,\n          \"historicNumberOfWeeksWithDataAvailable\": 4\n        },\n        \"maximumDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"maximumRunningBalanceForTheReportTimePeriod\": -28749.44,\n        \"minimumDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"minimumRunningBalanceForTheReportTimePeriod\": -28749.44\n      },\n      \"currentReportRequest\": {\n        \"reportBeginDate\": \"2022-03-01\",\n        \"reportEndDate\": \"2022-03-30\",\n        \"reportRequestDate\": \"2022-03-30T14:47:19-07:00\",\n        \"requestedDaysForReport\": 90,\n        \"requestedReportBeginDate\": \"2022-01-01\"\n      },\n      \"historicDataAvailability\": {\n        \"historicAvailabilityBeginDate\": \"2022-03-01\",\n        \"historicAvailabilityEndDate\": \"2022-03-30\",\n        \"historicAvailableDays\": 30,\n        \"historicDataAvailability\": \"Data is available from 2022-03-01 to 2022-03-30\"\n      }\n    }\n  ],\n  \"businessId\": 4444,\n  \"businessSummary\": {\n    \"balanceAnalyticsMetrics\": {\n      \"availableBalance\": {\n        \"description\": \"Available Balance\",\n        \"example\": 1000.01,\n        \"type\": \"number\"\n      },\n      \"availableBalanceDate\": {\n        \"description\": \"Available Balance date\",\n        \"example\": \"2022-02-18T02:34:00-07:00\",\n        \"type\": \"string\",\n        \"minLength\": 25,\n        \"maxLength\": 25\n      },\n      \"averageDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"averageDailyBalanceForTheReportTimePeriod\": {\n        \"description\": \"Average Daily Balance\",\n        \"example\": -10442.53,\n        \"type\": \"number\"\n      },\n      \"averageWeekdayBalanceForTheReportTimePeriod\": {\n        \"description\": \"Average Weekday Balance\",\n        \"example\": -10442.53,\n        \"type\": \"number\"\n      },\n      \"countDailyNegativeBalancesByMonthForTheReportTimePeriod\": [\n        {\n          \"count\": 5,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"currentRunningBalance\": {\n        \"description\": \"Current Running Balance Date\",\n        \"example\": 1000.01,\n        \"type\": \"number\"\n      },\n      \"currentRunningBalanceDate\": {\n        \"description\": \"Current Running Balance date\",\n        \"example\": \"2022-02-10T05:00:00-07:00\",\n        \"type\": \"string\",\n        \"minLength\": 25,\n        \"maxLength\": 25\n      },\n      \"dailyBalancesByWeekdayForTheReportTimePeriod\": [\n        {\n          \"date\": \"2021-10-11\",\n          \"dayOfWeek\": \"Monday\",\n          \"endingBalance\": 21527.3\n        }\n      ],\n      \"dailyBalancesForTheReportTimePeriod\": [\n        {\n          \"date\": \"2021-10-11\",\n          \"dayOfWeek\": \"Monday\",\n          \"endingBalance\": 21527.3\n        }\n      ],\n      \"historicNumberOfWeeksAverageBalanceIncreasing\": {\n        \"historicAverageWeeklyBalances\": [\n          {\n            \"amount\": 679.07,\n            \"fromDate\": \"2020-01-01\",\n            \"toDate\": \"2020-01-07\",\n            \"week\": 1\n          }\n        ],\n        \"historicNumberOfWeeksAverageBalanceIncreasing\": 3,\n        \"historicNumberOfWeeksWithDataAvailable\": 4\n      },\n      \"maximumDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"maximumRunningBalanceForTheReportTimePeriod\": -28749.44,\n      \"minimumDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"minimumRunningBalanceForTheReportTimePeriod\": -28749.44\n    },\n    \"currentReportRequest\": {\n      \"reportBeginDate\": \"2022-03-01\",\n      \"reportEndDate\": \"2022-03-30\",\n      \"reportRequestDate\": \"2022-03-30T14:47:19-07:00\",\n      \"requestedDaysForReport\": 90,\n      \"requestedReportBeginDate\": \"2022-01-01\"\n    },\n    \"historicDataAvailability\": {\n      \"historicAvailabilityBeginDate\": \"2022-03-01\",\n      \"historicAvailabilityEndDate\": \"2022-03-30\",\n      \"historicAvailableDays\": 30,\n      \"historicDataAvailability\": \"Data is available from 2022-03-01 to 2022-03-30\"\n    }\n  },\n  \"customerId\": 10001,\n  \"reportHeader\": {\n    \"businessAddress\": \"123 Main St\",\n    \"businessCity\": \"Portland\",\n    \"businessName\": \"B&G Construction\",\n    \"businessState\": \"OR\",\n    \"businessZip\": \"12345\",\n    \"referenceNumber\": \"32asdfaasd0823\",\n    \"reportDate\": \"2022-03-16T21:28:38-07:00\",\n    \"reportId\": \"8ff8b4b2-706f-45c3-8d66-857bdb516214\"\n  },\n  \"requesterName\": \"Mortgage ABC LLC\",\n  \"title\": \"Fincity Balance Analytics\"\n}"},{"id":"c29ca8d5-38b1-47cd-b460-51c3e0db669e","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/data/v1/:obb_report_id","host":["https://api.finicity.com"],"path":["analytics","data","v1",":obb_report_id"],"variable":[{"key":"obb_report_id","value":"bcab9592-e032-4e7b-b737-0380619a0573","description":"(Required) Report ID generated and returned by OBB products"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"0dd6dfbc-4b36-490d-a8f6-78a2acc85dd3"},{"name":"Get OBB Analytics Report - FCRA","id":"741ab646-4ddb-41da-ac95-eb8ee2da73f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/analytics/data/v1/{{obbFcraReportId}}/fcra?purpose=proident esse deserunt adipisicing","description":"<p>Retrieve the report saved by <em>Generate Balance Analytics - FCRA</em> or <em>Generate Cash Flow Analytics - FCRA</em>. Requires the report ID generated by the previous call.</p>\n<p>Report data can either be retrieved as a JSON document or PDF file.</p>\n<p><em>Note:</em> this is a premium service, billable per every successful API call for non-testing customers.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["analytics","data","v1","{{obbFcraReportId}}","fcra"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>(Required) 2-digit code from <a href=\"https://docs.finicity.com/permissible-purpose-codes/\">Permissible Purpose Codes</a>, specifying the reason for retrieving this report. Required for retrieving some reports.</p>\n","type":"text/plain"},"key":"purpose","value":"proident esse deserunt adipisicing"}],"variable":[]}},"response":[{"id":"c22dc927-91f0-449f-98fb-121d00354028","name":"OBB Analytics FCRA report data as JSON or PDF","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/data/v1/:obb_report_id/fcra?purpose=proident esse deserunt adipisicing","host":["https://api.finicity.com"],"path":["analytics","data","v1",":obb_report_id","fcra"],"query":[{"key":"purpose","value":"proident esse deserunt adipisicing"}],"variable":[{"key":"obb_report_id","value":"bcab9592-e032-4e7b-b737-0380619a0573","description":"(Required) Report ID generated and returned by OBB products"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accountResults\": [\n    {\n      \"accountDetails\": {\n        \"accountNumberDisplay\": \"8888\",\n        \"accountOwner\": {\n          \"address\": \"123 Main St, Portland, OR 12345\",\n          \"name\": \"Johnny Appleseed\"\n        },\n        \"aggregationAttemptDate\": \"2022-03-30T14:47:19-07:00\",\n        \"aggregationStatusCode\": 0,\n        \"aggregationSuccessDate\": \"2022-03-30T14:47:19-07:00\",\n        \"currency\": \"USD\",\n        \"currentBalance\": 2239.22,\n        \"id\": \"1234902309er\",\n        \"institution\": {\n          \"institutionIconUrl\": \"https://prod-carpintero-branding.s3.us-west-2.amazonaws.com/101732/icon.svg\",\n          \"institutionId\": 12345,\n          \"institutionName\": \"Wells Fargo\",\n          \"institutionPrimaryColor\": \"#1B3E4A\"\n        },\n        \"institutionLoginId\": 1007302745,\n        \"name\": \"Super Checking\",\n        \"realAccountNumberLast4\": 5678,\n        \"status\": \"active\",\n        \"type\": \"checking\"\n      },\n      \"accountId\": 5001127492,\n      \"balanceAnalyticsMetrics\": {\n        \"availableBalance\": {\n          \"description\": \"Available Balance\",\n          \"example\": 1000.01,\n          \"type\": \"number\"\n        },\n        \"availableBalanceDate\": {\n          \"description\": \"Available Balance date\",\n          \"example\": \"2022-02-18T02:34:00-07:00\",\n          \"type\": \"string\",\n          \"minLength\": 25,\n          \"maxLength\": 25\n        },\n        \"averageDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"averageDailyBalanceForTheReportTimePeriod\": {\n          \"description\": \"Average Daily Balance\",\n          \"example\": -10442.53,\n          \"type\": \"number\"\n        },\n        \"averageWeekdayBalanceForTheReportTimePeriod\": {\n          \"description\": \"Average Weekday Balance\",\n          \"example\": -10442.53,\n          \"type\": \"number\"\n        },\n        \"countDailyNegativeBalancesByMonthForTheReportTimePeriod\": [\n          {\n            \"count\": 5,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"currentRunningBalance\": {\n          \"description\": \"Current Running Balance Date\",\n          \"example\": 1000.01,\n          \"type\": \"number\"\n        },\n        \"currentRunningBalanceDate\": {\n          \"description\": \"Current Running Balance date\",\n          \"example\": \"2022-02-10T05:00:00-07:00\",\n          \"type\": \"string\",\n          \"minLength\": 25,\n          \"maxLength\": 25\n        },\n        \"dailyBalancesByWeekdayForTheReportTimePeriod\": [\n          {\n            \"date\": \"2021-10-11\",\n            \"dayOfWeek\": \"Monday\",\n            \"endingBalance\": 21527.3\n          }\n        ],\n        \"dailyBalancesForTheReportTimePeriod\": [\n          {\n            \"date\": \"2021-10-11\",\n            \"dayOfWeek\": \"Monday\",\n            \"endingBalance\": 21527.3\n          }\n        ],\n        \"historicNumberOfWeeksAverageBalanceIncreasing\": {\n          \"historicAverageWeeklyBalances\": [\n            {\n              \"amount\": 679.07,\n              \"fromDate\": \"2020-01-01\",\n              \"toDate\": \"2020-01-07\",\n              \"week\": 1\n            }\n          ],\n          \"historicNumberOfWeeksAverageBalanceIncreasing\": 3,\n          \"historicNumberOfWeeksWithDataAvailable\": 4\n        },\n        \"maximumDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"maximumRunningBalanceForTheReportTimePeriod\": -28749.44,\n        \"minimumDailyBalanceByMonthForTheReportTimePeriod\": [\n          {\n            \"amount\": 890.99,\n            \"period\": \"last30to1\",\n            \"periodBeginDate\": \"2022-03-01\",\n            \"periodEndDate\": \"2022-03-30\"\n          }\n        ],\n        \"minimumRunningBalanceForTheReportTimePeriod\": -28749.44\n      },\n      \"currentReportRequest\": {\n        \"reportBeginDate\": \"2022-03-01\",\n        \"reportEndDate\": \"2022-03-30\",\n        \"reportRequestDate\": \"2022-03-30T14:47:19-07:00\",\n        \"requestedDaysForReport\": 90,\n        \"requestedReportBeginDate\": \"2022-01-01\"\n      },\n      \"historicDataAvailability\": {\n        \"historicAvailabilityBeginDate\": \"2022-03-01\",\n        \"historicAvailabilityEndDate\": \"2022-03-30\",\n        \"historicAvailableDays\": 30,\n        \"historicDataAvailability\": \"Data is available from 2022-03-01 to 2022-03-30\"\n      }\n    }\n  ],\n  \"businessId\": 4444,\n  \"businessSummary\": {\n    \"balanceAnalyticsMetrics\": {\n      \"availableBalance\": {\n        \"description\": \"Available Balance\",\n        \"example\": 1000.01,\n        \"type\": \"number\"\n      },\n      \"availableBalanceDate\": {\n        \"description\": \"Available Balance date\",\n        \"example\": \"2022-02-18T02:34:00-07:00\",\n        \"type\": \"string\",\n        \"minLength\": 25,\n        \"maxLength\": 25\n      },\n      \"averageDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"averageDailyBalanceForTheReportTimePeriod\": {\n        \"description\": \"Average Daily Balance\",\n        \"example\": -10442.53,\n        \"type\": \"number\"\n      },\n      \"averageWeekdayBalanceForTheReportTimePeriod\": {\n        \"description\": \"Average Weekday Balance\",\n        \"example\": -10442.53,\n        \"type\": \"number\"\n      },\n      \"countDailyNegativeBalancesByMonthForTheReportTimePeriod\": [\n        {\n          \"count\": 5,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"currentRunningBalance\": {\n        \"description\": \"Current Running Balance Date\",\n        \"example\": 1000.01,\n        \"type\": \"number\"\n      },\n      \"currentRunningBalanceDate\": {\n        \"description\": \"Current Running Balance date\",\n        \"example\": \"2022-02-10T05:00:00-07:00\",\n        \"type\": \"string\",\n        \"minLength\": 25,\n        \"maxLength\": 25\n      },\n      \"dailyBalancesByWeekdayForTheReportTimePeriod\": [\n        {\n          \"date\": \"2021-10-11\",\n          \"dayOfWeek\": \"Monday\",\n          \"endingBalance\": 21527.3\n        }\n      ],\n      \"dailyBalancesForTheReportTimePeriod\": [\n        {\n          \"date\": \"2021-10-11\",\n          \"dayOfWeek\": \"Monday\",\n          \"endingBalance\": 21527.3\n        }\n      ],\n      \"historicNumberOfWeeksAverageBalanceIncreasing\": {\n        \"historicAverageWeeklyBalances\": [\n          {\n            \"amount\": 679.07,\n            \"fromDate\": \"2020-01-01\",\n            \"toDate\": \"2020-01-07\",\n            \"week\": 1\n          }\n        ],\n        \"historicNumberOfWeeksAverageBalanceIncreasing\": 3,\n        \"historicNumberOfWeeksWithDataAvailable\": 4\n      },\n      \"maximumDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"maximumRunningBalanceForTheReportTimePeriod\": -28749.44,\n      \"minimumDailyBalanceByMonthForTheReportTimePeriod\": [\n        {\n          \"amount\": 890.99,\n          \"period\": \"last30to1\",\n          \"periodBeginDate\": \"2022-03-01\",\n          \"periodEndDate\": \"2022-03-30\"\n        }\n      ],\n      \"minimumRunningBalanceForTheReportTimePeriod\": -28749.44\n    },\n    \"currentReportRequest\": {\n      \"reportBeginDate\": \"2022-03-01\",\n      \"reportEndDate\": \"2022-03-30\",\n      \"reportRequestDate\": \"2022-03-30T14:47:19-07:00\",\n      \"requestedDaysForReport\": 90,\n      \"requestedReportBeginDate\": \"2022-01-01\"\n    },\n    \"historicDataAvailability\": {\n      \"historicAvailabilityBeginDate\": \"2022-03-01\",\n      \"historicAvailabilityEndDate\": \"2022-03-30\",\n      \"historicAvailableDays\": 30,\n      \"historicDataAvailability\": \"Data is available from 2022-03-01 to 2022-03-30\"\n    }\n  },\n  \"customerId\": 10001,\n  \"reportHeader\": {\n    \"businessAddress\": \"123 Main St\",\n    \"businessCity\": \"Portland\",\n    \"businessName\": \"B&G Construction\",\n    \"businessState\": \"OR\",\n    \"businessZip\": \"12345\",\n    \"referenceNumber\": \"32asdfaasd0823\",\n    \"reportDate\": \"2022-03-16T21:28:38-07:00\",\n    \"reportId\": \"8ff8b4b2-706f-45c3-8d66-857bdb516214\"\n  },\n  \"requesterName\": \"Mortgage ABC LLC\",\n  \"title\": \"Fincity Balance Analytics\"\n}"},{"id":"1ffadf5d-20d0-4275-8b50-ed56ebe976fa","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/analytics/data/v1/:obb_report_id/fcra?purpose=proident esse deserunt adipisicing","host":["https://api.finicity.com"],"path":["analytics","data","v1",":obb_report_id","fcra"],"query":[{"key":"purpose","value":"proident esse deserunt adipisicing"}],"variable":[{"key":"obb_report_id","value":"bcab9592-e032-4e7b-b737-0380619a0573","description":"(Required) Report ID generated and returned by OBB products"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"741ab646-4ddb-41da-ac95-eb8ee2da73f0"}],"id":"6d42202f-ecf6-4e54-a412-67c6530b5dda","description":"<p>Cash Flow Analytics for business</p>\n","_postman_id":"6d42202f-ecf6-4e54-a412-67c6530b5dda"},{"name":"Connect 🔗","item":[{"name":"Generate Connect URL","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"3fe0c9a9-1bff-41cb-9fb0-41bb92338766"}}],"id":"adf5d88b-ebd2-4b53-8888-782353edcc38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"customerId\": \"6025984717\",\n    \"language\": \"en\",\n    \"consumerId\": \"0bf46322c167b562e6cbed9d40e19a4c\",\n    \"redirectUri\": \"https://www.finicity.com/connect/\",\n    \"webhookContentType\": \"application/json\",\n    \"webhookData\": {},\n    \"webhookHeaders\": {},\n    \"optionalConsumerInfo\": {\n        \"ssn\": \"999999999\",\n        \"dob\": 1607450357\n    },\n    \"singleUseUrl\": true,\n    \"institutionSettings\": {},\n    \"fromDate\": 1607450357,\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/connect/v2/generate","description":"<p>Generate a Connect 2.0 URL link to add within your own applications.</p>\n<p>In option, use the <code>experience</code> parameter to call Connect (per session) in the body of the request. Configure the <code>experience</code> parameter to change the brand color, logo, icon, which credit decisioning report to generate when the Connect application completes, and more.</p>\n<p>Note: contact your Sales Account Team to set up the <code>experience</code> parameter.</p>\n<p>MVS Developers: You can pre-populate the consumer's SSN on the \"Find employment records\" page at the beginning of the MVS payroll app. Pass the SSN value for the consumer in the body of the request call.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["connect","v2","generate"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"e40e941f-c5a8-45e2-8523-4819e4f3b762","name":"The URL link was successfully generated","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"e5dfa461-9374-44d8-8a87-1309e2c51649","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"f35a6218-979f-4668-8126-ee780d84e2bd","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"adf5d88b-ebd2-4b53-8888-782353edcc38"},{"name":"Generate Lite Connect URL","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"37bdd3ab-d3b2-40c3-9b11-dc6e8065aabd"}}],"id":"78057c20-5a71-468e-b29f-308cb3875b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"customerId\": \"6025984717\",\n    \"language\": \"en\",\n    \"institutionId\": 4222,\n    \"redirectUri\": \"https://www.finicity.com/connect/\",\n    \"webhookContentType\": \"application/json\",\n    \"webhookData\": {},\n    \"webhookHeaders\": {},\n    \"singleUseUrl\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/connect/v2/generate/lite","description":"<p>Connect Lite is a variation of Connect Full (<code>POST /connect/v2/generate</code>), which has a limited set of features.</p>\n<ul>\n<li>Sign in, user's credentials, and Multi-Factor Authentication (MFA)</li>\n<li>No user account management</li>\n</ul>\n<p>The Connect Web SDK isn't a requirement when using Connect lite. However, if you want to use the SDK events, routes, and user events, then you must integrate with the Connect Web SDK.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["connect","v2","generate","lite"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"b290d572-1ce2-4c01-9c8d-2014662d25fa","name":"The URL link was successfully generated","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/lite"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"b186c68b-bac5-4342-ac10-ba9002c0e0b2","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/lite"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"93db64b5-cabc-446f-b1d4-248ec57814ed","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/lite"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"78057c20-5a71-468e-b29f-308cb3875b85"},{"name":"Generate Fix Connect URL","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    // \"Customer does not have any accounts associated with institutionLoginId.\"\"\r","    pm.expect(pm.response.code).to.equals(404)\r","})"],"type":"text/javascript","id":"36ce2609-c142-4bc1-b18a-f8b75d97a7a4"}}],"id":"042a419f-9b8a-48dd-ba78-15a079abbf39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"customerId\": \"6025984717\",\n    \"language\": \"en\",\n    \"institutionLoginId\": \"1007302745\",\n    \"redirectUri\": \"https://www.finicity.com/connect/\",\n    \"webhookContentType\": \"application/json\",\n    \"webhookData\": {},\n    \"webhookHeaders\": {},\n    \"singleUseUrl\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/connect/v2/generate/fix","description":"<p>Use the Connect Fix API when the following conditions occur:</p>\n<ul>\n<li>The connection to the user's financial institution is lost</li>\n<li>The user's credentials were updated (for any number of reasons)</li>\n<li>The user's MFA challenge has expired</li>\n</ul>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["connect","v2","generate","fix"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"d09de7da-9d71-4b93-86d8-3cdb4ae3fc8b","name":"The URL link was successfully generated","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/fix"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"6600f321-0d70-4bff-a1b9-dd82f778a5b4","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/fix"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"78d00f55-365d-447a-a0fc-d01186e8240c","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/fix"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"e99bc2d6-807e-494e-91cc-7e2fcb68793a","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/fix"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"042a419f-9b8a-48dd-ba78-15a079abbf39"},{"name":"Send Connect Email","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"e6c05838-5f10-42a8-a188-d2cea644a3b0"}}],"id":"e875f2e9-de41-41e3-98fc-b048ab50d196","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"customerId\": \"6025984717\",\n    \"language\": \"en\",\n    \"consumerId\": \"0bf46322c167b562e6cbed9d40e19a4c\",\n    \"email\": {\n        \"to\": \"alex.salido@finicity.com\",\n        \"supportPhone\": \"800-555-5555\",\n        \"subject\": \"Verify your income\",\n        \"firstName\": \"Bob\",\n        \"institutionName\": \"Acme Lending\",\n        \"institutionAddress\": \"222 Winipeg Drive SLC UT, 84109\",\n        \"signature\": [\n            \"Cindy Mayfield\",\n            \"Senior Loan Officer\",\n            \"Direct 123-456-7890\"\n        ]\n    },\n    \"redirectUri\": \"https://www.finicity.com/connect/\",\n    \"webhookContentType\": \"application/json\",\n    \"webhookData\": {},\n    \"webhookHeaders\": {},\n    \"institutionSettings\": {},\n    \"singleUseUrl\": true,\n    \"fromDate\": 1607450357,\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"optionalConsumerInfo\": {\n        \"ssn\": \"999999999\",\n        \"dob\": 1607450357\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/connect/v2/send/email","description":"<p>Same as Connect Full (<code>POST /connect/v2/generate</code>) but send a Connect email to a consumer.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["connect","v2","send","email"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"987b868a-e377-4263-b340-ec049f11f71b","name":"The URL link was successfully generated and the email sent","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/send/email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"33ef69cf-a101-42f9-9da1-4f3062d9d889","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/send/email"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"d59acf4b-6eaf-4614-8586-aca8db10d7aa","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/send/email"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"e875f2e9-de41-41e3-98fc-b048ab50d196"},{"name":"Generate Connect URL - Joint Borrower","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"dd17f674-f901-4c38-aef2-0497802415fc"}}],"id":"5af14e02-275a-4cef-a7ba-54311e8cf169","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"language\": \"en\",\n    \"borrowers\": [\n        {\n            \"customerId\": \"6025984717\",\n            \"consumerId\": \"0bf46322c167b562e6cbed9d40e19a4c\",\n            \"type\": \"primary\",\n            \"optionalConsumerInfo\": {\n                \"ssn\": \"999999999\",\n                \"dob\": 1607450357\n            }\n        },\n        {\n            \"customerId\": \"6025984717\",\n            \"consumerId\": \"0bf46322c167b562e6cbed9d40e19a4c\",\n            \"type\": \"jointBorrower\",\n            \"optionalConsumerInfo\": {\n                \"ssn\": \"999999999\",\n                \"dob\": 1607450357\n            }\n        }\n    ],\n    \"redirectUri\": \"https://www.finicity.com/connect/\",\n    \"webhookContentType\": \"application/json\",\n    \"webhookData\": {},\n    \"webhookHeaders\": {},\n    \"institutionSettings\": {},\n    \"fromDate\": 1607450357,\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"singleUseUrl\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/connect/v2/generate/jointBorrower","description":"<p>Same as Connect Full (<code>POST /connect/v2/generate</code>) but for joint borrowers.</p>\n<p>MVS prompts both the primary and joint borrower to enter each of their financial, payroll, and paystub information in the same Connect session.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["connect","v2","generate","jointBorrower"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"3ff418b4-df48-44e0-b4b1-1389b30b0510","name":"The URL link was successfully generated","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/jointBorrower"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"f7a8dec3-14ac-44a4-9e95-7b3af87e3853","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/jointBorrower"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"b9a95f7b-6e1e-4d6c-8111-885085a814c2","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/generate/jointBorrower"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"5af14e02-275a-4cef-a7ba-54311e8cf169"},{"name":"Send Connect Email - Joint Borrower","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"370d4aca-7740-443e-af06-33ba6ecbb5c7"}}],"id":"864ba70b-dfc5-435d-bfae-90ce6797d79f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"partnerId\": \"2445584195057\",\n    \"language\": \"en\",\n    \"borrowers\": [\n        {\n            \"customerId\": \"6025984717\",\n            \"consumerId\": \"0bf46322c167b562e6cbed9d40e19a4c\",\n            \"type\": \"primary\",\n            \"optionalConsumerInfo\": {\n                \"ssn\": \"999999999\",\n                \"dob\": 1607450357\n            }\n        },\n        {\n            \"customerId\": \"6025984717\",\n            \"consumerId\": \"0bf46322c167b562e6cbed9d40e19a4c\",\n            \"type\": \"jointBorrower\",\n            \"optionalConsumerInfo\": {\n                \"ssn\": \"999999999\",\n                \"dob\": 1607450357\n            }\n        }\n    ],\n    \"email\": {\n        \"to\": \"alex.salido@finicity.com\",\n        \"supportPhone\": \"800-555-5555\",\n        \"subject\": \"Verify your income\",\n        \"firstName\": \"Bob\",\n        \"institutionName\": \"Acme Lending\",\n        \"institutionAddress\": \"222 Winipeg Drive SLC UT, 84109\",\n        \"signature\": [\n            \"Cindy Mayfield\",\n            \"Senior Loan Officer\",\n            \"Direct 123-456-7890\"\n        ]\n    },\n    \"redirectUri\": \"https://www.finicity.com/connect/\",\n    \"webhookContentType\": \"application/json\",\n    \"webhookData\": {},\n    \"webhookHeaders\": {},\n    \"institutionSettings\": {},\n    \"fromDate\": 1607450357,\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"singleUseUrl\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/connect/v2/send/email/jointBorrower","description":"<p>Same as Connect Joint Borrower (<code>POST /connect/v2/generate/jointBorrower</code>) but send a Connect email  to at least one of the joint borrower's email addresses. </p>\n<p>When the consumer opens the email, MVS prompts both the primary and joint borrower to enter each of their financial, payroll, and paystub information in the same Connect session.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["connect","v2","send","email","jointBorrower"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"4bcfd100-5050-43cc-83a5-acefe1c2c702","name":"The URL link was successfully generated and the email sent.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/send/email/jointBorrower"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"5f015d90-3b26-4f23-80ea-d92b18c21abb","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/send/email/jointBorrower"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"b17b9711-cbe3-46af-b14e-12e0875fd3c8","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/connect/v2/send/email/jointBorrower"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"864ba70b-dfc5-435d-bfae-90ce6797d79f"}],"id":"8f641000-2294-4637-ac7d-353fd9b182c4","description":"<p>Allow customers to log into their financial institutions and grant Finicity authorization</p>\n","_postman_id":"8f641000-2294-4637-ac7d-353fd9b182c4"},{"name":"Consumers","item":[{"name":"Create Consumer","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    // \"A consumer already exists for customer 5025024821\"\r","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 409])\r","})"],"type":"text/javascript","id":"0f128154-ef23-4739-aadd-205b15ab1dc6"}}],"id":"c492d66f-0ef6-4ccf-8132-30e830fea7ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Homer\",\n    \"lastName\": \"Loanseeke\",\n    \"address\": \"434 W Ascension Way\",\n    \"city\": \"Murray\",\n    \"state\": \"UT\",\n    \"zip\": \"84123\",\n    \"phone\": \"1-800-986-3343\",\n    \"ssn\": \"999601111\",\n    \"birthday\": {\n        \"year\": 1970,\n        \"month\": 7,\n        \"dayOfMonth\": 4\n    },\n    \"email\": \"finicity@test.com\",\n    \"suffix\": \"Mr\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v1/customers/6025984717/consumer","description":"<p>Create a consumer record associated with the given customer. A consumer persists as the owner of any reports that are generated, even after the original customer is deleted from the system.</p>\n<p>A consumer must be created for the given customer before calling any of the Generate Report services.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v1","customers","6025984717","consumer"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"9e12cb68-781d-4337-8729-614188dcd210","name":"The consumer was successfully created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/consumer","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","consumer"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"0bf46322c167b562e6cbed9d40e19a4c\",\n \"createdDate\": 1607450357,\n \"customerId\": 1005061234\n}"},{"id":"a493c475-a28d-4310-acbc-2dfdf61cd029","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/consumer","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","consumer"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"eeb13600-5e9d-4850-be04-9b124a758743","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/consumer","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","consumer"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"87df51c2-8205-4f88-809c-0878ff1d52e0","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/consumer","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","consumer"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"},{"id":"ebe3b78b-137b-40ac-83a7-1bf57f82e783","name":"The resource already exists","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/consumer","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","consumer"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 11000,\n \"message\": \"A consumer already exists for customer 4025024821\"\n}"}],"_postman_id":"c492d66f-0ef6-4ccf-8132-30e830fea7ba"},{"name":"Get Consumer For Customer","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"91d644dc-93bc-406e-a34e-b4a235ea46dd"}}],"id":"f9eab9db-af24-4235-b9a3-6c5a0ace0ae4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/decisioning/v1/customers/6025984717/consumer","description":"<p>Get the details of a consumer record by customer ID.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v1","customers","6025984717","consumer"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"f97deb27-0a71-4c54-bd15-83ce1b9f25c7","name":"The consumer was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/consumer","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","consumer"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"57210313-eefb-4846-9fec-1d101556e016","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/consumer","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","consumer"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"3eeeee2a-7c7c-4548-a10e-f7dae635606b","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/consumer","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","consumer"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"9c28a15c-dec6-40af-9035-a809dea8080f","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/consumer","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","consumer"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"f9eab9db-af24-4235-b9a3-6c5a0ace0ae4"},{"name":"Get Consumer by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"586def5e-2d25-413f-b958-200d195304c4"}},{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const customerId = pm.environment.get(\"customerId\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","console.log(\"Fetching consumer ID ...\")\r","const options = {\r","    url:  baseUrl + \"/decisioning/v1/customers/\"+ customerId + \"/consumer\", \r","    method: 'GET',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    }\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.expect(err).to.be.null\r","    pm.expect(response.code).to.equals(200)\r","    pm.variables.set(\"consumerId\", response.json().id)\r","})"],"type":"text/javascript","id":"06ca1ac5-d09e-471b-a797-4fc6b1baca7a"}}],"id":"adeb380d-691f-4e2d-bae4-c957c27ef1ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/decisioning/v1/consumers/{{consumerId}}","description":"<p>Get the details of a consumer record by consumer ID.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v1","consumers","{{consumerId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"9bde3683-8833-42f2-8d78-4c3128369a4d","name":"The consumer was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"62c566d7-49d4-4f74-97d0-d9f27244bf65","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"09bf93f7-682d-4dbf-8b4b-d9f659abb9c3","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"70e8268b-0479-4c7c-83ed-d7e73fc3a9ed","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"adeb380d-691f-4e2d-bae4-c957c27ef1ef"},{"name":"Modify Consumer by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(204)\r","})"],"type":"text/javascript","id":"98204ab2-194a-41fe-9549-f4d7aa3c6d2f"}},{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const customerId = pm.environment.get(\"customerId\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","console.log(\"Fetching consumer ID ...\")\r","const options = {\r","    url:  baseUrl + \"/decisioning/v1/customers/\"+ customerId + \"/consumer\", \r","    method: 'GET',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    }\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.expect(err).to.be.null\r","    pm.expect(response.code).to.equals(200)\r","    pm.variables.set(\"consumerId\", response.json().id)\r","})"],"type":"text/javascript","id":"23af6739-b33b-4cf0-b9ed-fcf89e848faa"}}],"id":"d0955927-a78f-4bcd-8fc2-e5e1c772006f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Smith\",\n    \"address\": \"434 W Ascension Way\",\n    \"city\": \"Murray\",\n    \"state\": \"UT\",\n    \"zip\": \"84123\",\n    \"phone\": \"1-800-986-3343\",\n    \"ssn\": \"999601111\",\n    \"birthday\": {\n        \"year\": 1970,\n        \"month\": 7,\n        \"dayOfMonth\": 4\n    },\n    \"email\": \"finicity@test.com\",\n    \"suffix\": \"Mr\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v1/consumers/{{consumerId}}","description":"<p>Modify an existing consumer. All fields are required for a consumer record, but individual fields for this call are optional because fields that are not specified will be left unchanged.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v1","consumers","{{consumerId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"23f6cd11-3f07-483a-b580-782542484943","name":"The consumer was successfully updated","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"f21a3d0f-f08c-4fee-860d-969e19f0d25f","name":"The request was rejected","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"b6099a60-af3e-48a2-9f99-79708a1c1928","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"c7a8cba1-0c58-4461-9777-45055b1831c7","name":"The resource doesn't exist","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"d0955927-a78f-4bcd-8fc2-e5e1c772006f"}],"id":"b35553ed-cb9e-409a-9e66-6413e9595f11","description":"<p>Create and manage consumers associated with customers in order to use report services</p>\n","_postman_id":"b35553ed-cb9e-409a-9e66-6413e9595f11"},{"name":"Customers","item":[{"name":"Add Testing Customer","event":[{"listen":"test","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(201)\r","})\r","\r","if (pm.response.code !== 201) {\r","    // Nothing to do\r","    return\r","}\r","\r","console.log(\"Request successful. Deleting created customer ...\")\r","const options = {\r","    url:  baseUrl + \"/aggregation/v1/customers/\" + pm.response.json().id, \r","    method: 'DELETE',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    }\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.test(\"Clean-up\", function () {\r","        pm.expect(err).to.be.null\r","        pm.expect(response.code).to.equal(204)\r","    })\r","})"],"type":"text/javascript","id":"11ef4f5a-8bec-4398-bec7-4af76fb2a4f4"}}],"id":"f703f902-f5ee-4936-8f52-595652e1b22c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"customer_1778507251\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Smith\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v2/customers/testing","description":"<p>Enroll a testing customer (<a href=\"https://signup.finicity.com/\">Test Drive</a> accounts).</p>\n<p>For using testing customers with FinBank OAuth, you must register a test application with your systems engineer or account manager. Then, use that testing <code>applicationId</code> when creating testing customers.</p>\n<p>Testing Customers can access FinBank profiles (except \"FinBank Billable\" profiles), and cannot access live financial institutions.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","customers","testing"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"1d4982f3-6ce7-4154-b4c5-2bb3d8602b27","name":"The customer was successfully created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/customers/testing"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"1005061234\",\n \"username\": \"customerusername1\",\n \"createdDate\": 1607450357\n}"},{"id":"846ef8c0-30d1-4d3a-96a2-6dac44a4a880","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/customers/testing"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"429d52e8-5c3f-4234-9cde-baf7cce76580","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/customers/testing"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"f703f902-f5ee-4936-8f52-595652e1b22c"},{"name":"Add Customer","event":[{"listen":"test","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","pm.test(\"Check status code\", function () {\r","    // HTTP 401: \"Invalid (Finicity-App-Key)\", not available from the Test Drive\r","    pm.expect([201, 401]).contain(pm.response.code)\r","})\r","\r","if (pm.response.code !== 201) {\r","    // Nothing to do\r","    return\r","}\r","\r","console.log(\"Request successful. Deleting created customer ...\")\r","const options = {\r","    url:  baseUrl + \"/aggregation/v1/customers/\" + pm.response.json().id, \r","    method: 'DELETE',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    }\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.test(\"Clean-up\", function () {\r","        pm.expect(err).to.be.null\r","        pm.expect(response.code).to.equal(204)\r","    })\r","})"],"type":"text/javascript","id":"f822ae33-5593-4268-85cf-aa8f698d4fa1"}}],"id":"20aafd0b-5ef9-4e63-8561-57fddaa47bf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"customer_1778507251\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Smith\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v2/customers/active","description":"<p>Enroll an active customer, which is the actual owner of one or more real-world accounts. This is a billable customer.</p>\n<p>Active customers must use the \"FinBank Billable\" profiles for testing purposes.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","customers","active"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"27c2ee15-00f3-4427-b895-24db0dd1ef38","name":"The customer was successfully created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/customers/active"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": \"1005061234\",\n \"username\": \"customerusername1\",\n \"createdDate\": 1607450357\n}"},{"id":"7f2c277b-72d9-4dac-aab7-31ae89ba2d58","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/customers/active"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"587af814-89c1-4b2a-a1cd-9c821fcc67b2","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/customers/active"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"7ca2f001-1ba7-4168-90b2-798385ab62ca","name":"The service can't accept more requests or is not available from the [Test Drive](https://signup.finicity.com/).","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":"https://api.finicity.com/aggregation/v2/customers/active"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"20aafd0b-5ef9-4e63-8561-57fddaa47bf4"},{"name":"Get Customers","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"c51ade4a-3bcf-464c-80e4-657d064534f8"}}],"id":"4187601f-85ae-4189-8c3c-0465ab72eb67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers?username=&type=&search=&start=1&limit=25","description":"<p>Find all customers enrolled by the current partner, where the search text is found in the customer's username or any combination of <code>firstName</code> and <code>lastName</code> fields. If no search text is provided, all customers will be returned.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>Username for exact match (will return 0 or 1 record)</p>\n","type":"text/plain"},"key":"username","value":""},{"description":{"content":"<p>\"testing\" or \"active\" to return only customers of that type, or leave empty to return all customers</p>\n","type":"text/plain"},"key":"type","value":""},{"description":{"content":"<p>The text you wish to match. Leave this empty if you wish to return all customers. Must be URL-encoded (see: <a href=\"https://docs.finicity.com/endpoint-syntax-and-format/\">Handling Spaces in Queries</a>).</p>\n","type":"text/plain"},"key":"search","value":""},{"description":{"content":"<p>Index of the page of results to return</p>\n","type":"text/plain"},"key":"start","value":"1"},{"description":{"content":"<p>Maximum number of results per page</p>\n","type":"text/plain"},"key":"limit","value":"25"}],"variable":[]}},"response":[{"id":"07fdd30c-06b9-417a-a9a9-9013ec6d8089","name":"Customers were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers?username=customerusername1&type=active&search=searchvalue&start=1&limit=25","host":["https://api.finicity.com"],"path":["aggregation","v1","customers"],"query":[{"key":"username","value":"customerusername1"},{"key":"type","value":"active"},{"key":"search","value":"searchvalue"},{"key":"start","value":"1"},{"key":"limit","value":"25"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"58155399-1d26-4a4b-8604-65be13641c8b","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers?username=customerusername1&type=active&search=searchvalue&start=1&limit=25","host":["https://api.finicity.com"],"path":["aggregation","v1","customers"],"query":[{"key":"username","value":"customerusername1"},{"key":"type","value":"active"},{"key":"search","value":"searchvalue"},{"key":"start","value":"1"},{"key":"limit","value":"25"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"4d519761-7c20-4a57-a0c1-06eac3d459e5","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers?username=customerusername1&type=active&search=searchvalue&start=1&limit=25","host":["https://api.finicity.com"],"path":["aggregation","v1","customers"],"query":[{"key":"username","value":"customerusername1"},{"key":"type","value":"active"},{"key":"search","value":"searchvalue"},{"key":"start","value":"1"},{"key":"limit","value":"25"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"4187601f-85ae-4189-8c3c-0465ab72eb67"},{"name":"Get Customer With App Data by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    // No registered partner applications found\r","    pm.expect(pm.response.code).to.equals(404)\r","})"],"type":"text/javascript","id":"ccbad593-22da-40da-9dc9-321f5490238c"}}],"id":"c1fcf721-4413-46e4-949c-e59d24b8e650","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/application","description":"<p>Retrieve a customer along with additional details about the OAuth application.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","application"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"924d6c47-7b4c-4288-88df-fa1a904cbfb4","name":"The customer was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/application","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","application"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"25563c1f-68ef-455d-8c54-e584750349d6","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/application","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","application"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"3d110264-a710-4a25-b36b-0e6b9a27caa6","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/application","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","application"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"d776baed-1f6a-4f5e-8fa0-f7b849b98e35","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/application","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","application"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"c1fcf721-4413-46e4-949c-e59d24b8e650"},{"name":"Get Customer by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"4b278864-0163-4371-9f60-84e8ba1c5664"}}],"id":"1621c683-5fa3-4e24-b7a4-da4e6a46257b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717","description":"<p>Retrieve a customer by ID.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"284fdf76-b1e9-4d3b-a5ff-2110c9610e0c","name":"The customer was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"a2b7cdba-c61e-4d1d-90a8-1c01aa3cb54d","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"8eaac3b2-d0b4-44b4-9bf9-fd2801a79f1f","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"511135a2-9adc-4f56-9fff-df70e536885d","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"1621c683-5fa3-4e24-b7a4-da4e6a46257b"},{"name":"Modify Customer by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(204)\r","})"],"type":"text/javascript","id":"cd62b34d-d956-492f-a701-2e0bca41fb9e"}}],"id":"33ef42c6-cdc2-4193-8bc0-702e7cfb66b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"New First Name\",\n    \"lastName\": \"New Last Name\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/customers/6025984717","description":"<p>Modify an enrolled customer by ID.</p>\n<p>You must specify either <code>firstName</code>, <code>lastName</code>, or both in the request.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"1e1e6bc5-7a07-4bcc-b244-3552e3ad131e","name":"The customer was successfully updated","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"b9efb8e3-7b33-4614-acc4-0aff75edc396","name":"The request was rejected","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"dc45dd2b-42bf-4b02-9245-d62ab22f5df5","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"97233273-4da1-45a1-b28e-e35c23c8ac49","name":"The resource doesn't exist","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"33ef42c6-cdc2-4193-8bc0-702e7cfb66b9"},{"name":"Delete Customer by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(204)\r","})"],"type":"text/javascript","id":"f76450c9-c550-44bf-9136-c77dd7a9a4ce"}},{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","// Create a test customer we will delete later\r","console.log(\"Creating test customer ...\")\r","const options = {\r","    url:  baseUrl + \"/aggregation/v2/customers/testing\", \r","    method: 'POST',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Content-type\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    },\r","    body: JSON.stringify({\r","        \"username\": \"customer\" + pm.variables.replaceIn(\"1778507251\"),\r","        \"firstName\": \"John\",\r","        \"lastName\": \"Smith\"\r","    })\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.expect(err).to.be.null\r","    pm.expect(response.code).to.equals(201)\r","    pm.variables.set(\"createdCustomerId\", response.json().id)\r","})"],"type":"text/javascript","id":"e19b0eff-379c-4499-9fc4-0be207ab7eea"}}],"id":"3974a288-a40c-4a54-8d0b-38f4999f5471","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/{{createdCustomerId}}","description":"<p>Completely remove a customer from the system. This will remove the customer and all associated accounts and transactions.</p>\n<p>⚠️ Use this service carefully! It will not pause for confirmation before performing the operation!</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","{{createdCustomerId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"27709b4d-aeb9-4588-b830-0bec84d7a2b2","name":"The customer was successfully deleted","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"14012be5-5f02-456c-81ed-527f514b2130","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"5f3d0998-0b55-4fab-8f56-c4bc74f3c641","name":"The resource doesn't exist","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"3974a288-a40c-4a54-8d0b-38f4999f5471"}],"id":"560db0d5-1dab-464d-9cc6-be7e3332c74b","description":"<p>Enroll and manage customers</p>\n","_postman_id":"560db0d5-1dab-464d-9cc6-be7e3332c74b"},{"name":"Institutions","item":[{"name":"Get Certified Institutions With RSSD","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"428449a3-8242-49df-99ea-57e6835b8e02"}}],"id":"88e3d0e1-ff20-4302-b8fa-0b96599f8139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/institution/v2/certifiedInstitutions/rssd?search=finbank&start=1&limit=25&type=voa","description":"<p>Search for certified financial institutions w/RSSD.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["institution","v2","certifiedInstitutions","rssd"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>Search term (financial institution <code>name</code> field). Leave empty for all FIs.</p>\n","type":"text/plain"},"key":"search","value":"finbank"},{"description":{"content":"<p>Index of the page of results to return</p>\n","type":"text/plain"},"key":"start","value":"1"},{"description":{"content":"<p>Maximum number of results per page</p>\n","type":"text/plain"},"key":"limit","value":"25"},{"description":{"content":"<p>A product type: \"transAgg\", \"ach\", \"stateAgg\", \"voi\", \"voa\", \"aha\", \"availBalance\", \"accountOwner\"</p>\n","type":"text/plain"},"key":"type","value":"voa"}],"variable":[]}},"response":[{"id":"11fb8b57-e9ac-40ca-9c03-713fd583f691","name":"Institutions were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/certifiedInstitutions/rssd?search=finbank&start=1&limit=25&type=voa","host":["https://api.finicity.com"],"path":["institution","v2","certifiedInstitutions","rssd"],"query":[{"key":"search","value":"finbank"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"type","value":"voa"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"e2dca695-3179-45ed-be7a-903f9d129328","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/certifiedInstitutions/rssd?search=finbank&start=1&limit=25&type=voa","host":["https://api.finicity.com"],"path":["institution","v2","certifiedInstitutions","rssd"],"query":[{"key":"search","value":"finbank"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"type","value":"voa"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"5d9696dd-b0df-4af7-bfa1-4aca7dea4714","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/certifiedInstitutions/rssd?search=finbank&start=1&limit=25&type=voa","host":["https://api.finicity.com"],"path":["institution","v2","certifiedInstitutions","rssd"],"query":[{"key":"search","value":"finbank"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"type","value":"voa"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"88e3d0e1-ff20-4302-b8fa-0b96599f8139"},{"name":"Get Institutions","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"2109d86b-5005-4ebe-9b46-01d97cd6cbb2"}}],"id":"ae91d997-31d9-45c2-83d3-98a72b588d4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/institution/v2/institutions?search=finbank&start=1&limit=25&type=voa","description":"<p>Search for financial institutions.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["institution","v2","institutions"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>Search term (financial institution <code>name</code> field). Leave empty for all FIs.</p>\n","type":"text/plain"},"key":"search","value":"finbank"},{"description":{"content":"<p>Index of the page of results to return</p>\n","type":"text/plain"},"key":"start","value":"1"},{"description":{"content":"<p>Maximum number of results per page</p>\n","type":"text/plain"},"key":"limit","value":"25"},{"description":{"content":"<p>A product type: \"transAgg\", \"ach\", \"stateAgg\", \"voi\", \"voa\", \"aha\", \"availBalance\", \"accountOwner\"</p>\n","type":"text/plain"},"key":"type","value":"voa"}],"variable":[]}},"response":[{"id":"a7faa554-ace2-4537-9401-7db6b2ac8af6","name":"Institutions were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions?search=finbank&start=1&limit=25&type=voa","host":["https://api.finicity.com"],"path":["institution","v2","institutions"],"query":[{"key":"search","value":"finbank"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"type","value":"voa"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"49afbf1f-6e5e-4247-bd65-1391e60736cd","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions?search=finbank&start=1&limit=25&type=voa","host":["https://api.finicity.com"],"path":["institution","v2","institutions"],"query":[{"key":"search","value":"finbank"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"type","value":"voa"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"032e2493-9938-4c5f-86a4-5e68fb96e5e1","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions?search=finbank&start=1&limit=25&type=voa","host":["https://api.finicity.com"],"path":["institution","v2","institutions"],"query":[{"key":"search","value":"finbank"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"type","value":"voa"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"ae91d997-31d9-45c2-83d3-98a72b588d4f"},{"name":"Get Certified Institutions","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"7edca1b2-3a2f-4f1a-b73a-0ab803e92300"}}],"id":"1b422c53-91c1-4a0d-a482-685308b2f413","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/institution/v2/certifiedInstitutions?search=finbank&start=1&limit=25&type=voa","description":"<p>Search for financial institutions by certified product.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["institution","v2","certifiedInstitutions"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>Search term (financial institution <code>name</code> field). Leave empty for all FIs.</p>\n","type":"text/plain"},"key":"search","value":"finbank"},{"description":{"content":"<p>Index of the page of results to return</p>\n","type":"text/plain"},"key":"start","value":"1"},{"description":{"content":"<p>Maximum number of results per page</p>\n","type":"text/plain"},"key":"limit","value":"25"},{"description":{"content":"<p>A product type: \"transAgg\", \"ach\", \"stateAgg\", \"voi\", \"voa\", \"aha\", \"availBalance\", \"accountOwner\"</p>\n","type":"text/plain"},"key":"type","value":"voa"}],"variable":[]}},"response":[{"id":"c80c3768-5a48-4a88-a943-ee9aa63e1bfb","name":"Institutions were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/certifiedInstitutions?search=finbank&start=1&limit=25&type=voa","host":["https://api.finicity.com"],"path":["institution","v2","certifiedInstitutions"],"query":[{"key":"search","value":"finbank"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"type","value":"voa"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"1002e8b4-6747-4426-8022-c28233410dc3","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/certifiedInstitutions?search=finbank&start=1&limit=25&type=voa","host":["https://api.finicity.com"],"path":["institution","v2","certifiedInstitutions"],"query":[{"key":"search","value":"finbank"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"type","value":"voa"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"1d6c655f-9941-4f36-8124-9e74f944fb7e","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/certifiedInstitutions?search=finbank&start=1&limit=25&type=voa","host":["https://api.finicity.com"],"path":["institution","v2","certifiedInstitutions"],"query":[{"key":"search","value":"finbank"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"type","value":"voa"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"}],"_postman_id":"1b422c53-91c1-4a0d-a482-685308b2f413"},{"name":"Get Institution by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"2693b1f1-a15d-4038-bb35-c6db620af262"}}],"id":"f44b52e8-d350-430e-8adf-482cfe2e3b5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/institution/v2/institutions/{{institutionId}}","description":"<p>Get financial institution details by ID.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["institution","v2","institutions","{{institutionId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"026d8888-929f-421e-bcbd-fbdc7d5dbe03","name":"Institution was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions/:institutionId","host":["https://api.finicity.com"],"path":["institution","v2","institutions",":institutionId"],"variable":[{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"5d4ebf73-1574-4bea-b453-cb0847041c03","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions/:institutionId","host":["https://api.finicity.com"],"path":["institution","v2","institutions",":institutionId"],"variable":[{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"f53edf77-4bd7-4674-88f1-2d98d307302f","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions/:institutionId","host":["https://api.finicity.com"],"path":["institution","v2","institutions",":institutionId"],"variable":[{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"0013ce2b-5346-4a92-9742-5be3b360a0db","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions/:institutionId","host":["https://api.finicity.com"],"path":["institution","v2","institutions",":institutionId"],"variable":[{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"f44b52e8-d350-430e-8adf-482cfe2e3b5c"},{"name":"Get Institution Branding by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"76782c29-9692-49bb-916f-22f031d7ce37"}}],"id":"dad8f7f6-29e7-4253-86e0-80917bf7ca4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/institution/v2/institutions/{{institutionId}}/branding","description":"<p>Return the branding information for a financial institution.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["institution","v2","institutions","{{institutionId}}","branding"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"61ad024f-491b-49e9-a690-688d31429f12","name":"Institution branding was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions/:institutionId/branding","host":["https://api.finicity.com"],"path":["institution","v2","institutions",":institutionId","branding"],"variable":[{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"7521c955-6a27-47b0-9c81-073b60b0d1e2","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions/:institutionId/branding","host":["https://api.finicity.com"],"path":["institution","v2","institutions",":institutionId","branding"],"variable":[{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"e0c8acbe-7724-4ca4-b250-18f9ee95e3d0","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions/:institutionId/branding","host":["https://api.finicity.com"],"path":["institution","v2","institutions",":institutionId","branding"],"variable":[{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"61501e62-066d-46ed-bda8-fa38e0fef157","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/institution/v2/institutions/:institutionId/branding","host":["https://api.finicity.com"],"path":["institution","v2","institutions",":institutionId","branding"],"variable":[{"key":"institutionId","value":"4222","description":"(Required) The institution ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"dad8f7f6-29e7-4253-86e0-80917bf7ca4b"}],"id":"741f5993-4e29-4988-94f2-0361e03402a1","description":"<p>Search and fetch financial institutions</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","pm.variables.set(\"institutionId\", \"4222\") // Principal Financial - Retirement (Personal)"],"id":"8d0a902b-e32b-4231-a990-bc16398fe754"}}],"_postman_id":"741f5993-4e29-4988-94f2-0361e03402a1"},{"name":"Pay Statements","item":[{"name":"Store Customer Pay Statement","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"19facf4b-4923-4f71-9922-694f2771e7c1"}}],"id":"0bc0e089-8e33-4923-80bd-061648ab6b94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"lastPayPeriod\",\n    \"statement\": \"VGhpcyBtdXN0IGJlIGFuIGltYWdl\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/payStatements","description":"<p>Use this service to upload pay statements for a customer.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","payStatements"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"bb4961b4-8906-4d20-b40c-d5138d401c3f","name":"The pay statement was successfully uploaded","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/payStatements","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","payStatements"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"7c8c97c8-6306-407b-a354-c788ed5b699b","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/payStatements","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","payStatements"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"2a526218-3a4a-4f94-acb4-120a3612f5d9","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/payStatements","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","payStatements"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"1b82e6ec-6caf-43f1-a87c-fbc6635f81f5","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/payStatements","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","payStatements"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"0bc0e089-8e33-4923-80bd-061648ab6b94"}],"id":"0a73f56a-5835-42ae-ba6e-4a1bd3f3337d","description":"<p>Upload pay statements</p>\n","_postman_id":"0a73f56a-5835-42ae-ba6e-4a1bd3f3337d"},{"name":"Payments","item":[{"name":"Get Account Owner","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"bff6aa18-5eb9-411e-abe0-636bd4763470"}}],"id":"68250a53-8774-4c1c-a856-a278966c6040","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{accountId}}/owner","description":"<p>Retrieve the names and addresses of the account owner from a financial institution.</p>\n<p>Note: this is a premium service, billable per every successful API call.</p>\n<p>This service retrieves account data from the institution. This usually returns quickly, but in some scenarios may take a few minutes to complete. In the event of a timeout condition, retry the call.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{accountId}}","owner"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"cdc628e4-f6f3-4b61-acdf-ca9fd52e53a2","name":"The account owner was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/owner","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","owner"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"c34f701a-5afb-4df6-8143-b4c414f2edba","name":"The response contains an MFA challenge in XML or JSON format. Contact your Account Manager or Systems Engineers to determine the best route to handle this error.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/owner","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","owner"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Non-Authoritative Information (since HTTP/1.1)","code":203,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"acecbe2f-92e8-4376-9b14-26b32ed2c0b7","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/owner","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","owner"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"503d21f6-077f-4e0a-9d0f-0180dcab034d","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/owner","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","owner"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"1a597a95-27f3-4a20-ac31-943c58bacf73","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/owner","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","owner"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"68250a53-8774-4c1c-a856-a278966c6040"},{"name":"Get Loan Payment Details","event":[{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const customerId = pm.environment.get(\"customerId\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","const loanAccountId = pm.variables.get(\"loanAccountId\")\r","if (loanAccountId) {\r","    return\r","}\r","\r","console.log(\"Fetching account ID ...\")\r","const options = {\r","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts\",\r","    method: 'GET',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    }\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.expect(err).to.be.null\r","    pm.expect(response.code).to.equals(200)\r","    const account = response.json().accounts[0]\r","    pm.variables.set(\"loanAccountId\", account.id)\r","})"],"type":"text/javascript","id":"80c62841-62ee-4bf1-8c96-91c06bea9af4"}}],"id":"277da60d-bed1-4507-9444-a9e6acbe4576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v2/customers/6025984717/accounts/{{loanAccountId}}/loanDetails","description":"<p>Return the loan payment details of the customer for a loan-type account.</p>\n<p>Note: this is a premium service, billable per every successful API call.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","customers","6025984717","accounts","{{loanAccountId}}","loanDetails"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"f2b1f96f-59b6-4bb5-bda5-4ac26c97c49f","name":"The loan payment details were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/accounts/:accountId/loanDetails","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","accounts",":accountId","loanDetails"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"79c3ece9-743a-437a-8f12-bbb8a37c61d3","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/accounts/:accountId/loanDetails","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","accounts",":accountId","loanDetails"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"fe88cf53-653a-4e04-8d43-0eb5aa5144d2","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/accounts/:accountId/loanDetails","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","accounts",":accountId","loanDetails"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"d20c9ab2-8c88-4b22-ad7c-03b77416b998","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/accounts/:accountId/loanDetails","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","accounts",":accountId","loanDetails"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"277da60d-bed1-4507-9444-a9e6acbe4576"},{"name":"Get Account ACH Details","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"9207c712-01f7-4d09-bf98-1023738538a7"}}],"id":"1e293291-a131-4dbf-a5b0-2b6f2d69f351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{savingAccountId}}/details","description":"<p>Return the real account number and routing number details for an ACH payment.</p>\n<p>Note: this is a premium service, billable per every successful API call.</p>\n<p><em>Supported account types</em>: \"checking\", \"savings\", \"moneyMarket\", \"loan\"</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{savingAccountId}}","details"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"5f63a783-93ab-4f75-ad5a-256b6c6eb6fd","name":"Account ACH details were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/details","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","details"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"b8f9e43e-32eb-4dd5-bfa4-419e4437548b","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/details","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","details"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"a93631d9-c13d-4a48-8235-0e4586fedf0a","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/details","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","details"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"1c78dc24-18fd-453f-93e4-38f90d487bf1","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/details","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","details"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"1e293291-a131-4dbf-a5b0-2b6f2d69f351"},{"name":"Get Available Balance - Live","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"da182851-9c2c-409b-a463-996f61e7054e"}}],"id":"adab3a1d-d72a-47b4-b3cf-1dadd92bdbb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{savingAccountId}}/availableBalance/live","description":"<p>Retrieve the available and cleared account balances for a single account in real-time directly from a financial institution.</p>\n<p>Note: this is a premium service, billable per every successful API call.</p>\n<p><em>Supported account types</em>: \"checking\", \"savings\", \"moneyMarket\", \"cd\"</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{savingAccountId}}","availableBalance","live"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"df59dedf-bfbe-413a-8a52-9f64cb0e413c","name":"The live balance was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/availableBalance/live","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","availableBalance","live"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"e8043ead-7879-4c19-9e09-2a629a50e666","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/availableBalance/live","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","availableBalance","live"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"4783e6b6-09b4-45bf-90d6-f8dbff7dfc1c","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/availableBalance/live","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","availableBalance","live"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"4c0d72a8-8b94-494e-84df-d406642cec76","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/availableBalance/live","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","availableBalance","live"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"adab3a1d-d72a-47b4-b3cf-1dadd92bdbb5"},{"name":"Get Available Balance","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"93dfa011-f833-41de-940d-0185f0397730"}}],"id":"de38c369-fd66-4ba5-a171-5a3b6f5e9188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{savingAccountId}}/availableBalance","description":"<p>Retrieve the latest cached available and cleared account balances for a customer. Since we update and store balances throughout the day, this is the most accurate balance information available when a connection to a financial institution is unavailable or when a faster response is needed. Only deposit account types are supported: Checking, Savings, Money Market, and CD.</p>\n<p>Note: this is a premium service, billable per every successful API call. Enrollment is required.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{savingAccountId}}","availableBalance"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"c3f9d038-05cf-4eba-a368-ea2474ab2989","name":"The balance was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/availableBalance","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","availableBalance"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"a7778931-a430-4698-9e37-3ac79b5cc654","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/availableBalance","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","availableBalance"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"b5392474-f70c-437f-b507-874ffa5676ae","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/availableBalance","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","availableBalance"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"5d237055-d91b-4bf0-bf79-d0b07fad0622","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/availableBalance","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","availableBalance"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"de38c369-fd66-4ba5-a171-5a3b6f5e9188"},{"name":"Get Account Owner Details","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"79e345f4-e810-4ad6-8200-1c97b2fae7a2"}}],"id":"75d31a47-3459-4c61-a0a1-2f69a8ceffa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v3/customers/6025984717/accounts/{{accountId}}/owner","description":"<p>This service retrieves the account details for an account holder from an institution. The following data objects are available.</p>\n<ul>\n<li>Account holders</li>\n<li>Addresses</li>\n<li>Emails</li>\n<li>Phones</li>\n<li>Documentations</li>\n</ul>\n<p>Note: the data returned varies from institution to institution as not all of them make the same data available.  This is a premium service, billable per each successful API call.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v3","customers","6025984717","accounts","{{accountId}}","owner"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"92c1c172-bcec-42fe-993a-e2cc04db9290","name":"The account owner was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/accounts/:accountId/owner","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","accounts",":accountId","owner"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"265e561f-bca9-45c1-a86c-2e19c552e030","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/accounts/:accountId/owner","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","accounts",":accountId","owner"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"ac707aad-ce7a-4948-b7b6-a03b75a819cf","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/accounts/:accountId/owner","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","accounts",":accountId","owner"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"}],"_postman_id":"75d31a47-3459-4c61-a0a1-2f69a8ceffa8"}],"id":"1f5d9060-3681-4843-bef7-d5f283b75a88","description":"<p>Fetch ACH details and account balances</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","","const savingAccountId = pm.variables.get(\"savingAccountId\")","const accountId = pm.variables.get(\"accountId\")","if (savingAccountId && accountId) {","    return","}","","console.log(\"Fetching account IDs\")","const options = {","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts\",","    method: 'GET',","    header: {","        \"Accept\": \"application/json\",","        \"Finicity-App-Key\": appKey,","        \"Finicity-App-Token\": appToken","    }","}","pm.sendRequest(options, function (err, response) {","    pm.expect(err).to.be.null","    pm.expect(response.code).to.equals(200)","    const accounts = response.json().accounts;","    const account = accounts.filter(a => a.type === \"savings\")[0]","    pm.variables.set(\"savingAccountId\", account.id)","    pm.variables.set(\"accountId\", accounts[0].id)","})"],"id":"4db91871-cb20-41eb-af80-1633ae631130"}}],"_postman_id":"1f5d9060-3681-4843-bef7-d5f283b75a88"},{"name":"Portfolios","item":[{"name":"Get Portfolio by Customer","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    // HTTP 404: report not yet ready\r","    pm.expect([200, 404]).contain(pm.response.code)\r","})"],"type":"text/javascript","id":"493d88ce-e707-420d-99dc-5bfc308c6268"}}],"id":"3d41bbb9-5175-4afd-85a6-d9ffedefea9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/decisioning/v1/customers/6025984717/portfolios/{{portfolioId}}","description":"<p>Return a portfolio of most recently generated reports for each report type for the given customer. If there are multiple reports that were generated for a report type (VOA, VOI, etc.), only the most recently generated report for the type will be returned.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v1","customers","6025984717","portfolios","{{portfolioId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"3eaeb4c6-ba7b-40a9-9222-b1fe59ad0f1e","name":"The portfolio was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/portfolios/:portfolioId","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","portfolios",":portfolioId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"portfolioId","value":"y4zsgccj4xpw-6-port","description":"(Required) A portfolio ID with the portfolio version number. Using the portfolio number without a version number will return the most recently generated reports."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"8489ad9f-caf4-4046-a7fe-c7eac210bf17","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/portfolios/:portfolioId","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","portfolios",":portfolioId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"portfolioId","value":"y4zsgccj4xpw-6-port","description":"(Required) A portfolio ID with the portfolio version number. Using the portfolio number without a version number will return the most recently generated reports."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"44f70f5a-7eef-49b3-8e85-f9993f373ff5","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/portfolios/:portfolioId","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","portfolios",":portfolioId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"portfolioId","value":"y4zsgccj4xpw-6-port","description":"(Required) A portfolio ID with the portfolio version number. Using the portfolio number without a version number will return the most recently generated reports."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"23f39839-2a02-482f-97bd-76f6f3e044a1","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/portfolios/:portfolioId","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","portfolios",":portfolioId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"portfolioId","value":"y4zsgccj4xpw-6-port","description":"(Required) A portfolio ID with the portfolio version number. Using the portfolio number without a version number will return the most recently generated reports."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"3d41bbb9-5175-4afd-85a6-d9ffedefea9f"},{"name":"Get Portfolio by Consumer","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    // HTTP 404: report not yet ready\r","    pm.expect([200, 404]).contain(pm.response.code)\r","})"],"type":"text/javascript","id":"2c8c3cff-8439-40f7-8627-91b27bfab360"}}],"id":"16e253ec-1394-47ef-84f9-97b2311ae477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/decisioning/v1/consumers/{{consumerId}}/portfolios/{{portfolioId}}","description":"<p>Return a portfolio of most recently generated reports for each report type for a given consumer. If there are multiple reports that were generated for a report type (VOA, VOI, etc.), only the most recently generated report for the type will be returned.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v1","consumers","{{consumerId}}","portfolios","{{portfolioId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"615504ba-8b85-41fe-8dc5-328f0ee654d7","name":"The portfolio was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId/portfolios/:portfolioId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId","portfolios",":portfolioId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"},{"key":"portfolioId","value":"y4zsgccj4xpw-6-port","description":"(Required) A portfolio ID with the portfolio version number. Using the portfolio number without a version number will return the most recently generated reports."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"27ae190a-679f-45c4-9851-cf28b7c8c506","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId/portfolios/:portfolioId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId","portfolios",":portfolioId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"},{"key":"portfolioId","value":"y4zsgccj4xpw-6-port","description":"(Required) A portfolio ID with the portfolio version number. Using the portfolio number without a version number will return the most recently generated reports."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"20a006a2-0c36-48ac-8fdb-9f8e826da87d","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId/portfolios/:portfolioId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId","portfolios",":portfolioId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"},{"key":"portfolioId","value":"y4zsgccj4xpw-6-port","description":"(Required) A portfolio ID with the portfolio version number. Using the portfolio number without a version number will return the most recently generated reports."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"4c70ee97-08ba-48f6-b670-9b4dedd0aaae","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId/portfolios/:portfolioId","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId","portfolios",":portfolioId"],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"},{"key":"portfolioId","value":"y4zsgccj4xpw-6-port","description":"(Required) A portfolio ID with the portfolio version number. Using the portfolio number without a version number will return the most recently generated reports."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"16e253ec-1394-47ef-84f9-97b2311ae477"}],"id":"74c4e062-a797-4511-b94c-52064d7195a2","description":"<p>Generate portfolios of the most recent reports</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","","const portfolioId = pm.variables.get(\"portfolioId\")","const consumerId = pm.variables.get(\"consumerId\")","if (portfolioId && consumerId) {","    return","}","","console.log(\"Fetching portfolio ID and consumer ID ...\")","const options = {","    url:  baseUrl + \"/decisioning/v2/customers/\" + customerId + \"/voa\",","    method: 'POST',","    header: {","        \"Accept\": \"application/json\",","        \"Content-Type\": \"application/json\",","        \"Finicity-App-Key\": appKey,","        \"Finicity-App-Token\": appToken","    },","    body: JSON.stringify({})","}","pm.sendRequest(options, function (err, response) {","    pm.expect(err).to.be.null","    pm.expect(response.code).to.equals(202)","    pm.variables.set(\"portfolioId\", response.json().portfolioId)","    pm.variables.set(\"consumerId\", response.json().consumerId)","})"],"id":"45d96c89-625f-4509-b43e-5f9869341ee3"}}],"_postman_id":"74c4e062-a797-4511-b94c-52064d7195a2"},{"name":"Reports","item":[{"name":"Get Report by Customer and ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([200, 429])\r","})"],"type":"text/javascript","id":"af8fe0fc-5cca-4e9b-998f-2e7095ceef42"}}],"id":"90636964-c477-4010-a846-fbbc3ad1cd4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/decisioning/v3/customers/6025984717/reports/{{reportId}}?onBehalfOf=Some entity&purpose=99","description":"<p>Get a report that has been generated by a previous call to one of the Generate Report services.</p>\n<p>The report's <code>status</code> field contains \"inProgress\", \"failure\", or \"success\". If the status shows \"inProgress\", the client app should wait 20 seconds and then call this API again.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v3","customers","6025984717","reports","{{reportId}}"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>(Required) The name of the entity you are retrieving the report on behalf of</p>\n","type":"text/plain"},"key":"onBehalfOf","value":"Some entity"},{"description":{"content":"<p>2-digit code from <a href=\"https://docs.finicity.com/permissible-purpose-codes/\">Permissible Purpose Codes</a>, specifying the reason for retrieving this report. Required for retrieving some reports.</p>\n","type":"text/plain"},"key":"purpose","value":"99"}],"variable":[]}},"response":[{"id":"9ee54ddd-35da-4834-b567-c67769f6ee5d","name":"The report was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v3/customers/:customerId/reports/:reportId?onBehalfOf=Some entity&purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v3","customers",":customerId","reports",":reportId"],"query":[{"key":"onBehalfOf","value":"Some entity"},{"key":"purpose","value":"99"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"reportId","value":"u4hstnnak45g","description":"(Required) ID of the report"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"57ad964b-44f3-4fde-bd40-560c05cfe5db","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v3/customers/:customerId/reports/:reportId?onBehalfOf=Some entity&purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v3","customers",":customerId","reports",":reportId"],"query":[{"key":"onBehalfOf","value":"Some entity"},{"key":"purpose","value":"99"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"reportId","value":"u4hstnnak45g","description":"(Required) ID of the report"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"8c389346-9691-48cc-a748-20026e66747c","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v3/customers/:customerId/reports/:reportId?onBehalfOf=Some entity&purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v3","customers",":customerId","reports",":reportId"],"query":[{"key":"onBehalfOf","value":"Some entity"},{"key":"purpose","value":"99"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"reportId","value":"u4hstnnak45g","description":"(Required) ID of the report"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"826da6de-cb30-4f63-8894-aa8afe360a4a","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v3/customers/:customerId/reports/:reportId?onBehalfOf=Some entity&purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v3","customers",":customerId","reports",":reportId"],"query":[{"key":"onBehalfOf","value":"Some entity"},{"key":"purpose","value":"99"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"reportId","value":"u4hstnnak45g","description":"(Required) ID of the report"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"90636964-c477-4010-a846-fbbc3ad1cd4e"},{"name":"Get Report by Consumer and ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([200, 429])\r","})"],"type":"text/javascript","id":"3f238b01-2888-49f9-ab37-a11fdd1ad45a"}}],"id":"60f25425-d356-478f-9eb9-2e1504cd9400","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/decisioning/v3/consumers/{{consumerId}}/reports/{{reportId}}?purpose=99&onBehalfOf=Some entity","description":"<p>Get a report that has been generated by a previous call to one of the Generate Report services.</p>\n<p>The report's <code>status</code> field contains \"inProgress\", \"failure\", or \"success\". If the status shows \"inProgress\", the client app should wait 20 seconds and then call this API again.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v3","consumers","{{consumerId}}","reports","{{reportId}}"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>2-digit code from <a href=\"https://docs.finicity.com/permissible-purpose-codes/\">Permissible Purpose Codes</a>, specifying the reason for retrieving this report. Required for retrieving some reports.</p>\n","type":"text/plain"},"key":"purpose","value":"99"},{"description":{"content":"<p>(Required) The name of the entity you are retrieving the report on behalf of</p>\n","type":"text/plain"},"key":"onBehalfOf","value":"Some entity"}],"variable":[]}},"response":[{"id":"ffcaa721-272f-41d4-8c09-74533849138d","name":"The report was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v3/consumers/:consumerId/reports/:reportId?purpose=99&onBehalfOf=Some entity","host":["https://api.finicity.com"],"path":["decisioning","v3","consumers",":consumerId","reports",":reportId"],"query":[{"key":"purpose","value":"99"},{"key":"onBehalfOf","value":"Some entity"}],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"},{"key":"reportId","value":"u4hstnnak45g","description":"(Required) ID of the report"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"df694856-d00c-47b0-b5da-9abe3f952c4f","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v3/consumers/:consumerId/reports/:reportId?purpose=99&onBehalfOf=Some entity","host":["https://api.finicity.com"],"path":["decisioning","v3","consumers",":consumerId","reports",":reportId"],"query":[{"key":"purpose","value":"99"},{"key":"onBehalfOf","value":"Some entity"}],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"},{"key":"reportId","value":"u4hstnnak45g","description":"(Required) ID of the report"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"3fe8c9a2-1dd0-475d-b99d-683cd72bfb56","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v3/consumers/:consumerId/reports/:reportId?purpose=99&onBehalfOf=Some entity","host":["https://api.finicity.com"],"path":["decisioning","v3","consumers",":consumerId","reports",":reportId"],"query":[{"key":"purpose","value":"99"},{"key":"onBehalfOf","value":"Some entity"}],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"},{"key":"reportId","value":"u4hstnnak45g","description":"(Required) ID of the report"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"8745412e-aa72-4ebe-8dcc-9f27839328cd","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v3/consumers/:consumerId/reports/:reportId?purpose=99&onBehalfOf=Some entity","host":["https://api.finicity.com"],"path":["decisioning","v3","consumers",":consumerId","reports",":reportId"],"query":[{"key":"purpose","value":"99"},{"key":"onBehalfOf","value":"Some entity"}],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"},{"key":"reportId","value":"u4hstnnak45g","description":"(Required) ID of the report"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"60f25425-d356-478f-9eb9-2e1504cd9400"},{"name":"Get Reports by Customer ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([200, 429])\r","})"],"type":"text/javascript","id":"27d5271a-2732-4b85-a680-df8c0bdc17a1"}}],"id":"da2ba4ac-c1e4-4358-a4cb-ec8feb889322","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/decisioning/v1/customers/6025984717/reports","description":"<p>Get all reports that have been generated by previous calls to Generate Report services for the given customer.</p>\n<p>The <code>status</code> fields in the returned contain \"inProgress\", \"failure\", or \"success\". If the status shows \"inProgress\", the client app should wait 20 seconds and then call this API again.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v1","customers","6025984717","reports"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>2-digit code from <a href=\"https://docs.finicity.com/permissible-purpose-codes/\">Permissible Purpose Codes</a>, specifying the reason for retrieving this report. Required for retrieving some reports.</p>\n","type":"text/plain"},"key":"purpose","value":"99"}],"variable":[]}},"response":[{"id":"a0c398e5-581c-414d-ac20-8357fce9a9c0","name":"The reports summaries were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"a41ae7a3-f589-4c7e-989f-7fe01b74ee16","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"c7422e22-1d85-45c1-b22e-99b5741773d7","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"413d9a0a-0b2c-447f-920b-80777d84e251","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"},{"id":"082b2c9e-24f3-4030-a209-4d92bcb22112","name":"The service can't accept more requests or is not available from the [Test Drive](https://signup.finicity.com/).","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/customers/:customerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","customers",":customerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"da2ba4ac-c1e4-4358-a4cb-ec8feb889322"},{"name":"Get Reports by Consumer ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([200, 429])\r","})"],"type":"text/javascript","id":"d057e36c-f6ac-4223-a07a-12d6d98f0e91"}}],"id":"11ee993a-fa0c-4009-a1e5-efd090fd21b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/decisioning/v1/consumers/{{consumerId}}/reports","description":"<p>Get all reports that have been generated by previous calls to Generate Report services for the given consumer.</p>\n<p>The <code>status</code> fields in the returned contain \"inProgress\", \"failure\", or \"success\". If the status shows \"inProgress\", the client app should wait 20 seconds and then call this API again.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v1","consumers","{{consumerId}}","reports"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>2-digit code from <a href=\"https://docs.finicity.com/permissible-purpose-codes/\">Permissible Purpose Codes</a>, specifying the reason for retrieving this report. Required for retrieving some reports.</p>\n","type":"text/plain"},"key":"purpose","value":"99"}],"variable":[]}},"response":[{"id":"a45f510d-85f8-4110-9e02-a49a9a0867e9","name":"The reports summaries were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"a5a2dd9d-2d16-4733-b17b-13a3c03547d2","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"f1f79e0a-1cd4-4bdf-8f7e-e6a7afd748fe","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"b66b6655-faa3-4db7-9369-a221d7850524","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"},{"id":"54c81803-b765-4817-834c-c68064a09e81","name":"The service can't accept more requests or is not available from the [Test Drive](https://signup.finicity.com/).","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v1/consumers/:consumerId/reports?purpose=99","host":["https://api.finicity.com"],"path":["decisioning","v1","consumers",":consumerId","reports"],"query":[{"key":"purpose","value":"99"}],"variable":[{"key":"consumerId","value":"0bf46322c167b562e6cbed9d40e19a4c","description":"(Required) The consumer ID"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"11ee993a-fa0c-4009-a1e5-efd090fd21b1"}],"id":"384d5124-2614-4797-9d34-ea4eda5b9c18","description":"<p>Fetch generated reports when ready</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","const accountId = pm.variables.get(\"accountId\")","const reportId = pm.variables.get(\"reportId\")","const consumerId = pm.variables.get(\"consumerId\")","","createConsumer()","fetchReportIdAndConsumerId()","","function createConsumer() {","    const consumerExists = pm.globals.get(\"consumerExists\")","    if (consumerExists) {","        // A consumer was already created","        return","    }","","    console.log(\"Creating consumer ... \")","    const options = {","        url:  baseUrl + \"/decisioning/v1/customers/\" + customerId + \"/consumer\", ","        method: 'POST',","        header: {","            \"Accept\": \"application/json\",","            \"Content-type\": \"application/json\",","            \"Finicity-App-Key\": appKey,","            \"Finicity-App-Token\": appToken","        },","        body: JSON.stringify({","            \"firstName\": \"Homer\",","            \"lastName\": \"Loanseeke\",","            \"address\": \"434 W Ascension Way\",","            \"city\": \"Murray\",","            \"state\": \"UT\",","            \"zip\": \"84123\",","            \"phone\": \"1-800-986-3343\",","            \"ssn\": \"999601111\",","            \"birthday\": {","                \"year\": 1970,","                \"month\": 7,","                \"dayOfMonth\": 4","            },","            \"email\": \"finicity@test.com\",","            \"suffix\": \"Mr\"","        })","    }","    pm.sendRequest(options, function (err, response) {","        pm.expect(err).to.be.null","        pm.expect(response.code).to.be.oneOf([200, 201, 409])","        pm.globals.set(\"consumerExists\", true)","    })","}","","function fetchReportIdAndConsumerId() {","    if (reportId && consumerId) {","        return","    }","    ","    console.log(\"Fetching report ID and consumer ID ...\")","    const options = {","        url:  baseUrl + \"/decisioning/v2/customers/\" + customerId + \"/voa\",","        method: 'POST',","        header: {","            \"Accept\": \"application/json\",","            \"Content-Type\": \"application/json\",","            \"Finicity-App-Key\": appKey,","            \"Finicity-App-Token\": appToken","        },","        body: JSON.stringify({})","    }","    pm.sendRequest(options, function (err, response) {","        pm.expect(err).to.be.null","        pm.expect(response.code).to.equals(202)","        pm.variables.set(\"reportId\", response.json().id)","        pm.variables.set(\"consumerId\", response.json().consumerId)","    })","}",""],"id":"68eeb050-86ce-4397-aaa0-9b0f717fffb1"}}],"_postman_id":"384d5124-2614-4797-9d34-ea4eda5b9c18"},{"name":"Third Party Access","item":[{"name":"Generate Third Party Access Key","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","\r","    /* Store the receipt ID */\r","    const receiptId = pm.response.json().data[0].receipt.receiptId\r","    pm.globals.set(\"receiptId\", receiptId)\r","})"],"type":"text/javascript","id":"e1cfed05-ea4f-44b3-a155-c83dae146ae6"}}],"id":"fbf0db45-2a68-403a-838b-89565a738a38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customerId\": \"6025984717\",\r\n  \"partnerId\": \"2445584195057\",\r\n  \"thirdPartyPartnerId\": \"1234583871234\",\r\n  \"provenance\": {\r\n    \"clientFingerprint\": \"LU9ZYxcDNQCwEmAxH52XFzaRiGMAAAAABclSKxW5S9P8pUMDV4fbpg\",\r\n    \"ipAddress\": \"8.8.8.8\",\r\n    \"token\": \"P9YbR+srNVyQI35893d+BzPrhGMAAAAAuacVUt+3m4svbaFjVSbHEA==\"\r\n  },\r\n  \"products\": [\r\n    {\r\n      \"product\": \"moneyTransferDetails\",\r\n      \"payorId\": \"2445581559892\",\r\n      \"maxCalls\": 200,\r\n      \"accountId\": \"{{accountId}}\",\r\n      \"accessPeriod\": {\r\n        \"type\": \"timeframe\",\r\n        \"startTime\": \"{{nowIso8601}}\",\r\n        \"endTime\": \"{{tomorrowIso8601}}\"\r\n      }\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/partners/accessKey","description":"<p>Generate access key for third party partners.</p>\n<p>A partner can provide access to third party partners with this access key.</p>\n","urlObject":{"path":["aggregation","v1","partners","accessKey"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"686a34f6-8628-420b-9a6e-2132ddae8071","name":"The third party access key was successfully generated","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":"https://api.finicity.com/aggregation/v1/partners/accessKey"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"50b338dd-17d2-4ad4-8716-af3df8dda2a1","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":"https://api.finicity.com/aggregation/v1/partners/accessKey"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"2007f635-d219-41bd-bee0-dfb6e1391294","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":"https://api.finicity.com/aggregation/v1/partners/accessKey"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"},{"id":"9d1bdcf7-06e9-48d9-8241-60a29492b242","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":"https://api.finicity.com/aggregation/v1/partners/accessKey"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"fbf0db45-2a68-403a-838b-89565a738a38"},{"name":"Update Third Party Access","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(200)\r","})"],"type":"text/javascript","id":"985764b1-522b-476d-9092-86b798c6002a"}}],"id":"234e27e6-cc34-4519-b41b-aa5000a120d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"customerId\": \"6025984717\",\r\n  \"partnerId\": \"2445584195057\",\r\n  \"thirdPartyPartnerId\": \"1234583871234\",\r\n  \"provenance\": {\r\n    \"clientFingerprint\": \"LU9ZYxcDNQCwEmAxH52XFzaRiGMAAAAABclSKxW5S9P8pUMDV4fbpg\",\r\n    \"ipAddress\": \"8.8.8.8\",\r\n    \"token\": \"P9YbR+srNVyQI35893d+BzPrhGMAAAAAuacVUt+3m4svbaFjVSbHEA==\"\r\n  },\r\n  \"products\": [\r\n    {\r\n      \"product\": \"moneyTransferDetails\",\r\n      \"payorId\": \"2445581559892\",\r\n      \"maxCalls\": 200,\r\n      \"accountId\": \"{{accountId}}\",\r\n      \"accessPeriod\": {\r\n        \"type\": \"timeframe\",\r\n        \"startTime\": \"{{nowIso8601}}\",\r\n        \"endTime\": \"{{tomorrowIso8601}}\"\r\n      }\r\n    }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/partners/accessKey/{{receiptId}}","description":"<p>Update access for third party partners</p>\n","urlObject":{"path":["aggregation","v1","partners","accessKey","{{receiptId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"e348d8c1-8441-46af-b920-abcb4b70f77f","name":"The third party access key was successfully updated","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/accessKey/:consentReceiptId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","accessKey",":consentReceiptId"],"variable":[{"key":"consentReceiptId","value":"cr_dcfvygbhunjimk","description":"(Required) Third party access key receipt id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"2a05bbfe-0886-42b8-88c6-2d4c7744e28d","name":"The request was rejected","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/accessKey/:consentReceiptId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","accessKey",":consentReceiptId"],"variable":[{"key":"consentReceiptId","value":"cr_dcfvygbhunjimk","description":"(Required) Third party access key receipt id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"56b6e3f5-bfe6-4470-a34d-906bf9b9f12a","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/accessKey/:consentReceiptId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","accessKey",":consentReceiptId"],"variable":[{"key":"consentReceiptId","value":"cr_dcfvygbhunjimk","description":"(Required) Third party access key receipt id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"},{"id":"8b06b716-2f9a-424d-b505-df2de1326c6d","name":"The resource doesn't exist","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/accessKey/:consentReceiptId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","accessKey",":consentReceiptId"],"variable":[{"key":"consentReceiptId","value":"cr_dcfvygbhunjimk","description":"(Required) Third party access key receipt id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"234e27e6-cc34-4519-b41b-aa5000a120d5"},{"name":"Revoke Third Party Access","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(204)\r","})"],"type":"text/javascript","id":"7fe1a686-5242-4198-8c57-6cf288513780"}}],"id":"83bc9122-7aad-4ed4-a308-44f97a034ba5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/partners/accessKey/{{receiptId}}","description":"<p>Revoke access of third party partners</p>\n","urlObject":{"path":["aggregation","v1","partners","accessKey","{{receiptId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"6299febd-fe41-40d0-ac74-fe2b5ca80fa9","name":"The third party access key was successfully revoked","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/accessKey/:consentReceiptId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","accessKey",":consentReceiptId"],"variable":[{"key":"consentReceiptId","value":"cr_dcfvygbhunjimk","description":"(Required) Third party access key receipt id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"401aa6a4-019e-4c13-9a28-33b8e0d1c4e5","name":"The request was rejected","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/accessKey/:consentReceiptId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","accessKey",":consentReceiptId"],"variable":[{"key":"consentReceiptId","value":"cr_dcfvygbhunjimk","description":"(Required) Third party access key receipt id"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10010\",\n  \"status\": \"400\",\n  \"message\": \"\\\"partnerId\\\" is required\",\n  \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n  \"tags\": \"\"\n}"},{"id":"83a89d84-980a-4dff-b395-66b056f5b648","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/accessKey/:consentReceiptId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","accessKey",":consentReceiptId"],"variable":[{"key":"consentReceiptId","value":"cr_dcfvygbhunjimk","description":"(Required) Third party access key receipt id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": \"10022\",\n  \"status\": \"401\",\n  \"message\": \"Invalid authorization credentials\",\n  \"user_message\": \"The session has expired or is invalid\",\n  \"tags\": \"\"\n}"},{"id":"90febfa5-92fe-42dd-b04e-2bcd1a845fac","name":"The resource doesn't exist","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"<API Key>"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/partners/accessKey/:consentReceiptId","host":["https://api.finicity.com"],"path":["aggregation","v1","partners","accessKey",":consentReceiptId"],"variable":[{"key":"consentReceiptId","value":"cr_dcfvygbhunjimk","description":"(Required) Third party access key receipt id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 10100,\n  \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"83bc9122-7aad-4ed4-a308-44f97a034ba5"}],"id":"e25bf14e-043a-4fae-a061-fff83b8d41f9","description":"<p>Generate and manage access keys for other partners</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","","const accountId = pm.variables.get(\"accountId\")","if (accountId) {","    return","}","","console.log(\"Fetching account ID ...\")","const options = {","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts\",","    method: 'GET',","    header: {","        \"Accept\": \"application/json\",","        \"Finicity-App-Key\": appKey,","        \"Finicity-App-Token\": appToken","    }","}","pm.sendRequest(options, function (err, response) {","    pm.expect(err).to.be.null","    pm.expect(response.code).to.equals(200)","    const account = response.json().accounts[0]","    pm.variables.set(\"accountId\", account.id)","})"],"id":"58e66be6-3208-4a35-9e6f-1916e5dc210f"}}],"_postman_id":"e25bf14e-043a-4fae-a061-fff83b8d41f9"},{"name":"Transactions","item":[{"name":"Load Historic Transactions for Customer Account","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(204)\r","})"],"type":"text/javascript","id":"ce25fcfd-2fbb-4208-9c2c-5f26e96ea520"}}],"id":"f4b8dee9-4183-4e8d-83a7-3ac1c7489e6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{accountId}}/transactions/historic","description":"<p>Connect to the account's financial institution and load up to 24 months of historic transactions for the account. Length of history varies by institution.</p>\n<p>This is a premium service. The billable event is a call to this service specifying a customer ID that has not been seen before by this service. (If this service is called multiple times with the same customer ID, to load transactions from multiple accounts, only one billable event has occurred.)</p>\n<p>The recommended timeout setting for this request is 180 seconds in order to receive a response. However, you can terminate the connection after making the call the operation will still complete. You will have to pull the account records to check for an updated aggregation attempt date to know when the refresh is complete.</p>\n<p>The date range sent to the institution is calculated from the account's <code>createdDate</code>. This means that calling this service a second time for the same account normally will not add any new transactions for the account. For this reason, a second call to this service for a known account ID will usually return immediately.</p>\n<p>In a few specific scenarios, it may be desirable to force a second connection to the institution for a known account ID. Some examples are:</p>\n<ul>\n<li>The institution's policy has changed, making more transactions available</li>\n<li>Finicity has now added a longer transaction history support for the institution</li>\n<li>The first call encountered an error, and the resulting Aggregation Ticket has now been fixed by the Finicity Support Team</li>\n</ul>\n<p>In these cases, the POST request can contain the parameter <code>force=true</code> in the request body to force the second connection.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{accountId}}","transactions","historic"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"054d7d18-1e50-48fd-b1d0-7720ae82870c","name":"The response contains an MFA challenge in XML or JSON format. Contact your Account Manager or Systems Engineers to determine the best route to handle this error.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/transactions/historic","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","transactions","historic"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Non-Authoritative Information (since HTTP/1.1)","code":203,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"624204a0-090c-410f-ad8b-a585833f4880","name":"Historic transactions have been loaded successfully. The transactions are now available by calling the Get Customer Account Transactions API.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/transactions/historic","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","transactions","historic"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"9914085c-42ae-4d17-81d4-d2c36df9f7b3","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/transactions/historic","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","transactions","historic"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"a9847667-0364-4ccb-bddb-b3d5e435f0e0","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/transactions/historic","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","transactions","historic"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"52cf62ff-c3a4-49bd-87bb-6221c8f9ec88","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/transactions/historic","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","transactions","historic"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"f4b8dee9-4183-4e8d-83a7-3ac1c7489e6a"},{"name":"Get All Customer Transactions","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equal(200)\r","})"],"type":"text/javascript","id":"ec1d44aa-c95f-4428-ad3e-2da0411da137"}}],"id":"ce679ddd-37be-4509-beb9-f80d46eb4bc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v3/customers/6025984717/transactions?fromDate=1000000000&includePending=true&toDate=1665309262","description":"<p>Get all transactions available for this customer within the given date range, across all accounts. This service supports paging and sorting by <code>transactionDate</code> (or <code>postedDate</code> if no transaction date is provided), with a maximum of 1000 transactions per request.</p>\n<p>Standard consumer aggregation provides up to 180 days of transactions prior to the date each account was added to the Finicity system. To access older transactions, you must first call the service Load Historic Transactions for Account.</p>\n<p>There is no limit for the size of the window between <code>fromDate</code> and <code>toDate</code>, however, the maximum number of transactions returned on one page is 1000.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v3","customers","6025984717","transactions"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>(Required) A start date</p>\n","type":"text/plain"},"key":"fromDate","value":"1000000000"},{"disabled":true,"description":{"content":"<p>Index of the page of results to return</p>\n","type":"text/plain"},"key":"start","value":"1"},{"disabled":true,"description":{"content":"<p>Maximum number of results per page</p>\n","type":"text/plain"},"key":"limit","value":"25"},{"disabled":true,"description":{"content":"<p>Date sort order: \"asc\" for ascending, \"desc\" for descending</p>\n","type":"text/plain"},"key":"sort","value":"desc"},{"description":{"content":"<p>If pending transactions must be included</p>\n","type":"text/plain"},"key":"includePending","value":"true"},{"description":{"content":"<p>(Required) A end date</p>\n","type":"text/plain"},"key":"toDate","value":"1665309262"}],"variable":[]}},"response":[{"id":"8486a06a-29f5-47ff-8aef-a323be42a71f","name":"The transactions were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/transactions?fromDate=1607450357&toDate=1607450357&start=1&limit=25&sort=desc&includePending=true","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","transactions"],"query":[{"key":"fromDate","value":"1607450357"},{"key":"toDate","value":"1607450357"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"sort","value":"desc"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"5fa70385-7db4-431e-ad65-b9a48b12353a","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/transactions?fromDate=1607450357&toDate=1607450357&start=1&limit=25&sort=desc&includePending=true","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","transactions"],"query":[{"key":"fromDate","value":"1607450357"},{"key":"toDate","value":"1607450357"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"sort","value":"desc"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"5cb6b4b5-bffb-448f-9186-2f976fe7e2eb","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/transactions?fromDate=1607450357&toDate=1607450357&start=1&limit=25&sort=desc&includePending=true","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","transactions"],"query":[{"key":"fromDate","value":"1607450357"},{"key":"toDate","value":"1607450357"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"sort","value":"desc"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"901b91a2-ed1b-40e0-b559-ebb13544ee58","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/transactions?fromDate=1607450357&toDate=1607450357&start=1&limit=25&sort=desc&includePending=true","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","transactions"],"query":[{"key":"fromDate","value":"1607450357"},{"key":"toDate","value":"1607450357"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"sort","value":"desc"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"ce679ddd-37be-4509-beb9-f80d46eb4bc3"},{"name":"Get Customer Transaction by ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equal(404)\r","})"],"type":"text/javascript","id":"379affb8-d498-4e20-bec1-1cf096071360"}}],"id":"32b17596-3cd3-42b3-8734-9a1371034cf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v2/customers/6025984717/transactions/1234","description":"<p>Get details for the given transaction.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v2","customers","6025984717","transactions","1234"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"960ec782-af0c-42cb-a418-0015198c6a03","name":"The transaction was successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/transactions/:transactionId","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","transactions",":transactionId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"transactionId","value":"21284820852","description":"(Required) A transaction ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"6ca72dc6-37e6-4535-9dc0-33f82a967591","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/transactions/:transactionId","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","transactions",":transactionId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"transactionId","value":"21284820852","description":"(Required) A transaction ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"a275c5dd-eb7f-44ea-bbef-c4ad463f0f1f","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/transactions/:transactionId","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","transactions",":transactionId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"transactionId","value":"21284820852","description":"(Required) A transaction ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"a087ff74-47c1-43f5-92fa-6bcf07922bd8","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v2/customers/:customerId/transactions/:transactionId","host":["https://api.finicity.com"],"path":["aggregation","v2","customers",":customerId","transactions",":transactionId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"transactionId","value":"21284820852","description":"(Required) A transaction ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"32b17596-3cd3-42b3-8734-9a1371034cf9"},{"name":"Get Customer Account Transactions","event":[{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const customerId = pm.environment.get(\"customerId\")\r","const appToken = pm.globals.get(\"appToken\")\r","\r","const accountId = pm.variables.get(\"accountId\")\r","if (accountId) {\r","    return\r","}\r","\r","console.log(\"Fetching account ID ...\")\r","const options = {\r","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts\",\r","    method: 'GET',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    }\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.expect(err).to.be.null\r","    pm.expect(response.code).to.equals(200)\r","    pm.variables.set(\"accountId\", response.json().accounts[0].id)\r","})"],"type":"text/javascript","id":"e26a45c4-6d22-4266-9965-ca19253ddc6e"}},{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equal(200)\r","})"],"type":"text/javascript","id":"18da3f7f-c952-4de2-9ad7-4348a09b328c"}}],"id":"43db98ef-9b60-44ba-81d1-0af5a7c1bf2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v4/customers/6025984717/accounts/{{accountId}}/transactions?fromDate=1000000000&includePending=true&toDate=1665309262","description":"<p>Get all transactions available for this customer account within the given date range. This service supports paging and sorting by <code>transactionDate</code> (or <code>postedDate</code> if no transaction date is provided), with a maximum of 1000 transactions per request.</p>\n<p>Standard consumer aggregation provides up to 180 days of transactions prior to the date each account was added to the Finicity system. To access older transactions, you must first call the Cash Flow Verification service Load Historic Transactions for Account.</p>\n<p>There is no limit for the size of the window between <code>fromDate</code> and <code>toDate</code>, however, the maximum number of transactions returned on one page is 1000.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v4","customers","6025984717","accounts","{{accountId}}","transactions"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>(Required) A start date</p>\n","type":"text/plain"},"key":"fromDate","value":"1000000000"},{"disabled":true,"description":{"content":"<p>Index of the page of results to return</p>\n","type":"text/plain"},"key":"start","value":"1"},{"disabled":true,"description":{"content":"<p>Maximum number of results per page</p>\n","type":"text/plain"},"key":"limit","value":"25"},{"disabled":true,"description":{"content":"<p>Date sort order: \"asc\" for ascending, \"desc\" for descending</p>\n","type":"text/plain"},"key":"sort","value":"desc"},{"description":{"content":"<p>If pending transactions must be included</p>\n","type":"text/plain"},"key":"includePending","value":"true"},{"description":{"content":"<p>(Required) A end date</p>\n","type":"text/plain"},"key":"toDate","value":"1665309262"}],"variable":[]}},"response":[{"id":"23132d3f-64f9-458a-a0e3-3efd730ecf34","name":"The transactions were successfully retrieved","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/accounts/:accountId/transactions?fromDate=1607450357&toDate=1607450357&start=1&limit=25&sort=desc&includePending=true","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","accounts",":accountId","transactions"],"query":[{"key":"fromDate","value":"1607450357"},{"key":"toDate","value":"1607450357"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"sort","value":"desc"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"c04ab3f2-1278-4486-b1da-2d5a69ac1da3","name":"The request was rejected","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/accounts/:accountId/transactions?fromDate=1607450357&toDate=1607450357&start=1&limit=25&sort=desc&includePending=true","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","accounts",":accountId","transactions"],"query":[{"key":"fromDate","value":"1607450357"},{"key":"toDate","value":"1607450357"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"sort","value":"desc"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"b46d7215-53b1-4070-8d68-3ed5ce2a2e90","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/accounts/:accountId/transactions?fromDate=1607450357&toDate=1607450357&start=1&limit=25&sort=desc&includePending=true","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","accounts",":accountId","transactions"],"query":[{"key":"fromDate","value":"1607450357"},{"key":"toDate","value":"1607450357"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"sort","value":"desc"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"f2f5eddb-b7fd-4ba3-b502-c0ea4ecb5150","name":"The resource doesn't exist","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v3/customers/:customerId/accounts/:accountId/transactions?fromDate=1607450357&toDate=1607450357&start=1&limit=25&sort=desc&includePending=true","host":["https://api.finicity.com"],"path":["aggregation","v3","customers",":customerId","accounts",":accountId","transactions"],"query":[{"key":"fromDate","value":"1607450357"},{"key":"toDate","value":"1607450357"},{"key":"start","value":"1"},{"key":"limit","value":"25"},{"key":"sort","value":"desc"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"43db98ef-9b60-44ba-81d1-0af5a7c1bf2e"},{"name":"Generate Transactions Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"0756f7ad-2b6f-451a-8df3-3ac21906e533"}},{"listen":"prerequest","script":{"exec":["// A consumer is needed for this API\r","createConsumer()\r","\t\r","function createConsumer() {\r","    const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","    const customerId = pm.environment.get(\"customerId\")\r","    const appKey = pm.environment.get(\"appKey\")\r","    const appToken = pm.globals.get(\"appToken\")\r","\r","    const consumerExists = pm.globals.get(\"consumerExists\")\r","    if (consumerExists) {\r","        // A consumer was already created\r","        return\r","    }\r","\r","    console.log(\"Creating consumer ... \")\r","    const options = {\r","        url:  baseUrl + \"/decisioning/v1/customers/\" + customerId + \"/consumer\", \r","        method: 'POST',\r","        header: {\r","            \"Accept\": \"application/json\",\r","            \"Content-type\": \"application/json\",\r","            \"Finicity-App-Key\": appKey,\r","            \"Finicity-App-Token\": appToken\r","        },\r","        body: JSON.stringify({\r","            \"firstName\": \"Homer\",\r","            \"lastName\": \"Loanseeke\",\r","            \"address\": \"434 W Ascension Way\",\r","            \"city\": \"Murray\",\r","            \"state\": \"UT\",\r","            \"zip\": \"84123\",\r","            \"phone\": \"1-800-986-3343\",\r","            \"ssn\": \"999601111\",\r","            \"birthday\": {\r","                \"year\": 1970,\r","                \"month\": 7,\r","                \"dayOfMonth\": 4\r","            },\r","            \"email\": \"finicity@test.com\",\r","            \"suffix\": \"Mr\"\r","        })\r","    }\r","    pm.sendRequest(options, function (err, response) {\r","        pm.expect(err).to.be.null\r","        pm.expect(response.code).to.be.oneOf([200, 201, 409])\r","        pm.globals.set(\"consumerExists\", true)\r","    })\r","}"],"type":"text/javascript","id":"a8ae400b-9882-435d-aa20-1b7fa74bf594"}}],"id":"9163443f-228b-480e-a9a7-291d69ac9c52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"showNsf\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/transactions","description":"<p>Generate a Transaction Report for the given accounts under the given customer. This service retrieves up to 24 months of transaction history for the given customer. It then uses this information to generate the Transaction Report. </p>\n<p>This is a premium service. A billable event will be created upon the successful generation of the Transactions Report. </p>\n<p>Before calling this API, a consumer must be created for the given customer ID (see Consumers APIs).</p>\n<p>There cannot be more than 24 months between <code>fromDate</code> and <code>toDate</code>.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","transactions"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"},{"disabled":true,"description":{"content":"<p>(Required) A end date</p>\n","type":"text/plain"},"key":"toDate","value":"1607450357"},{"disabled":true,"description":{"content":"<p>If pending transactions must be included</p>\n","type":"text/plain"},"key":"includePending","value":"true"}],"variable":[]}},"response":[{"id":"0966d4ff-4318-404a-abd4-c7dd01e8d1b8","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/transactions?callbackUrl=https://finicity-test/webhook&toDate=1607450357&includePending=true","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","transactions"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"},{"key":"toDate","value":"1607450357"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"e88ad58f-2882-43c1-a4e0-62309db886fa","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/transactions?callbackUrl=https://finicity-test/webhook&toDate=1607450357&includePending=true","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","transactions"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"},{"key":"toDate","value":"1607450357"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"f1e512a9-c008-4298-a843-b8fe3515536f","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/transactions?callbackUrl=https://finicity-test/webhook&toDate=1607450357&includePending=true","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","transactions"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"},{"key":"toDate","value":"1607450357"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"c876c160-7cc9-48b9-908f-1295e05bd348","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/transactions?callbackUrl=https://finicity-test/webhook&toDate=1607450357&includePending=true","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","transactions"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"},{"key":"toDate","value":"1607450357"},{"key":"includePending","value":"true"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"9163443f-228b-480e-a9a7-291d69ac9c52"}],"id":"88b21616-a357-47a6-89a4-2af5878f4ed2","description":"<p>Fetch customer and account transactions and generate reports asynchronously</p>\n","_postman_id":"88b21616-a357-47a6-89a4-2af5878f4ed2"},{"name":"TxPush","item":[{"name":"Subscribe to TxPush Notifications","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(201)\r","})"],"type":"text/javascript","id":"d7a6ddf4-d730-44cc-b329-0b9498069168"}}],"id":"692e7216-c3d5-43f0-a986-dc2749e4cc99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"callbackUrl\": \"https://eo309tmtekubcq.m.pipedream.net/\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{accountId}}/txpush","description":"<p>Register a client app's TxPush Listener to receive TxPush notifications related to the given account.</p>\n<p>Each call to this service will return two records, one with class account and one with class transaction. Account events are sent when values change in the account's fields (such as <code>balance</code> or <code>interestRate</code>). Transaction events are sent whenever a new transaction is posted for the account. For institutions that do not provide TxPush services, notifications are sent as soon as Finicity finds a new transaction or new account data through regular aggregation processes.</p>\n<p>The listener's URL must be secure (HTTPS) for any real-world account. In addition, the client's TxPush Listener will need to be verified. HTTP and HTTPS connections are only allowed on the standard ports 80 (HTTP) and 443 (HTTPS). The use of other ports will result with the call failing.</p>\n<p>For additional details on this process, see <a href=\"https://docs.finicity.com/txpush-listener-service/\">TxPush Listener Service</a>.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{accountId}}","txpush"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"d0b3a1fd-3500-4d46-9543-7e95e6546289","name":"The subscription was successfully created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/txpush","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","txpush"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"subscriptions\": [\n  {\n   \"id\": 17554874,\n   \"accountId\": 5011648377,\n   \"type\": \"account\",\n   \"callbackUrl\": \"https://www.mydomain.com/txpush/listener\",\n   \"signingKey\": \"zg4U0v1IvTzFEHIXzJMxPHnfUwWZAMVpXrUuNuL9IvZI0QzkDdwp39IAKuNOFxOVqCOgHLMS1Zpe4ZL40NX83aJkqI6v0Ez5B7BLBtvr7Ag11kPH3uG1taTeOV0CTyI4LOg7ohSHn0DqaRu2aBq26KI90nYe0CecTCzzhu4yMXL43JV8YfydAexNdkzfg8tY44MlhBPUh2neHW2EFTT2ja4s4Ul10JgID03un8WBSrIm2adHw3QYJB4jk4k1e\"\n  },\n  {\n   \"id\": 17554874,\n   \"accountId\": 5011648377,\n   \"type\": \"account\",\n   \"callbackUrl\": \"https://www.mydomain.com/txpush/listener\",\n   \"signingKey\": \"zg4U0v1IvTzFEHIXzJMxPHnfUwWZAMVpXrUuNuL9IvZI0QzkDdwp39IAKuNOFxOVqCOgHLMS1Zpe4ZL40NX83aJkqI6v0Ez5B7BLBtvr7Ag11kPH3uG1taTeOV0CTyI4LOg7ohSHn0DqaRu2aBq26KI90nYe0CecTCzzhu4yMXL43JV8YfydAexNdkzfg8tY44MlhBPUh2neHW2EFTT2ja4s4Ul10JgID03un8WBSrIm2adHw3QYJB4jk4k1e\"\n  }\n ]\n}"},{"id":"5f709e6e-e589-4cda-9fb0-37500f3a8979","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/txpush","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","txpush"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"6b5fe8de-d8ba-4f67-8152-6bd5b414bfb1","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/txpush","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","txpush"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"15083b21-5e2f-4680-b7f3-ad7a40cbc480","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/txpush","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","txpush"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"692e7216-c3d5-43f0-a986-dc2749e4cc99"},{"name":"Disable TxPush Notifications","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(204)\r","})"],"type":"text/javascript","id":"3f915e5d-8505-4dfc-b4ba-c9bc93db20e6"}},{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const customerId = pm.environment.get(\"customerId\")\r","const appToken = pm.globals.get(\"appToken\")\r","const accountId = pm.variables.get(\"accountId\")\r","\r","// Create a subscription we can delete later\r","console.log(\"Subscribing to TxPush Notifications...\")\r","const options = {\r","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts/\"+ accountId + \"/txpush\",\r","    method: 'POST',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Content-Type\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    },\r","    body: JSON.stringify({\r","        \"callbackUrl\": \"https://eo309tmtekubcq.m.pipedream.net/\"\r","    })\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.expect(err).to.be.null\r","    pm.expect(response.code).to.equals(201)\r","})"],"type":"text/javascript","id":"38377c9e-a773-4415-9b55-329152aec0d6"}}],"id":"ce725469-a78f-43f7-aa85-b00db7655c2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{accountId}}/txpush","description":"<p>Delete all TxPush subscriptions with their notifications for the given account. No more notifications will be sent for account or transaction events.</p>\n<p>For additional details on this process, see <a href=\"https://docs.finicity.com/txpush-listener-service/\">TxPush Listener Service</a>.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{accountId}}","txpush"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"085c9177-3560-4bd0-8cf6-ffeb458dc479","name":"Subscriptions were successfully deleted for the given account","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/txpush","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","txpush"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"2ff1c55b-f903-4ddd-b8a3-3198a4b0e976","name":"The request was rejected","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/txpush","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","txpush"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"274e8c0c-f5de-41ac-a4ac-c061a13cad00","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/txpush","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","txpush"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"600e8f73-7dc9-4848-b9d5-9268a8d90e6c","name":"The resource doesn't exist","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/txpush","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","txpush"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"ce725469-a78f-43f7-aa85-b00db7655c2d"},{"name":"Create TxPush Test Transaction","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.equals(201)\r","})"],"type":"text/javascript","id":"5fcfdb38-4591-4cb4-ad4d-a8ef09458d36"}}],"id":"4c5358f6-ae28-4f3c-a877-838f24f39ca5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": -4.25,\n    \"description\": \"a testing transaction description\",\n    \"transactionDate\": 1607450357,\n    \"status\": \"pending\",\n    \"postedDate\": 1607450357\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/accounts/{{accountId}}/transactions","description":"<p>Inject a transaction into the transaction list for a testing account. This allows an app to trigger TxPush notifications for the account in order to test the app's TxPush Listener service. This causes the platform to send one transaction event and one account event (showing that the account balance has changed). This service is only supported for testing accounts.</p>\n<p>For additional details on this process, see <a href=\"https://docs.finicity.com/txpush-listener-service/\">TxPush Listener Service</a>.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","accounts","{{accountId}}","transactions"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"6d38d053-7736-4ecd-982f-ae9506e7d621","name":"The test notification was successfully sent","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/transactions","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","transactions"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"id\": 21284820852,\n \"createdDate\": 1607450357\n}"},{"id":"8d037553-2b34-49f9-8dc5-7827f39bb993","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/transactions","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","transactions"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"04bcd3c5-b7b7-4b7e-b820-0a960fc227b7","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/transactions","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","transactions"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"c4ae1620-6191-46f9-9f8f-0913a544d95b","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/accounts/:accountId/transactions","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","accounts",":accountId","transactions"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"accountId","value":"5011648377","description":"(Required) The account ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"4c5358f6-ae28-4f3c-a877-838f24f39ca5"},{"name":"Delete TxPush Subscription","event":[{"listen":"prerequest","script":{"exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")\r","const appKey = pm.environment.get(\"appKey\")\r","const customerId = pm.environment.get(\"customerId\")\r","const appToken = pm.globals.get(\"appToken\")\r","const accountId = pm.variables.get(\"accountId\")\r","\r","// Create a subscription we can delete later\r","console.log(\"Subscribing to TxPush Notifications...\")\r","const options = {\r","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts/\"+ accountId + \"/txpush\",\r","    method: 'POST',\r","    header: {\r","        \"Accept\": \"application/json\",\r","        \"Content-Type\": \"application/json\",\r","        \"Finicity-App-Key\": appKey,\r","        \"Finicity-App-Token\": appToken\r","    },\r","    body: JSON.stringify({\r","        \"callbackUrl\": \"https://eo309tmtekubcq.m.pipedream.net/\"\r","    })\r","}\r","pm.sendRequest(options, function (err, response) {\r","    pm.expect(err).to.be.null\r","    pm.expect(response.code).to.equals(201)\r","    pm.variables.set(\"subscriptionId\", response.json().subscriptions[0].id)\r","})"],"type":"text/javascript","id":"57b901d9-d9bc-4b6f-b5df-bde165769c50"}}],"id":"a9078419-fdfc-4e0b-a35e-b0dde718fd1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"url":"https://api.finicity.com/aggregation/v1/customers/6025984717/subscriptions/{{subscriptionId}}","description":"<p>Delete a specific subscription to TxPush notifications for the given account. This could be individual deleting the account or transactions events. No more events will be sent for that specific subscription.</p>\n<p>For additional details on this process, see <a href=\"https://docs.finicity.com/txpush-listener-service/\">TxPush Listener Service</a>.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["aggregation","v1","customers","6025984717","subscriptions","{{subscriptionId}}"],"host":["https://api.finicity.com"],"query":[],"variable":[]}},"response":[{"id":"a4173633-3f30-430c-91b4-82153c2f0c59","name":"The subscription was successfully deleted","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/subscriptions/:subscriptionId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","subscriptions",":subscriptionId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"subscriptionId","value":"17554874","description":"(Required) The subscription ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ae466006-f9ed-45af-b90a-2d3e825aea5c","name":"The request was rejected","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/subscriptions/:subscriptionId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","subscriptions",":subscriptionId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"subscriptionId","value":"17554874","description":"(Required) The subscription ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"9425dd4d-1d00-4e38-9376-3e333d52c114","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/subscriptions/:subscriptionId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","subscriptions",":subscriptionId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"subscriptionId","value":"17554874","description":"(Required) The subscription ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"92c2fe49-407e-475b-8167-69b283afcc8b","name":"The resource doesn't exist","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/aggregation/v1/customers/:customerId/subscriptions/:subscriptionId","host":["https://api.finicity.com"],"path":["aggregation","v1","customers",":customerId","subscriptions",":subscriptionId"],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"},{"key":"subscriptionId","value":"17554874","description":"(Required) The subscription ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"a9078419-fdfc-4e0b-a35e-b0dde718fd1a"}],"id":"cf6e3da2-b83d-4304-a0df-23e657adfede","description":"<p>Manage TxPush subscriptions</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","","const accountId = pm.variables.get(\"accountId\")","if (accountId) {","    return","}","","console.log(\"Fetching account ID ...\")","const options = {","    url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/accounts\",","    method: 'GET',","    header: {","        \"Accept\": \"application/json\",","        \"Finicity-App-Key\": appKey,","        \"Finicity-App-Token\": appToken","    }","}","pm.sendRequest(options, function (err, response) {","    pm.expect(err).to.be.null","    pm.expect(response.code).to.equals(200)","    pm.variables.set(\"accountId\", response.json().accounts[0].id)","})"],"id":"cd977e64-2f0b-4451-890e-7a2cd8804935"}}],"_postman_id":"cf6e3da2-b83d-4304-a0df-23e657adfede"},{"name":"Verify Assets","item":[{"name":"Generate VOA Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"a54d1f3e-9c23-4280-b4b1-8b1964bd5278"}}],"id":"e4134603-250c-47ab-8dec-298fbfcfb692","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"showNsf\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/voa","description":"<p>Generate a Verification of Assets (VOA) report for all checking, savings, money market, and investment accounts for the given customer. This service retrieves up to twelve months of transaction history for each account and uses this information to generate the VOA report.</p>\n<p>This is a premium service. The billing rate is the variable rate for Verification of Assets under the current subscription plan. The billable event is the successful generation of a VOA report.</p>\n<p>Before calling this API, a consumer must be created for the given customer ID (see Consumers APIs).</p>\n<p>If no account of type checking, savings, money market, or investment is found, the service will return HTTP 400 Bad Request.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","voa"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"77afb638-4fd8-489c-adc6-d2d681e892c5","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voa?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voa"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"50ab9f7e-ad43-491b-a8b6-b886ccbba10c","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voa?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voa"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"c2a5dcd6-4804-4901-9e63-99b975f83b6e","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voa?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voa"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"7196b889-70ab-4f01-b0ab-93506a337cbd","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voa?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voa"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"e4134603-250c-47ab-8dec-298fbfcfb692"},{"name":"Generate VOA With Income Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"769efeb6-2f60-4736-ab33-62a44dc8d1aa"}}],"id":"5cd5fb36-0693-4fc7-b540-9e4efd7d7ca0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"showNsf\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/voaHistory","description":"<p>Generate a Verification of Assets with Income (VOAI) report for all checking, savings, money market, and investment accounts for the given customer. This service retrieves up to 24 months of transaction history for each account and uses this information to generate the VOAI report. The report includes 1 - 6 months of all debit and credit transactions for asset verification. By default, the history is set to 61 days, however, you can change the transaction history in this section by setting the <code>fromDate</code> parameter. The report also includes up to 24 months of income credit transactions (ordered by account and confidence level) regardless of <code>fromDate</code> for income verification.</p>\n<p>This is a premium service. The billable event is the successful generation of a VOAI report.</p>\n<p>Before calling this API, a consumer must be created for the given customer ID (see Consumers APIs).</p>\n<p>If no account of type checking, savings, money market, or investment is found, the service will return HTTP 400 Bad Request.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","voaHistory"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"a5f48dd1-3531-40e3-b979-4f09c1db67bc","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voaHistory?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voaHistory"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"94f59b56-b840-47d7-ba18-7ca6e9f25292","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voaHistory?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voaHistory"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"244ba53b-112e-40aa-98ec-1207df990edb","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voaHistory?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voaHistory"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"5904d0e0-dcef-4771-88d9-fe1ae0c6b8c5","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voaHistory?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voaHistory"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"5cd5fb36-0693-4fc7-b540-9e4efd7d7ca0"},{"name":"Generate Prequalification Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"76526b44-ee08-43df-b76c-02c7f28f1409"}}],"id":"17e71be6-897b-47f4-b9a5-8ad09ebd4e8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"showNsf\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/preQualVoa","description":"<p>Generate a Prequalification Report (<code>preQualVoa</code>) for all checking, savings, money market, and investment accounts for the given customer. This service retrieves account and owner information as well as the number of NSFs for any account that is a checking account for the customer. </p>\n<p>This is a premium service. The billing rate is billed per report for the Prequalification report. </p>\n<p>Before calling this API, a consumer must be created for the given customer ID (see Consumers APIs).</p>\n<p>If no account of type checking, savings, money market, or investment is found, the service will return HTTP 400 Bad Request.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","preQualVoa"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"bb65e008-2a27-4d02-9477-bbf3eca8ff89","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/preQualVoa?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","preQualVoa"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"3d45b75a-8531-4f89-b6fd-8b90f6731e5b","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/preQualVoa?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","preQualVoa"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"d29f2608-4c54-4ee6-8d91-ff6e4a100fa1","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/preQualVoa?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","preQualVoa"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"945e03f7-9853-4588-9732-e2b40511da1f","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/preQualVoa?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","preQualVoa"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"17e71be6-897b-47f4-b9a5-8ad09ebd4e8d"},{"name":"Generate Prequalification (Non-CRA) Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"4f8709f5-1824-4e1e-8eb1-b2bec71011aa"}}],"id":"1e6c4575-9f72-4a1a-9cde-14bd1a99ed19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"showNsf\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/assetSummary","description":"<p>Retrieve all checking, savings, money market, and investment accounts for a customer. The account, owner information, and the number of insufficient funds (NSFs) for checking accounts are also provided.</p>\n<p>This is a premium service, billable per every successful API call.</p>\n<p>If no account type of checking, savings, money market, or investment is found, the service will return HTTP 400 Bad Request.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","assetSummary"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"3b5d7381-4959-44db-ad70-8ac09bec2c57","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/assetSummary?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","assetSummary"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"d6b4f568-93f7-457a-9b5c-5c843aebf301","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/assetSummary?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","assetSummary"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"f46122cd-43c1-4a23-b942-31b2e0bd3329","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/assetSummary?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","assetSummary"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"21d31d81-1300-499e-86e1-3761e9622907","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/assetSummary?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","assetSummary"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"1e6c4575-9f72-4a1a-9cde-14bd1a99ed19"}],"id":"242157c9-c4fd-4cf1-b299-3029ff720ad9","description":"<p>Generate asset reports asynchronously</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// A consumer is needed for some of these APIs","createConsumer()","","function createConsumer() {","    const baseUrl = pm.collectionVariables.get(\"baseUrl\")","    const customerId = pm.environment.get(\"customerId\")","    const appKey = pm.environment.get(\"appKey\")","    const appToken = pm.globals.get(\"appToken\")","","    const consumerExists = pm.globals.get(\"consumerExists\")","    if (consumerExists) {","        // A consumer was already created","        return","    }","","    console.log(\"Creating consumer ... \")","    const options = {","        url:  baseUrl + \"/decisioning/v1/customers/\" + customerId + \"/consumer\", ","        method: 'POST',","        header: {","            \"Accept\": \"application/json\",","            \"Content-type\": \"application/json\",","            \"Finicity-App-Key\": appKey,","            \"Finicity-App-Token\": appToken","        },","        body: JSON.stringify({","            \"firstName\": \"Homer\",","            \"lastName\": \"Loanseeke\",","            \"address\": \"434 W Ascension Way\",","            \"city\": \"Murray\",","            \"state\": \"UT\",","            \"zip\": \"84123\",","            \"phone\": \"1-800-986-3343\",","            \"ssn\": \"999601111\",","            \"birthday\": {","                \"year\": 1970,","                \"month\": 7,","                \"dayOfMonth\": 4","            },","            \"email\": \"finicity@test.com\",","            \"suffix\": \"Mr\"","        })","    }","    pm.sendRequest(options, function (err, response) {","        pm.expect(err).to.be.null","        pm.expect(response.code).to.be.oneOf([200, 201, 409])","        pm.globals.set(\"consumerExists\", true)","    })","}"],"id":"f6e0359b-e156-4554-8966-d1dcb5d6a273"}}],"_postman_id":"242157c9-c4fd-4cf1-b299-3029ff720ad9"},{"name":"Verify Income and Employment","item":[{"name":"Generate VOI Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"26e43d73-c2f1-4b2d-9152-13003ded08ec"}}],"id":"3545608f-b1d8-4134-8f66-897395821d28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"showNsf\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/voi?callbackUrl=https://finicity-test/webhook","description":"<p>Generate a Verification of Income (VOI) report for all checking, savings, and money market accounts for the given customer. This service retrieves up to two years of transaction history for each account and uses this information to generate the VOI report.</p>\n<p>This is a premium service. The billing rate is the variable rate for Verification of Income under the current subscription plan. The billable event is the successful generation of a VOI report.</p>\n<p>If no account of type checking, savings, or money market is found, the service will return HTTP 400 Bad Request.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","voi"],"host":["https://api.finicity.com"],"query":[{"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"e55c4b20-c46c-461e-83ca-379bfe4d142e","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voi?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voi"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"61d86bf0-ce57-4175-bfa4-b40f692409c5","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voi?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voi"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"bc0d6978-e6f1-45db-8196-f9de1c9dd435","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voi?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voi"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"bf247b9b-3fe2-4542-a94e-4accfedee3c6","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voi?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voi"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"3545608f-b1d8-4134-8f66-897395821d28"},{"name":"Generate VOE - Payroll Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"ef7ae37e-cd22-4bfa-9af7-158e23e44172"}}],"id":"a1107c35-6749-4811-b522-e39baffe414c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payrollData\": {\n        \"ssn\": \"999601111\",\n        \"dob\": 15983999\n    },\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/voePayroll","description":"<p>Premium Service: A billable event when the API response is successful. </p>\n<p>MVS Implementation Options: Direct API Integration.</p>\n<p>Used as a complementary report to the VOIE-Payroll report. This report is used to fulfill the pre-close VOE requirements. It retrieves the customer's employment details and employment status through the payroll source without any income information. </p>\n<p>To generate this report, pass the values from the customer SSN, DOB, and the report ID from the first VOIE-Payroll report generated after the Connect session.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","voePayroll"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"e6c20eb2-822d-469d-85f6-badf50455e12","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voePayroll?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voePayroll"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"5866f657-8a20-4d69-9a7d-cf455a2ad8a5","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voePayroll?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voePayroll"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"cedf1e9e-f170-4555-9f52-dea055622bfe","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voePayroll?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voePayroll"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"9567bece-68b0-4978-b3d2-c0c1d046958a","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voePayroll?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voePayroll"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"a1107c35-6749-4811-b522-e39baffe414c"},{"name":"Generate VOE - Transactions Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"d6c91e18-cae4-4532-b34b-ade5f1a0c8d2"}}],"id":"c155993b-6415-46bd-9e63-d63a11f107ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ],\n    \"incomeStreamConfidenceMinimum\": 50\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/voeTransactions","description":"<p>Premium Service: A billable event when the API response is successful.</p>\n<p>MVS-Direct integration developers only.</p>\n<p>Used as a complimentary report to the VOA with Income and VOIE - Paystub (with TXVerify) reports and used to fulfill the pre-close VOE requirements. </p>\n<p>Retrieve the latest credit transaction information from the borrower's connected bank accounts and groups them into income streams so that you can view their payment history to ensure a direct deport was made within the expected cadence. The report displays transaction descriptions without any dollar amounts so that income re-verification isn't necessary.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","voeTransactions"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"ab184893-aabc-4815-967d-938fef8dfc1c","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voeTransactions?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voeTransactions"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"ebcf7e08-0bcf-4504-b295-fe795fe15033","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voeTransactions?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voeTransactions"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"55966ea1-9e57-4599-af49-ec862a9c6765","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voeTransactions?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voeTransactions"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"0a023e4c-2f7b-4569-a40c-8eb31dd235f1","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voeTransactions?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voeTransactions"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"c155993b-6415-46bd-9e63-d63a11f107ad"},{"name":"Generate Pay Statement Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"deb17401-11fa-447f-9dfc-c953048a48bc"}}],"id":"515d4e24-951b-478e-aec4-3cbc2621c4fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"paystatementReport\": {\n        \"assetIds\": [\n            \"{{assetId}}\"\n        ],\n        \"extractEarnings\": true,\n        \"extractDeductions\": true,\n        \"extractDirectDeposit\": true\n    },\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/payStatement","description":"<p>Generate Pay Statement Extraction Report for the given customer. This service accepts asset IDs of the stored pay statements to generate a Pay Statement Extraction Report. </p>\n<p>This is a premium service. The billing rate is the variable rate for Pay Statement Extraction Report under the current subscription plan. The billable event is the successful generation of a Pay Statement Extraction Report.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","payStatement"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"680386e8-f0f8-4c6b-8247-af2b778fadee","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/payStatement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","payStatement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"85860a15-5f4a-42a6-92af-ef6aaf02eee2","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/payStatement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","payStatement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"c67a57fd-8210-4f9d-aa32-e35f97d7c5c5","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/payStatement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","payStatement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"af6513cc-fae2-40ce-9727-9289fdb890bc","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/payStatement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","payStatement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"515d4e24-951b-478e-aec4-3cbc2621c4fa"},{"name":"Generate VOIE - Paystub (with TXVerify) Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"5d604a60-de85-416f-be58-a04a4366eef5"}}],"id":"30b181b9-f7a0-46b9-9ffe-7c50dd20070f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"voieWithInterviewData\": {\n        \"txVerifyInterview\": [\n            {\n                \"assetId\": \"{{assetId}}\"\n            }\n        ],\n        \"extractEarnings\": true,\n        \"extractDeductions\": true,\n        \"extractDirectDeposit\": true\n    },\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/voieTxVerify/withInterview","description":"<p>Generate a VOIE - Paystub (with TXVerify) report for all checking and savings under the given customer. This service retrieves up to two years of transaction history for the given accounts. It then uses this information as well as the provided paystub(s), which are passed into the request body as asset IDs (generated using the Store Customer Pay Statement API) to generate the VOIE - Paystub (with TXVerify) report.</p>\n<p>Note: if you are using this API to refresh the bank transactions, use the same asset ID from the first report. A new paystub is not required unless the paystub is too old for underwriting requirements. Using the same asset ID that was on the original report and the previously extracted details will be used to speed up report generation response time.</p>\n<p>This is a premium service. The billing rate is the variable rate for VOIE TXVerify under the current subscription plan. The billable event is the successful generation of a VOIE TXVerify Report.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","voieTxVerify","withInterview"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"a5d89656-5ad0-4be0-8364-374e9e507934","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voieTxVerify/withInterview?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voieTxVerify","withInterview"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"6a13d36d-adc0-4248-97dd-f420443241e8","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voieTxVerify/withInterview?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voieTxVerify","withInterview"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"cebdacfa-a7f2-47a0-ab8d-36f81c772ca2","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voieTxVerify/withInterview?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voieTxVerify","withInterview"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"aa6de107-40c6-4896-80f6-1a2a1b28acd7","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voieTxVerify/withInterview?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voieTxVerify","withInterview"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"30b181b9-f7a0-46b9-9ffe-7c50dd20070f"},{"name":"Generate VOIE - Paystub Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"79c5a6c8-6cc7-49c2-9233-07a7fb14a073"}}],"id":"a43ea9ba-35f7-458c-92ea-ccc1b3781641","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"voieWithStatementData\": {\n        \"assetIds\": [\n            \"{{assetId}}\"\n        ],\n        \"extractEarnings\": true,\n        \"extractDeductions\": true,\n        \"extractDirectDeposit\": true\n    },\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/voieTxVerify/withStatement","description":"<p>Generate a VOIE - Paystub report. This service uses the provided paystub(s), which are passed into the request body as asset IDs (generated using the Store Customer Pay Statement API) to generate the VOIE - Paystub report with digitized paystub details.</p>\n<p>This is a premium service. The billing rate is the variable rate for VOIE - Paystub under the current subscription plan. The billable event is the successful generation of a VOIE - Paystub Report.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","voieTxVerify","withStatement"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"27de3737-dc1e-4166-990a-6d76fcd74865","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voieTxVerify/withStatement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voieTxVerify","withStatement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"518d093e-50b7-4852-b72c-ac8e4e5ff62d","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voieTxVerify/withStatement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voieTxVerify","withStatement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"4752d147-0c79-42e6-9239-78fe075556a1","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voieTxVerify/withStatement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voieTxVerify","withStatement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"1650d68a-682f-4f4b-84ae-1a166ca66a89","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voieTxVerify/withStatement?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voieTxVerify","withStatement"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"a43ea9ba-35f7-458c-92ea-ccc1b3781641"},{"name":"Refresh VOIE - Payroll Report","event":[{"listen":"test","script":{"exec":["pm.test(\"Check status code\", function () {\r","    pm.expect(pm.response.code).to.be.oneOf([202, 429, 401])\r","})"],"type":"text/javascript","id":"d08744a4-3415-4ba9-bb07-8bdfa9cbfafb"}}],"id":"55f2a0f7-9910-4837-be35-f672aa841168","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"},{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"payrollData\": {\n        \"ssn\": \"999601111\",\n        \"dob\": 15983999\n    },\n    \"reportCustomFields\": [\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        },\n        {\n            \"label\": \"loanID\",\n            \"value\": \"123456\",\n            \"shown\": true\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.finicity.com/decisioning/v2/customers/6025984717/voiePayroll","description":"<p>The VOIE – Payroll report generates when the customer completes Connect. Lenders, who commonly use this report for pre-close verification employment check, can refresh this report by passing the consumer's SSN, DOB, and the report ID from the first VOIE – Payroll report they received.</p>\n<p>We'll refresh this report and update any new pay histories since the first report generated, including borrower's employment status as active or not.</p>\n<p>Note: lenders can only refresh this report one time in a 60-day period starting from the date of the first report. Any further report refreshes will incur additional charges.</p>\n<p><em>Supported regions</em>: <img src=\"https://flagcdn.com/20x15/us.png\" alt=\"🇺🇸\" /></p>\n","urlObject":{"path":["decisioning","v2","customers","6025984717","voiePayroll"],"host":["https://api.finicity.com"],"query":[{"disabled":true,"description":{"content":"<p>A Report Listener URL to receive notifications. The webhook must respond to the Finicity API with a 2xx HTTP status code.</p>\n","type":"text/plain"},"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[]}},"response":[{"id":"8a4ecdfd-e7e4-48bf-9830-31ae28ae07ea","name":"The report is being generated. When finished, a notification will be sent to the specified callback URL (Report Listener Service) and the report can be fetched using Get Report APIs. If you don't use a callback URL, Get Report returns a minimal report wit","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voiePayroll?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voiePayroll"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"},{"id":"b3f41937-52a5-4ad3-a5d6-6279d023e309","name":"The request was rejected","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voiePayroll?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voiePayroll"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10010\",\n \"status\": \"400\",\n \"message\": \"\\\"partnerId\\\" is required\",\n \"user_message\": \"One or more of the fields could not be validated. Please ensure you have entered the correct data.\",\n \"tags\": \"\"\n}"},{"id":"84f238fd-cb6b-4aea-83d7-8c4cf2498327","name":"The request lacks valid authentication credentials. Check \"Finicity-App-Key\" or \"Finicity-App-Token\".","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voiePayroll?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voiePayroll"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": \"10022\",\n \"status\": \"401\",\n \"message\": \"Invalid authorization credentials\",\n \"user_message\": \"The session has expired or is invalid\",\n \"tags\": \"\"\n}"},{"id":"557b3bc9-e865-4cef-b2a3-db25703abcaf","name":"The resource doesn't exist","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec"}],"url":{"raw":"https://api.finicity.com/decisioning/v2/customers/:customerId/voiePayroll?callbackUrl=https://finicity-test/webhook","host":["https://api.finicity.com"],"path":["decisioning","v2","customers",":customerId","voiePayroll"],"query":[{"key":"callbackUrl","value":"https://finicity-test/webhook"}],"variable":[{"key":"customerId","value":"1005061234","description":"(Required) A customer ID"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"code\": 10100,\n \"message\": \"Cannot find consumer with id 1234.\"\n}"}],"_postman_id":"55f2a0f7-9910-4837-be35-f672aa841168"}],"id":"1de62e11-2804-4d3d-9738-674abaec6609","description":"<p>Generate income and employment reports asynchronously</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const appKey = pm.environment.get(\"appKey\")","const customerId = pm.environment.get(\"customerId\")","const appToken = pm.globals.get(\"appToken\")","","// A consumer is needed for some of these APIs","createConsumer()","createAsset()","","function createAsset() {","    const assetId = pm.variables.get(\"assetId\")","    if (assetId) {","        return","    }","","    console.log(\"Creating asset ID ...\")","    const options = {","        url:  baseUrl + \"/aggregation/v1/customers/\"+ customerId + \"/payStatements\",","        method: 'POST',","        header: {","            \"Accept\": \"application/json\",","            \"Content-Type\": \"application/json\",","            \"Finicity-App-Key\": appKey,","            \"Finicity-App-Token\": appToken","        },","        body: JSON.stringify({","            \"label\": \"lastPayPeriod\",","            \"statement\": \"VGhpcyBtdXN0IGJlIGFuIGltYWdl\"","        })","    }","    pm.sendRequest(options, function (err, response) {","        pm.expect(err).to.be.null","        pm.expect(response.code).to.equals(200)","        pm.variables.set(\"assetId\", response.json().assetId)","    })","}","","function createConsumer() {","    const consumerExists = pm.globals.get(\"consumerExists\")","    if (consumerExists) {","        // A consumer was already created","        return","    }","","    console.log(\"Creating consumer ... \")","    const options = {","        url:  baseUrl + \"/decisioning/v1/customers/\" + customerId + \"/consumer\", ","        method: 'POST',","        header: {","            \"Accept\": \"application/json\",","            \"Content-type\": \"application/json\",","            \"Finicity-App-Key\": appKey,","            \"Finicity-App-Token\": appToken","        },","        body: JSON.stringify({","            \"firstName\": \"Homer\",","            \"lastName\": \"Loanseeke\",","            \"address\": \"434 W Ascension Way\",","            \"city\": \"Murray\",","            \"state\": \"UT\",","            \"zip\": \"84123\",","            \"phone\": \"1-800-986-3343\",","            \"ssn\": \"999601111\",","            \"birthday\": {","                \"year\": 1970,","                \"month\": 7,","                \"dayOfMonth\": 4","            },","            \"email\": \"finicity@test.com\",","            \"suffix\": \"Mr\"","        })","    }","    pm.sendRequest(options, function (err, response) {","        pm.expect(err).to.be.null","        pm.expect(response.code).to.be.oneOf([200, 201, 409])","        pm.globals.set(\"consumerExists\", true)","    })","}"],"id":"e3f4d600-d483-4fcc-b8ec-6b6abf2c8cb5"}}],"_postman_id":"1de62e11-2804-4d3d-9738-674abaec6609"}],"id":"97c600ca-f8c1-4eab-9230-20a770296162","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["console.log(pm.info.requestName + \" ...\")","","// Generate a new access token every 90 minutes","const baseUrl = pm.collectionVariables.get(\"baseUrl\")","const partnerId = pm.environment.get(\"partnerId\")","const partnerSecret = pm.environment.get(\"partnerSecret\")","const appKey = pm.environment.get(\"appKey\")","const appToken = pm.globals.get(\"appToken\")","","const now = new Date()","const expiryDate = appToken ? new Date(pm.globals.get(\"appTokenExpiry\")) : now","if (appToken && expiryDate > now) {","    // The token is still valid","    return","}","","// Create a new token","console.log(\"Creating access token ...\")","const options = {","    url:  baseUrl + \"/aggregation/v2/partners/authentication\", ","    method: 'POST',","    header: {","        \"Accept\": \"application/json\",","        \"Content-type\": \"application/json\",","        \"Finicity-App-Key\": appKey","    },","    body: JSON.stringify({","        \"partnerId\": partnerId,","        \"partnerSecret\": partnerSecret","    })","}","pm.sendRequest(options, function (err, response) {","    if (response.code == 403) {","        throw Error(\"HTTP 403. Make sure you are located in the US, UK or Canada.\")","    }","    pm.expect(err).to.be.null","    pm.expect(response.code).to.equals(200)","    const tokenValue = response.json().token","    const expiryDate = new Date()","    expiryDate.setMinutes(expiryDate.getMinutes() + 90)","    pm.globals.set(\"appToken\", tokenValue)","    pm.globals.set(\"appTokenExpiry\", expiryDate)","})"],"id":"6ec5ab0a-846f-4a04-8627-740d73801943"}}],"_postman_id":"97c600ca-f8c1-4eab-9230-20a770296162","description":""},{"name":"CF API","item":[{"name":"Create Customer","id":"a6122a6d-dfc8-4a0c-9081-6cbd24ec26f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"customer_Vimal\",\r\n    \"firstName\":\"F name\",\r\n    \"lastName\":\"L name\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pay-management.psvimal33329.workers.dev/createCustomer","urlObject":{"path":["createCustomer"],"host":["https://pay-management.psvimal33329.workers.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6122a6d-dfc8-4a0c-9081-6cbd24ec26f3"},{"name":"Getlink","id":"d16121d9-51c7-41a4-be77-648774a37bf8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\":\"6025984717\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pay-management.psvimal33329.workers.dev/MaterConfig","urlObject":{"path":["MaterConfig"],"host":["https://pay-management.psvimal33329.workers.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"d16121d9-51c7-41a4-be77-648774a37bf8"},{"name":"View Account","id":"29d8386d-e32d-457d-a0a9-780335fe3699","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\":\"6025984717\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pay-management.psvimal33329.workers.dev/ViewAccount","urlObject":{"path":["ViewAccount"],"host":["https://pay-management.psvimal33329.workers.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"29d8386d-e32d-457d-a0a9-780335fe3699"},{"name":"View Main Transcation","id":"ad442f4e-7039-4260-805d-f7dbab894c2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\":\"6025984717\",\r\n    \"fromDate\":1640995200,\r\n    \"toDate\":1664620799\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pay-management.psvimal33329.workers.dev/GetTranscation","urlObject":{"path":["GetTranscation"],"host":["https://pay-management.psvimal33329.workers.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad442f4e-7039-4260-805d-f7dbab894c2f"},{"name":"View Formance Transcation","id":"cdc74e2f-8475-4bdc-a057-e4902a55b04b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"ledger\":\"default\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pay-management.psvimal33329.workers.dev/formanceTransaction","urlObject":{"path":["formanceTransaction"],"host":["https://pay-management.psvimal33329.workers.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdc74e2f-8475-4bdc-a057-e4902a55b04b"},{"name":"Add Formance Transcation","id":"fd2b03bb-c5dd-495f-bdaf-67f4d0412561","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Finicity-App-Key","value":"0da767cc941033f5c5bb2ebec643feec","type":"text"},{"key":"Finicity-App-Token","value":"{{appToken}}","type":"text"}],"body":{"mode":"raw","raw":"{   \r\n    \"source\":\"world\",\r\n    \"destination\":\"destination\",\r\n    \"amount\":200,\r\n    \"ledger\":\"default\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://pay-management.psvimal33329.workers.dev/addTransaction","urlObject":{"path":["addTransaction"],"host":["https://pay-management.psvimal33329.workers.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd2b03bb-c5dd-495f-bdaf-67f4d0412561"}],"id":"a9ac6c78-e3a7-4d15-a9ee-6cc559676ec5","_postman_id":"a9ac6c78-e3a7-4d15-a9ee-6cc559676ec5","description":""}],"event":[{"listen":"prerequest","script":{"id":"c776be63-6454-48d7-8f97-f4d3f177b49e","type":"text/javascript","exec":["var moment = require('moment');","var ISO_8601_OFFSET = 'YYYY-MM-DDTHH:mm:ss.SSS';","pm.environment.set(\"nowIso8601\", `${moment().format(ISO_8601_OFFSET)}Z`);","pm.environment.set(\"tomorrowIso8601\", `${moment().add(1, 'days').format(ISO_8601_OFFSET)}Z`);"]}},{"listen":"test","script":{"id":"6f1bffec-db81-4ad4-b866-6adecc6e057c","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.finicity.com"},{"key":"appKey","value":"0da767cc941033f5c5bb2ebec643feec"},{"key":"partnerId","value":"2445584195057","type":"string"},{"key":"partnerSecret","value":"Xb0dkA6h9fXn5gqLkfrI","type":"string"},{"key":"customerId","value":"6025984717","type":"string"},{"key":"CFURL","value":"https://pay-management.psvimal33329.workers.dev","type":"string"},{"key":"CFURL","value":"http://192.168.107.1:55160","type":"string","disabled":true},{"key":"fromDate","value":"1640995200","type":"string"},{"key":"toDate","value":"1664620799","type":"string"}]}