Description and Details

This API is used to authorise a previously created and updated consent by associating the consent ID with the user’s account(s). It marks the consent as authorised and ready for data access by the TPP (Third Party Provider).


Endpoint

https://api-dev-isolution.xyz/aisp/v1/access-consent/17505991469948315/authorization


Verb Method

POST


Headers Request Parameters

KeyValueDescription
Content-Typeapplication/jsonType of the request body
Accept/Accepts all response types
Cache-Controlno-cacheDisables caching
User-AgentPostmanRuntime/7.44.0Identifier for the HTTP client
Accept-Encodinggzip, deflate, brAccepted encoding types
Connectionkeep-aliveKeeps the TCP connection open
Host Automatically calculated by Postman
Postman-Token Token for request tracking

Body Request Parameters
 

ParameterTypeDescription
accountsArrayList of accounts linked to consent
accountIdStringUnique identifier for the account
accountAliasStringUser-defined label for account
customerIdStringID of the customer
productTypeStringType of product (e.g., SAVINGS)
productNameStringName of the banking product
category1StringGeneral category (e.g., Banking)
category2StringSub-category (e.g., Personal)
detailsExistBooleanIndicates if account details exist
availableBalanceStringAvailable balance in the account

Response Parameters

ParameterTypeDescription
metaObjectMeta object containing status info
meta.codeStringHTTP-like status code
meta.messageStringConfirmation message

HTTP Codes

CodeMeaning
200OK – Consent authorised successfully
400Bad Request – Invalid or missing fields
401Unauthorized – Invalid token/headers
404Not Found – Consent ID does not exist
500Internal Server Error – Server failure