Retrieve cash flow insights from the bank accounts used for income verification
POST /cra/partner_insights/get
/cra/partner_insights/get returns cash flow insights for a specified user.
Request Body
Required
CraPartnerInsightsGetRequest defines the request schema for /cra/partner_insights/get.
Parameters
client_id
Your Plaid API
client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.
secret
Your Plaid API
secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.
user_token
The user token associated with the User data is being requested for.
Response
CraPartnerInsightsGetResponse defines the response schema for /cra/partner_insights/get.
Response Properties
report
report_id
A unique identifier associated with the Partner Insights object.
generated_time
The time when the Partner Insights report was generated.
client_report_id
Client-generated identifier, which can be used by lenders to track loan applications.
prism
The Prism Data insights for the user.
insights
The data from the Insights product returned by Prism Data.
version
The version of Prism Data’s insights model used.
result
The Insights Result object is a map of cash flow attributes, where the key is a string, and the value is a float or string.
error_reason
The error returned by Prism for this product.
cash_score
The data from the CashScore® product returned by Prism Data.
version
The version of Prism Data’s cash score model used. This field is deprecated in favor of
model_version.
model_version
The version of Prism Data’s cash score model used.
score
The score returned by Prism Data. Ranges from 1-999, with higher score indicating lower risk.
reason_codes
The reasons for an individual having risk according to the cash score.
metadata
An object containing metadata about the provided transactions.
max_age
Number of days since the oldest transaction.
min_age
Number of days since the latest transaction.
min_age_credit
Number of days since the latest credit transaction.
min_age_debit
Number of days since the latest debit transaction.
max_age_debit
Number of days since the oldest debit transaction.
max_age_credit
Number of days since the oldest credit transaction.
num_trxn_credit
Number of credit transactions.
num_trxn_debit
Number of debit transactions.
l1m_credit_value_cnt
Number of credit transactions in the last 30 days.
l1m_debit_value_cnt
Number of debit transactions in the last 30 days.
error_reason
The error returned by Prism for this product.
extend
The data from the CashScore® Extend product returned by Prism Data.
model_version
The version of Prism Data’s CashScore® Extend model used.
score
The score returned by Prism Data. Ranges from 1-999, with higher score indicating lower risk.
reason_codes
The reasons for an individual having risk according to the CashScore® Extend score.
metadata
An object containing metadata about the provided transactions.
max_age
Number of days since the oldest transaction.
min_age
Number of days since the latest transaction.
min_age_credit
Number of days since the latest credit transaction.
min_age_debit
Number of days since the latest debit transaction.
max_age_debit
Number of days since the oldest debit transaction.
max_age_credit
Number of days since the oldest credit transaction.
num_trxn_credit
Number of credit transactions.
num_trxn_debit
Number of debit transactions.
l1m_credit_value_cnt
Number of credit transactions in the last 30 days.
l1m_debit_value_cnt
Number of debit transactions in the last 30 days.
error_reason
The error returned by Prism for this product.
first_detect
The data from the FirstDetect product returned by Prism Data.
version
The version of Prism Data’s FirstDetect model used. This field is deprecated in favor of
model_version.
model_version
The version of Prism Data’s FirstDetect model used.
score
The score returned by Prism Data. Ranges from 1-999, with higher score indicating lower risk.
reason_codes
The reasons for an individual having risk according to the FirstDetect score.
metadata
An object containing metadata about the provided transactions.
max_age
Number of days since the oldest transaction.
min_age
Number of days since the latest transaction.
min_age_credit
Number of days since the latest credit transaction.
min_age_debit
Number of days since the latest debit transaction.
max_age_debit
Number of days since the oldest debit transaction.
max_age_credit
Number of days since the oldest credit transaction.
num_trxn_credit
Number of credit transactions.
num_trxn_debit
Number of debit transactions.
l1m_credit_value_cnt
Number of credit transactions in the last 30 days.
l1m_debit_value_cnt
Number of debit transactions in the last 30 days.
error_reason
The error returned by Prism for this product.
detect
The data from the CashScore® Detect product returned by Prism Data.
model_version
The version of Prism Data’s CashScore® Detect model used.
score
The score returned by Prism Data. Ranges from 1-999, with higher score indicating lower risk.
reason_codes
The reasons for an individual having risk according to the CashScore® Detect score.
metadata
An object containing metadata about the provided transactions.
max_age
Number of days since the oldest transaction.
min_age
Number of days since the latest transaction.
min_age_credit
Number of days since the latest credit transaction.
min_age_debit
Number of days since the latest debit transaction.
max_age_debit
Number of days since the oldest debit transaction.
max_age_credit
Number of days since the oldest credit transaction.
num_trxn_credit
Number of credit transactions.
num_trxn_debit
Number of debit transactions.
l1m_credit_value_cnt
Number of credit transactions in the last 30 days.
l1m_debit_value_cnt
Number of debit transactions in the last 30 days.
error_reason
The error returned by Prism for this product.
status
Details on whether the Prism Data attributes succeeded or failed to be generated.
items
The list of Items used in the report along with the associated metadata about the Item.
institution_id
The ID for the institution that the user linked.
institution_name
The name of the institution the user linked.
item_id
The identifier for the item.
accounts
A list of accounts in the item
account_id
Plaid’s unique identifier for the account. This value will not change unless Plaid can’t reconcile the account with the data returned by the financial institution. This may occur, for example, when the name of the account changes. If this happens a new
account_id will be assigned to the account.
If an account with a specific account_id disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.
Like all Plaid identifiers, the account_id is case sensitive.
mask
The last 2-4 alphanumeric characters of an account’s official account number.
Note that the mask may be non-unique between an Item’s accounts, and it may also
not match the mask that the bank displays to the user.
metadata
An object containing metadata about the extracted account.
start_date
The date of the earliest extracted transaction, in ISO 8601 format (“yyyy-mm-dd”).
end_date
The date of the most recent extracted transaction, in ISO 8601 format (“yyyy-mm-dd”).
name
The name of the account
official_name
The official name of the bank account.
subtype
Valid account subtypes for depository accounts. For a list containing descriptions of each subtype, see Account schemas.
type
The account type. This will always be
depository.
owners
Data returned by the financial institution about the account owner or owners. Identity information is optional, so field may return an empty array.
names
A list of names associated with the account by the financial institution. In the case of a joint account, Plaid will make a best effort to report the names of all account holders.
If an Item contains multiple accounts with different owner names, some institutions will report all names associated with the Item in each account’s
names array.
phone_numbers
A list of phone numbers associated with the account by the financial institution. May be an empty array if no relevant information is returned from the financial institution.
emails
A list of email addresses associated with the account by the financial institution. May be an empty array if no relevant information is returned from the financial institution.
addresses
Data about the various addresses associated with the account by the financial institution. May be an empty array if no relevant information is returned from the financial institution.
request_id
A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.