Description and Details

This API is used to authorize a previously created access consent using its unique consent ID. Once the consent is approved, it can be used to fetch account-related data by third-party providers (TPPs). This step is essential to mark the consent status as Authorised in the Open Banking flow.


Endpoint

https://api-dev-isolution.xyz/opentest/v1/access-consent/{consent_id}/authorization

Verb Method

POST


Headers Request Parameters

Header KeyValueDescription
Content-Typeapplication/jsonSpecifies the request payload format
Acceptapplication/jsonExpected response format
AuthorizationBearer {access_token}OAuth 2.0 bearer token

Body Request Parameters
 

ParameterTypeRequiredDescription
statusstringYesConsent status to be set (e.g., Authorised)

Response Parameters

ParameterTypeDescription
metaobjectResponse meta block
meta.codestringResponse status code (e.g., 200)
meta.messagestringSuccess message

HTTP Codes

CodeMeaning
200OK – Consent updated successfully
400Bad Request – Invalid consent ID or request data
401Unauthorized – Missing or invalid token
404Not Found – Consent ID does not exist
500Internal Server Error