Skip to content

Commit 7a6626b

Browse files
chore: Merge pull request #4 from avengedpeak/main
Update specification for LSP usecase
2 parents 3534043 + 28d048d commit 7a6626b

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

specification/request-specification.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ WebView Endpoint
1717
{% api-method-request %}
1818
{% api-method-path-parameters %}
1919
{% api-method-parameter type="string" name="fi" required=true %}
20-
Unique FIU identifier. This will be encrypted using Base64/XOR along with **reqdate** field.
20+
Unique requestor identifier. This will be encrypted using Base64/XOR along with **reqdate** field.
21+
{% endapi-method-parameter %}
22+
23+
{% api-method-parameter type="ENUM" name="requestorType" required=false %}
24+
Type of the requestor. This field will hold the values - FIU & LSP. The ENUM field would be expanded to accommodate new participants for any future requirements. This will be encrypted using Base64/XOR along with **reqdate** field.
2125
{% endapi-method-parameter %}
2226

2327
{% api-method-parameter name="reqdate" required=true type="string" %}
@@ -50,11 +54,11 @@ Below are the parameters that will be encrypted using AES256 encryption algorith
5054

5155
| **Parameter name** | **Parameter type** | **Parameter description** |
5256
| :--- | :--- | :--- |
53-
| txnid | String | UUID txnid. Uniquely identifies a particular redirection event. This same value will be returned by AA to FIU in the ecres txnid field. |
54-
| sessionid | String | Value that represents a ‘state’ \(or session\) on the FIU end. This value is opaque to AA and will be returned as is to the FIU by AA in ecres sessionid field. |
57+
| txnid | String | UUID txnid. Uniquely identifies a particular redirection event. This same value will be returned by AA to requestor in the ecres txnid field. |
58+
| sessionid | String | Value that represents a ‘state’ \(or session\) on the requestor end. This value is opaque to AA and will be returned as is to the requestor by AA in ecres sessionid field. |
5559
| userid | String | The AA user id \( Refer to A\] below \) |
56-
| redirect | String | FIU Url that AA needs to call back after the user has provided consent in the AA domain. The value of this parameter should be URL encoded if the value contains url parameters. This is required in order to remove ambiguity between the parameters of ecreq \(separated by ‘&’ character\) with the parameters in the redirect url. |
57-
| srcref | String | Consent handle id, as returned by AA server to the /Consent request api invoked by FIU on the AA prior to this redirection call. |
60+
| redirect | String | Requestor Url that AA needs to call back after the user has provided consent in the AA domain. The value of this parameter should be URL encoded if the value contains url parameters. This is required in order to remove ambiguity between the parameters of ecreq \(separated by ‘&’ character\) with the parameters in the redirect url. |
61+
| srcref | Array | Array of consent handle id(s), as returned by AA server to the /Consent request api invoked by the FIU(s) on the AA prior to this redirection call.|
5862

5963
## userid
6064

specification/response-specification.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ Below are the parameters that will be encrypted using AES256 encryption algorith
5555
| txnid | String | UUID txnid \( To be sent back from the request \) |
5656
| sessionid | String | Value of sessionid received in the ‘ecreq’ field in the request. |
5757
| userid | String | The AA user id |
58-
| status | String | The status ‘S’ for success and ‘F’ for failure |
59-
| errorcode | String | Refer the errorcodes table below |
60-
| srcref | String | The consent handle id received in the ecreq ‘srcref’ field |
58+
| status | String | The status ‘S’ for success ( atleast one consent is approved ) and ‘F’ for failure ( all consents declined ) |
59+
| errorcode | String | The response code : 0 if status is ‘S’ and others for failure (Refer to Error Codes table below) |
60+
| srcref | Array | Array of accepted consent handle identifiers only in case of LSP |
6161

6262
## Error codes
6363

0 commit comments

Comments
 (0)