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 Key | Value | Description |
---|---|---|
Content-Type | application/json | Specifies the request payload format |
Accept | application/json | Expected response format |
Authorization | Bearer {access_token} | OAuth 2.0 bearer token |
Body Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
status | string | Yes | Consent status to be set (e.g., Authorised) |
Response Parameters
Parameter | Type | Description |
---|---|---|
meta | object | Response meta block |
meta.code | string | Response status code (e.g., 200) |
meta.message | string | Success message |
HTTP Codes
Code | Meaning |
---|---|
200 | OK – Consent updated successfully |
400 | Bad Request – Invalid consent ID or request data |
401 | Unauthorized – Missing or invalid token |
404 | Not Found – Consent ID does not exist |
500 | Internal Server Error |