This creates a consent and will return the consent ID and provider consent URL. This endpoint is only authorized and used for customers that use the direct provider flow.
The create consent parameters
| providerKey | string The selected provider key |
| countryCode | string The two letter ISO country code (defaults to 'NL') |
| userId | string or null The User ID for which to retrieve transactions |
| userIdGuid | string <guid> |
| externalUserId | string or null The External User ID for which to retrieve transactions |
| redirectUrl | string The redirect URL to redirect the user to after consent is given |
| syncMode | string or null SyncMode of this consent |
{- "providerKey": "string",
- "countryCode": "string",
- "userId": "string",
- "userIdGuid": "string",
- "externalUserId": "string",
- "redirectUrl": "string",
- "syncMode": "string"
}{- "consentId": "string",
- "consentUrl": "string"
}| ConsentId | string or null <guid> The consent ID for which to retrieve consents |
| UserId | string or null <guid> The User ID for which to retrieve consents |
| ExternalUserId | string or null The External User ID for which to retrieve consents |
[- {
- "id": "string",
- "status": "string",
- "dateStatusUpdated": "2019-08-24T14:15:22Z",
- "dateRequested": "2019-08-24T14:15:22Z",
- "dateExpire": "2019-08-24T14:15:22Z",
- "dateTransactionsUpdated": "2019-08-24T14:15:22Z",
- "providerKey": "string",
- "errors": [
- {
- "date": "2019-08-24T14:15:22Z",
- "type": "string",
- "message": "string",
- "code": "string"
}
]
}
]This will completely remove and delete the consent's accounts, transactions and all associated data on our platform. Deleting a consent is a permanent and irreversible action, mainly used for GDPR and compliance purposes.
| id required | string <guid> Id of the consent to delete |
{- "type": "string",
- "title": "string",
- "status": 0,
- "traceId": "string",
- "detail": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}| Id required | string <guid> The Consent ID for which to get information about |
{- "id": "string",
- "status": "string",
- "dateStatusUpdated": "2019-08-24T14:15:22Z",
- "dateRequested": "2019-08-24T14:15:22Z",
- "dateExpire": "2019-08-24T14:15:22Z",
- "dateTransactionsUpdated": "2019-08-24T14:15:22Z",
- "providerKey": "string",
- "errors": [
- {
- "date": "2019-08-24T14:15:22Z",
- "type": "string",
- "message": "string",
- "code": "string"
}
]
}This will request a consent refresh which will also refresh the associated accounts and transactions. This is an asynchronous call and the transactions will be refreshed in the background. A webhook can be used to be notified when it is completed (Transactions Fetched). This operation has a daily limit of 6 requests per consent. We also keep an history of requests for 7 days.
| id required | string <guid> The id of the consent to refresh |
{- "type": "string",
- "title": "string",
- "status": 0,
- "traceId": "string",
- "detail": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}