Ask Bill!

Sharing Consumer Report data with Experian

Share Consumer Report data with Experian using OAuth tokens

Overview

For eligible product use cases, Plaid Check provides the ability to share Consumer Reporting Agency (CRA) report information with Experian using OAuth.

To share CRA report information with Experian, you need to create an OAuth access token associated with a previously created user_id that Experian can use to access the information.

Creating an OAuth token

To create an access token to provide to Experian, call /oauth/token following the example below.

For the subject_token, provide the user_id that you created using /user/create.

Set the audience to urn:plaid:params:cra-partner:experian.

/oauth/token request
curl 'https://sandbox.plaid.com/oauth/token' \
--header 'Content-Type: application/json' \
--data '{
  "client_id": "${PLAID_CLIENT_ID}",
  "secret": "${PLAID_SECRET}",
  "grant_type": "urn:ietf:params:oauth:grant-type:token-exchange",
  "scope": "user:read",
  "subject_token_type":"urn:plaid:params:credit:multi-user",
  "audience": "urn:plaid:params:cra-partner:experian",
  "subject_token": "usr_9nSp2KuZ2x4JDw"
}'
/oauth/token response
{
  "access_token": "pda-RDdg0TUCB0FB25_UPIlnhA==",
  "expires_in": 2591999,
  "refresh_token": "Rpdr--viXurkDg88d5zf8m6Wl0g==",
  "request_id": "vPamXI8hYXPl7P2",
  "token_type": "Bearer"
}

You can then provide the access_token to Experian.

Revoking an OAuth token

To revoke your token, call /oauth/revoke, passing in the access_token and/or refresh_token as the token value.

/oauth/revoke request
curl -X POST https://sandbox.plaid.com/oauth/revoke \
-H 'Content-Type: application/json' \
-d '{
  "client_id": "${PLAID_CLIENT_ID}",
  "secret": "${PLAID_SECRET}",
  "token": "pda-RDdg0TUCB0FB25_UPIlnhA=="
}'
/oauth/revoke response
{
  "request_id": "pCDVCQK8ve2MzhM"
}