Get Report by Customer Id and report Id
GET {{baseUrl}}/decisioning/v4/customers/{{customerId}}/reports/{{reportId}}
Get a report that has been generated by calling one of the Generate Report
services.
The report's status field will contain inProgress
, failure
, or success
. If the status shows inProgress
, the client app should wait 20 seconds and then call this endpoint again.
Supported regions:
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Consent-Receipt-Id | string | (Required) A Mastercard Open Banking Consent Receipt ID | |
Accept | string | ||
App-Key | string | ||
Finicity-App-Token | string |
RESPONSES
status: OK
{"id":"u4hstnnak45g","customerId":1005061234,"requesterName":"Mastercard Open Banking Test API","requestId":"cjqm4wtdcn","type":"voi","status":"inProgress","createdDate":1607450357,"constraints":{"accountIds":["5011648377","5011648378","5011648379"],"reportCustomFields":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"showNsf":false,"fromDate":1607450357,"incomeStreamConfidenceMinimum":50},"customerType":"active","title":"Mastercard Open Banking Asset Ready Report (CRA)","consumerId":"0bf46322c167b562e6cbed9d40e19a4c","startDate":1607450357,"endDate":1607450357,"days":230,"seasoned":true,"institutions":[{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlHomeApp":"https://finbank.prod.fini.city/CCBankImageMFA/login.jsp","accounts":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlHomeApp":"https://finbank.prod.fini.city/CCBankImageMFA/login.jsp","accounts":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"portfolioId":"y4zsgccj4xpw-6-port","consolidatedAvailableBalance":1929.57,"balanceSummary":[{"currentBalance":1000,"twoMonthAverage":-1865.96,"sixMonthAverage":-7616.01,"beginningBalance":-17795.6,"type":"transaction","availableBalance":1000,"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"currentBalance":1000,"twoMonthAverage":-1865.96,"sixMonthAverage":-7616.01,"beginningBalance":-17795.6,"type":"transaction","availableBalance":1000,"currency":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"errors":[{"code":{},"status":"401","title":"Connecting accounts error","level":"error","message":"Invalid authorization credentials","user_message":"The session has expired or is invalid","assetId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"accountId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"code":{},"status":"401","title":"Connecting accounts error","level":"error","message":"Invalid authorization credentials","user_message":"The session has expired or is invalid","assetId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"accountId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}