Compute Protect Trust Index scores and subscores
Changed onCompute a Protect Trust Index score for a user. The model selected determines what is scored and what additional fields the response contains. For example, ti-link-session-3-<client> scores a completed Link session for fraud risk; cash-advance-ongoing-<client>-1.0 scores repayment risk for a cash advance, additionally populating per-amount-bucket subscores. Cash-advance models require that the user have a Plaid Item with Transactions enabled, or an Assets Report, before scoring.
The endpoint returns HTTP 400 with error_type = INVALID_REQUEST and error_code = FAILED_PRECONDITION when a required precondition is not met: for link-session models, when the Link session has not completed; for cash-advance models, when the user has not successfully linked any Item. For device-session models, the endpoint may return retryable error_code = SESSION_NOT_READY until the Protect SDK has delivered device data for the session.
Request
- Base URLhttps://production.plaid.com
- URLhttps://production.plaid.com/protect/compute
- AuthAPI key in header PLAID-CLIENT-ID and API key in header PLAID-SECRET and API key in header Plaid-Version
Request body
Response
OK
Changes
- warning
removed the request property
/ - info
added the new optional request property
/
- warning
- info
added the optional property
to the response with the status
- info