Description and Details

This API allows the creation of an access consent intent, enabling third-party providers (TPPs) to request user authorization for access to account information. It is a critical part of the Account Information Service Provider (AISP) flow, typically used before redirecting the user for consent authorization.


Endpoint

https://api-dev-isolution.xyz/opentest/v1/access-consent

Verb Method

POST


Headers Request Parameters

Header KeyValueDescription
Content-Typeapplication/jsonSpecifies the media type of the request body
Acceptapplication/jsonIndicates expected response format
AuthorizationBearer {access_token}Required bearer token obtained via /token

Body Request Parameters
 

ParameterTypeRequiredDescription
consentTypestringYesType of consent (e.g., "AISP")
expirationDateTimestringYesExpiry of the consent (ISO 8601 format)
userIdstringYesUnique user identifier
userNamestringYesUsername or user email
tppNamestringYesName of third-party provider
tppRedirectURIstringYesRedirect URI after consent authorization
tppStatestringOptionalState string to validate redirection
tppKeystringOptionalKey or reference identifier for the TPP
transactionFromDateTimestringYesStart date for transaction data access
transactionToDateTimestringYesEnd date for transaction data access
statusstringYesInitial status (e.g., "AwaitingAuthorisation")
permissionsarrayYesPermissions being requested (e.g., ReadBalances)
riskobjectYesRisk evaluation object (can be an empty object)

Response Parameters

ParameterTypeDescription
consent_idstringUnique identifier for the consent
statusstringStatus of the consent
statusUpdateDateTimestringTimestamp of latest update
creationDateTimestringConsent creation timestamp
expirationDateTimestringConsent expiration date
transactionFromDateTimestringData access start date
transactionToDateTimestringData access end date
metaobjectOptional meta block (can be null)

HTTP Codes

CodeMeaning
200OK – Consent created successfully
400Bad Request – Missing/invalid parameters
401Unauthorized – Token missing/invalid
403Forbidden – Scope or permission denied
500Internal Server Error