From 92f1bcc0389db2c49958ffe8563ca9a12554600c Mon Sep 17 00:00:00 2001 From: avengedpeak <90839852+avengedpeak@users.noreply.github.com> Date: Mon, 11 Oct 2021 18:26:26 +0530 Subject: [PATCH] Update response specification for LSP usecase The specs have been updated to include redirection from a non-FIU participant i.e. an LSP. The current AA specs handle only single FIU use cases. In case of an LSP, a loan application is sent to multiple FIUs and hence, multiple consents are created for the same user. To accommodate this change and enable LSPs to show multiple consents, an array of consent handles need to be managed by the AA. --- specification/response-specification.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/specification/response-specification.md b/specification/response-specification.md index 2187d76..f116f5d 100644 --- a/specification/response-specification.md +++ b/specification/response-specification.md @@ -26,7 +26,7 @@ Encrypted parameters \(see below\) format will be ddmmyyyyhh24misss UTC {% endapi-method-parameter %} -{% api-method-parameter name="fi" type="string" required=true %} +{% api-method-parameter name="requestorId" type="string" required=true %} Unique AA identifier. This will be encrypted using Base64/XOR along with resdate field {% endapi-method-parameter %} {% endapi-method-path-parameters %} @@ -55,9 +55,16 @@ Below are the parameters that will be encrypted using AES256 encryption algorith | txnid | String | UUID txnid \( To be sent back from the request \) | | sessionid | String | Value of sessionid received in the ‘ecreq’ field in the request. | | userid | String | The AA user id | +| srcref | Array consentHandleDetails | Consent handle details for the array of consents received in the ecreq ‘srcref’ field | + +## consentHandleDetails + +| **Parameter name** | **Parameter type** | **Parameter description** | +| :--- | :--- | :--- | +| consentHandle | String | Consent Handle ID | | status | String | The status ‘S’ for success and ‘F’ for failure | -| errorcode | String | Refer the errorcodes table below | -| srcref | String | The consent handle id received in the ecreq ‘srcref’ field | +| errorcode | String | The response code : 0 if status is ‘S’ and others for failure (Refer to Error Codes table below) | + ## Error codes