Create a bridge token
The endpoint creates a bridge token for a user. This is typically the endpoint called before initializing the Bridge since the response from this call is passed to the TruvBridge.init function.
Request body
Example request
{
"tracking_info": "any data for tracking current user",
"product_type": "income",
"allowed_products": [
"income"
],
"company_mapping_id": "99dd17074ac94aa9ace2621d657c7610",
"provider_id": "adp",
"access_token": "99dd17074ac94aa9ace2621d657c7610",
"account": {
"action": "create",
"account_number": "16002600",
"routing_number": "123456789",
"account_type": "checking",
"bank_name": "TD Bank",
"bank_address": "123 Main St, New York, NY 10001",
"deposit_type": "entire",
"deposit_value": "50.00"
},
"template_id": "99dd17074ac94aa9ace2621d657c7610",
"use_case": "mortgage_lending",
"request_extended_history": true,
"locale": "es",
"data_sources": [
"payroll"
]
}Response
Example response
{
"bridge_token": "2f67984a110747d190c39e1022c81837",
"tracking_info": "any data for tracking current user",
"client_name": "Truv Demo",
"product_type": "income",
"allowed_products": [
"income",
"deposit_switch"
],
"company_mapping_id": "99dd17074ac94aa9ace2621d657c7610",
"access_token": "99dd17074ac94aa9ace2621d657c7610",
"user_id": "99dd17074ac94aa9ace2621d657c7610",
"template_id": "99dd17074ac94aa9ace2621d657c7610",
"data_sources": [
"payroll"
]
}Changes
Changed in 2 of the 12 revisions of this API.83
- ●
the
request property's maxLength was set to32request-property-max-length-set
- ●
the
request property's maxLength was set to64request-property-max-length-set
- ●
the
request property's maxLength was set to32request-property-max-length-set
- ●
the
request property's maxLength was set to255request-property-max-length-set
- ●
- ●
added the new
creditenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
creditenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
educationenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
educationenum value to theresponse property for the response statusresponse-property-enum-value-added
- ○
added the new
creditenum value to the request property/request-property-enum-value-added
- ○
added the new
educationenum value to the request property/request-property-enum-value-added
- ○
added the non-success response with the status
response-non-success-status-added
- ●