latestSwagger 2.02026-08-20196638916.1 KB
23d8982b533d
Connectivity v1.Credentials
ENTERPRISE
REGION.US
Refresh credentials
Refreshes the specified credentials. Please note that there can be only one on-demand refresh ongoing for a credential at a time, any other attempts will be rejected.
post/api/v1/credentials/{id}/refresh
Path parameters
idstring required
The internal identifier of the Credentials object to refresh.
Query parameters
itemsstring[]
The data types to aggregate from the Provider. Multiple items are allowed. If omitted, all data types are aggregated.
optInboolean
Set to true to trigger an opt-in of accounts before doing the refresh. Today only available for enterprise customers.
authenticateboolean
Set to true to trigger authentication flow before doing the refresh.
Request body
Example request
{
"appUri": "https://my-customer-app.com/authentication",
"callbackUri": "http://my-customer-app.com/callback",
"originatingUserIp": "198.51.100.10",
"selectedAuthenticationOptions": [
{
"authenticationOptionDefinition": "SE_MOBILE_BANKID_OTHER_DEVICE",
"authenticationOptionsGroup": "SE_MOBILE_BANKID_DEVICE_CHOICE",
"fields": {
"username": "198401011111"
}
}
],
"userAvailability": {
"originatingUserIp": "198.51.100.10",
"userAvailableForInteraction": true,
"userPresent": true
}
}Response
The credentials refresh was successfully initiated.