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 KeyValueDescription
Content-Typeapplication/jsonExpected request/response format
Acceptapplication/jsonIndicates expected response format
AuthorizationBearer {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

FieldTypeDescription
consent_idstringUnique ID of the access consent
statusstringStatus of the consent (e.g., AwaitingAuthorisation)
creationDateTimestringTimestamp when the consent was created
expirationDateTimestringTimestamp when the consent will expire
transactionFromDateTimestringStart date for accessing transaction data
transactionToDateTimestringEnd date for accessing transaction data
metaobjectOptional metadata (may be null)

HTTP Codes

CodeMeaning
200OK – Consent retrieved successfully
400Bad Request – Invalid consent_id format
401Unauthorized – Invalid or missing token
404Not Found – Consent ID does not exist
500Internal Server Error