diff --git a/api-references/data/account-aggregator.json b/api-references/data/account-aggregator.json index cdeb3bde..5b0d2142 100644 --- a/api-references/data/account-aggregator.json +++ b/api-references/data/account-aggregator.json @@ -83,6 +83,15 @@ "/v2/fips": { "get": { "parameters": [ + { + "in": "query", + "name": "aa", + "required": false, + "description": "AA entity handle to filter FIPs for a specific AA", + "schema": { + "type": "string" + } + }, { "in": "query", "name": "status", @@ -122,7 +131,21 @@ }, "/v2/fips/{fip_id}": { "get": { + "parameters": [ + { + "in": "query", + "name": "aa", + "required": false, + "description": "AA entity handle to filter FIPs for a specific AA", + "schema": { + "type": "string" + } + } + ], "responses": { + "400": { + "$ref": "#/components/responses/BAD_REQUEST" + }, "200": { "description": "OK", "content": { @@ -138,19 +161,19 @@ "description": "This API is used to get a FIP by its ID.", "tags": [ "AA participants APIs" - ], - "parameters": [ - { - "in": "path", - "name": "fip_id", - "required": true, - "schema": { - "type": "string", - "minLength": 1 - } - } ] - } + }, + "parameters": [ + { + "in": "path", + "name": "fip_id", + "required": true, + "schema": { + "type": "string", + "minLength": 1 + } + } + ] }, "/v2/consents": { "post": { @@ -4135,10 +4158,23 @@ ], "description": "Current status of the FIP" }, - "successRate": { + "consentConversionRate": { + "type": "number", + "description": "Consent conversion rate of the FIP in last 1 hour" + }, + "dataFetchSuccessRate": { "type": "number", "description": "Data fetch success rate of the FIP in percentage for the last 1 hour" + }, + "aaWiseSuccessRate": { + "type": "array", + "default": null, + "nullable": true, + "description": "AA wise success rate of the FIP", + "items": { + "$ref": "#/components/schemas/AASuccessRate" } + } }, "required": [ "fiTypes", @@ -4147,6 +4183,21 @@ "name", "status" ] + }, + "AASuccessRate": { + "type": "object", + "properties": { + "dataFetchSuccessRate": { + "type": "number", + "description": "Data fetch success rate of the FIP in percentage for the last 1 hour" + }, + "aa": { + "type": "string" + }, + "consentConversionRate": { + "type": "number" + } + } } }, "responses": { diff --git a/content/data/account-aggregator/api-integration/fip-apis.mdx b/content/data/account-aggregator/api-integration/fip-apis.mdx index d13a99d3..232d5d92 100644 --- a/content/data/account-aggregator/api-integration/fip-apis.mdx +++ b/content/data/account-aggregator/api-integration/fip-apis.mdx @@ -9,9 +9,11 @@ visible_in_sidebar: true The GET Active FIP List API is the new version of our API to call the list of Active FIPs from which your customers can discover accounts, and consent to share data. The Active FIP List API works in a manner that -- Dynamically activates and deactivates FIPs based on performance. +- Dynamically activates and deactivates the status of FIPs based on performance. - Can be used to simply check the status of FIPs that are active or inactive on the ecosystem. - Can be used by FIUs as a mode of selection of FIPs/providers where a user has an account. +- Multi-AA Support: Now tracking OneMoney, Finvu, Anumati, Saafe, and more! +- Dual-Metric System: Combined data fetch + consent approval rates - Provides real-time success rates to help FIUs make data-driven decisions about creating consents, allowing them to route users to alternate data collection methods when FIP performance is poor. #### Details Shared in the FIP List API @@ -55,7 +57,7 @@ These key details can be used by you for purposes like - offering a list of FIPs This refers to the type of data available via the FIP. For example, - an FIP with fiTypes “DEPOSITS “ will have Savings or Current + an FIP with fiTypes “DEPOSITS“ will have Savings or Current Accounts available and be able to share bank statements upon user consent @@ -73,10 +75,26 @@ These key details can be used by you for purposes like - offering a list of FIPs - successRate + dataFetchSuccessRate - The data fetch success rate (in %) for the FIP in the last 1 hour. This can be used by FIUs to make informed decisions about creating consents. A null value indicates insufficient data points in the last hour to calculate the success rate. + The data fetch success rate for any FIP is calculated based on successful data retrievals in the last 1 hour.

+ Formula: (Number of successful data fetches / Total number of data sessions created) × 100

+ Example: If data sessions are created for 100 FIP accounts and 80 are successfully fetched
+ Data Fetch Success Rate = (80/100) × 100 = 80%

+ If data fetch success rate is unavailable (minimum 100 accounts fetched needed): System will return a null value + + + + + consentConversionRate + + + The consent approval rate is calculated based on consent approvals in the last 1 hour.

+ Formula: (Number of approved consents / Total number of opened consent) × 100

+ Example: If 100 consents were opened with FIP specified in context filter and 70 were approved
+ Consent Approval Rate = (70/100) × 100 = 70%

+ If consent approval rate data is unavailable (Minimum 20 opened consent needed): System will use only data fetch success rate @@ -156,7 +174,20 @@ Below is the list of statuses for FIPs that you will see in a typical GET FIP Li ], "institutionType": "BANK", "status": "ACTIVE", - "successRate": 98.55 + "consentConversionRate": 93.95, // Aggregate of all AA's + "dataFetchSuccessRate": 97.55, + "aaWiseSuccessRate": [ + { + "consentConversionRate": 95.35, + "dataFetchSuccessRate": 98.55, + "aa": "onemoney" + }, + { + "consentConversionRate": 92.55, + "dataFetchSuccessRate": 96.55, + "aa": "anumati" + } + ] }, { "name": "Federal Bank", @@ -166,7 +197,15 @@ Below is the list of statuses for FIPs that you will see in a typical GET FIP Li ], "institutionType": "BANK", "status": "ACTIVE", - "successRate": 95.25 + "consentConversionRate": 95.25, + "dataFetchSuccessRate": 95.25, + "aaWiseSuccessRate": [ + { + "consentConversionRate": 95.25, + "dataFetchSuccessRate": 95.25, + "aa": "onemoney" + } + ] }, { "name": "IndusInd Bank Ltd.", @@ -178,7 +217,15 @@ Below is the list of statuses for FIPs that you will see in a typical GET FIP Li ], "institutionType": "BANK", "status": "TEMPORARILY_INACTIVE", - "successRate": 45.20 + "consentConversionRate": 45.20, + "dataFetchSuccessRate": 9.20, + "aaWiseSuccessRate": [ + { + "consentConversionRate": 45.20, + "dataFetchSuccessRate": 9.20, + "aa": "finvu" + } + ] }, { "name": "HDFC Bank", @@ -188,7 +235,9 @@ Below is the list of statuses for FIPs that you will see in a typical GET FIP Li ], "institutionType": "BANK", "status": "INACTIVE", - "successRate": null + "consentConversionRate": null, + "dataFetchSuccessRate": null, + "aaWiseSuccessRate": [] } ], "traceId": "1-64313583-255e3a0705424652664584b2" @@ -247,7 +296,20 @@ Below is the list of statuses for FIPs that you will see in a typical GET FIP Li ], "institutionType": "BANK", "status": "ACTIVE", - "successRate": 98.55 + "consentConversionRate": 93.95, // Aggregate of all AA's + "dataFetchSuccessRate": 97.55, + "aaWiseSuccessRate": [ + { + "consentConversionRate": 95.35, + "dataFetchSuccessRate": 98.55, + "aa": "onemoney" + }, + { + "consentConversionRate": 92.55, + "dataFetchSuccessRate": 96.55, + "aa": "anumati" + } + ] } ], "traceId": "1-66ff79c7-46029a1f1aaa59083489fd46" @@ -306,7 +368,20 @@ Below is the list of statuses for FIPs that you will see in a typical GET FIP Li ], "institutionType": "BANK", "status": "ACTIVE", - "successRate": 98.55 + "consentConversionRate": 93.95, // Aggregate of all AA's + "dataFetchSuccessRate": 97.55, + "aaWiseSuccessRate": [ + { + "consentConversionRate": 95.35, + "dataFetchSuccessRate": 98.55, + "aa": "onemoney" + }, + { + "consentConversionRate": 92.55, + "dataFetchSuccessRate": 96.55, + "aa": "anumati" + } + ] }, { "name": "Federal Bank", @@ -316,7 +391,15 @@ Below is the list of statuses for FIPs that you will see in a typical GET FIP Li ], "institutionType": "BANK", "status": "ACTIVE", - "successRate": 95.25 + "consentConversionRate": 95.25, + "dataFetchSuccessRate": 95.25, + "aaWiseSuccessRate": [ + { + "consentConversionRate": 95.25, + "dataFetchSuccessRate": 95.25, + "aa": "onemoney" + } + ] } ], "traceId": "1-64313583-255e3a0705424652664584b2" @@ -349,6 +432,66 @@ Below is the list of statuses for FIPs that you will see in a typical GET FIP Li +### Get FIPs by AA API + +###### Request + +{` GET v2/fips?aa={aaHandle} OR v2/fips/{fipId}?aa={aaHandle} `} + + + + SUCCESS, + content: ( + <> +
Response
+ + {`{ + "data": [ + { + "name": "Axis Bank", + "fipId": "AXIS001", + "fiTypes": [ + "DEPOSIT" + ], + "institutionType": "BANK", + "status": "ACTIVE", + "consentConversionRate": 95.35, // OneMoney's consent conversion rate if passed AA is OneMoney + "dataFetchSuccessRate": 98.55, + } + ], + "traceId": "1-67bbf88f-6153048b7fd4bc7913995114" +}`} + + + ), + }, + { + key: "2", + label: FAIL, + content: ( + <> +
Response
+ + {`{ + "errorMsg": "string", + "errorCode": "string", + "txnid": "string", + "timestamp": "2023-03-30T08:20:31.367Z", + "ver": "string" +}`} + + + ), + }, + ]} + /> +
+
+ ##### Using Get FIP List for routing end-users to AA Flows FIUs can use the FIP List API to route their end users to the AA flow or non-AA flows (Like PDF uploads, net banking integrations or alternative data collection modes)if the FIP is temporarily deactivated if the provider is not part of the list of active FIPs.