UPI Outage API
This API can be utilized to retrieve the health status of banks and PSPs within the UPI ecosystem. If no request body is provided, the response will contain the health status of the top 15 configured banks and PSPs. If only one of the banks or PSPs is included in the request, the corresponding health status will be returned in the response. If either banks or PSPs are omitted in the request, the default configured health status will be returned in the response.
Use case
When the user lands onto payment checkout screen or bank selection to make a UPI transaction, the Merchant/TPAP(UPI App) can decide to grey out or hide the accounts that cannot serve traffic at that given point by initiating an outage status check right before the transaction starts.
This ensures no technical declines for the customer thus increasing the success rate and lowering the dropouts leading to a better customer experience.
Recommended integration approach
The outage status API can be called at certain interval(preferably in minutes for low traffic or every 3 second for high traffic) and the response can be cached/stored at the service provider’s end.
The stored details can be used to serve the traffic at any given point.
For e.g. the transactions are of the order of 50 per second. There will be one outage status API hit for every 150 transactions and the remaining transactions are served based on that response.
However, the UPI service provider can tweak it based on the customer experience they wish to provide. The API can be consumed before every transaction or every second to be stored at their end.
Default Configurations For Bank Status
>= 70% - UP
>= 40% and <70% - Medium
< 40% - Low
The ranges mentioned above are configurable according to the UPI service provider’s needs.
Will be shared while onboarding.
Will be shared while onboarding.
This is an epoch unix timestamp string. For example, 1496918882000. It can be used by us to invalidate older requests.
application/json
application/json
This is a signature over combination of headers, payload. Refer Signature Calculation section for more details.
The list of IFSCs for which outage has be to found
The list of PSP handles for which outage has be to found
Current Epoch Unix timestamp string. Has to be of 13 digit in Milliseconds
Example: 1496918882000.
Merchant Defined Parameters
Example: "{\"udf1\":\"value1\",\"udf2\":\"value2\",…}"
PSP status of the API
Values: SUCCESS | FAILURE
PSP response message for the API
Values: Refer Codes Guide in Resource Section.
PSP response code for the API
Values: Refer Codes Guide in Resource Section.
A list of Object which will have bank status of the each IFSC provided in the request body
Success Label of the bank.
UP => Bank is UP
MEDIUM_SUCCESS_RATE => Experiencing Medium SR with the Bank.
LOW_SUCCESS_RATE => Experiencing Low SR with the Bank
STATUS_NOT_AVAILABLE => Not sufficient data
Bank IFSC Value
Bank Success Rate in percentage
Name of merchantChannelId
Name of merchantId
Values: UP or DOWN
A list of Object which will have psp status of the each handle provided in the request body
Success Label of the psp.
UP => Psp is UP
MEDIUM_SUCCESS_RATE => Experiencing Medium SR with the Psp.
LOW_SUCCESS_RATE => Experiencing Low SR with the Psp
STATUS_NOT_AVAILABLE => Not sufficient data
PSP Handle Value
Psp Success Rate in percentage
Merchant Defined Parameters.
Example: "{\"udf1\":\"value1\",\"udf2\":\"value2\",…}"

