curl --request POST \
--url https://sandbox.deck.co/api/v1/link/info \
--header 'Content-Type: application/json' \
--data '{
"link_token": "<string>"
}'
{
"name": "<string>",
"image_url": "<string>",
"language": "EN",
"update_mode": {
"source": {
"source_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"logo_url": "<string>",
"country": "<string>",
"website": "<string>",
"fields": [
{
"field_number": 123,
"field_name": "<string>",
"field_label": "<string>",
"field_value": "<string>",
"field_type": "Text"
}
]
}
},
"terms_of_use_url": "<string>",
"privacy_policy_url": "<string>",
"mode": "Normal",
"account_select_mode": "All",
"allow_document_upload": true,
"show_step_consent": true,
"show_step_add_source": true,
"show_step_select_account": true,
"show_step_add_account": true
}
Returns information about the client currently using Datadeck for connecting data from a utility data source. The client name and logo are displayed on the first screen of the Datadeck Link widget.
curl --request POST \
--url https://sandbox.deck.co/api/v1/link/info \
--header 'Content-Type: application/json' \
--data '{
"link_token": "<string>"
}'
{
"name": "<string>",
"image_url": "<string>",
"language": "EN",
"update_mode": {
"source": {
"source_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"logo_url": "<string>",
"country": "<string>",
"website": "<string>",
"fields": [
{
"field_number": 123,
"field_name": "<string>",
"field_label": "<string>",
"field_value": "<string>",
"field_type": "Text"
}
]
}
},
"terms_of_use_url": "<string>",
"privacy_policy_url": "<string>",
"mode": "Normal",
"account_select_mode": "All",
"allow_document_upload": true,
"show_step_consent": true,
"show_step_add_source": true,
"show_step_select_account": true,
"show_step_add_account": true
}
OK
The response is of type object
.
Was this page helpful?