Description and Details

This API initiates the authorization process for a previously created AISP (Account Information Service Provider) consent. The user provides consent to allow third-party providers (TPPs) to access account information. The endpoint redirects the user to authenticate and authorize the consent using a one-time password (OTP) and other verification parameters.


Endpoint

https://api-dev-isolution.xyz/aisp/authorize


VERB Method

GET


Request Headers Parameters

Header KeyValueDescription
Content-Typeapplication/jsonIndicates the request body format
Acceptapplication/jsonExpected response format
Cache-Controlno-cacheDisables caching of the response
User-AgentPostmanRuntime/7.xIdentifier for the HTTP client
Accept-Encodinggzip, deflate, brSupported content encoding
Connectionkeep-aliveMaintains TCP connection
Host(auto-generated)Hostname of the API server
Postman-Token(auto-generated)Used for request tracking

 


Body Request Parameters

ParameterTypeDescription
consentTypestringType of consent, e.g., "AISP"
expirationDateTimestringExpiry time of the consent in ISO format
userIdstringUnique identifier for the user
userNamestringUsername or email of the user
tppNamestringName of the Third-Party Provider
tppRedirectURIstringRedirect URI after authorization
tppStatestringOptional state parameter for redirection validation
tppKeystringKey or identifier for the TPP
transactionFromDateTimestringStart date for transaction data access (ISO format)
transactionToDateTimestringEnd date for transaction data access (ISO format)
statusstringAuthorization status, e.g., "Authorised"
permissionsarrayList of access permissions (e.g., ReadAccountsDetail)
riskobjectRisk information object (can be empty {})

Response Parameters

ParameterTypeDescription
codestringAuthorization code to be exchanged for a token
statestringEchoes the original state parameter for validation

HTTP Codes

CodeMeaning
302Found – Redirects user after consent
400Bad Request – Invalid or missing fields
401Unauthorized – Invalid credentials/OTP
403Forbidden – Consent not approved
500Internal Server Error – Server issue