Skip to main content
POST
/
v1
/
refresh
/
tasks
Create a data refresh task
curl --request POST \
  --url https://prod.truv.com/v1/refresh/tasks/ \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Client-Id: <api-key>' \
  --header 'X-Access-Secret: <api-key>' \
  --data '
{
  "access_token": "48427a36d43c4d5aa6324bc06c692456",
  "product_type": "income"
}
'
{
  "task_id": "48427a36d43c4d5aa6324bc06c692456"
}

Authorizations

X-Access-Client-Id
string
header
required

Client ID

X-Access-Secret
string
header
required

Client Access Key

Body

application/json

Link data refresh task

Refresh Link data task

access_token
string
required

Access token for a Link to payroll provider

Example:

"48427a36d43c4d5aa6324bc06c692456"

product_type
enum<string>
required

Indicates the type of product to use:

  • employment - Employment verification,
  • income - Income and Employment verification,
  • deposit_switch - Direct deposit switch,
  • pll - Paycheck linked lending,
  • insurance - Insurance verification,
  • transactions - Financial account aggregation,
  • assets - Assets verification,
Available options:
income,
employment,
deposit_switch,
pll,
insurance,
transactions,
assets
account
object

Bank account info. Used for Paycheck Linked Loans

Response

Response for refresh task creation endpoint.

task_id
string
required

Unique ID for the Link data refresh task

Example:

"48427a36d43c4d5aa6324bc06c692456"