Description and Details
This API is used to retrieve the full details of a previously created access consent using its unique consent_id. It allows the client to review the current status and metadata of the consent before proceeding with authorization or usage in downstream APIs.
Endpoint
https://api-dev-isolution.xyz/opentest/v1/access-consent/17500623575287883
Verb Method
GET
Headers Request Parameters
Header Key | Value | Description |
---|---|---|
Content-Type | application/json | Expected request/response format |
Accept | application/json | Indicates expected response format |
Authorization | Bearer {access_token} | OAuth 2.0 bearer token |
Body Request Parameters
N/A — This is a GET request and does not require a body.
Response Parameters
Field | Type | Description |
---|---|---|
consent_id | string | Unique ID of the access consent |
status | string | Status of the consent (e.g., AwaitingAuthorisation) |
creationDateTime | string | Timestamp when the consent was created |
expirationDateTime | string | Timestamp when the consent will expire |
transactionFromDateTime | string | Start date for accessing transaction data |
transactionToDateTime | string | End date for accessing transaction data |
meta | object | Optional metadata (may be null) |
HTTP Codes
Code | Meaning |
---|---|
200 | OK – Consent retrieved successfully |
400 | Bad Request – Invalid consent_id format |
401 | Unauthorized – Invalid or missing token |
404 | Not Found – Consent ID does not exist |
500 | Internal Server Error |