RECREDIT STATUS CHECK
All recredit status can be checked in the LPS Hub reporting portal. However, the LPS recredits gateway also provides an API call to check the status of Refund/cancellation submitted. This API call can be used to check in the event of communication failures on original Refund/Cancellation submissions. Or if the merchant wishes to check the status of Refund/Cancellation, or if they would like to know if the Refund/Cancellation is fully settled after being accepted by LPS initially
SCHEDULE A3: Posting Parameters#
The data in the table below should be posted to a URL that will be confirmed by LPS.
| Form Field | Description | Details |
|---|---|---|
| merchant_refund_id# | LPS Provided value… | Mandatory |
| merchant_pwd# | Password used for authenticating the refund account. | Mandatory |
| merchant_ref_number# | Merchant Reference number sent along with the original recredit request. | Mandatory |
| refund_id# | Refund Id obtained in response from original recredit request | Mandatory |
| refund_currency# | Transaction Currency as sent in original recredit request | Mandatory |
| refund_amount# | Transaction amount as sent in original recredit request | Mandatory |
SCHEDULE A4: Response Parameters#
| Form Field | Description |
|---|---|
| LPSReply_pwd# | Password provided by merchant to LPS to authenticate return post fields. |
| LPS_refund_id# | Refund Id generated for the original recredit request. |
| Request_Id# | Request Id generated for the original recredit request. |
| refund_type# | Type of recredit processed for the transaction. |
| Refund_amount# | Refund amount |
| Refund_currency# | Refund currency |
| RefundStatusCheckId# | Unique Id generated for the status check request. |
| RefundStatusCheck_status# | The status of Recredit status check request |
| RefundSubmit_status# | The submitted status of Recredit in LPS. Please refer schedule E1. |
| Bank_status# | The settlement status of Recredit in LPS. |
SCHEDULE A5: Response Codes#
| Refundstatuscheck_Status | Description |
|---|---|
| 0# | Status check request completed. Please check refund submit status and bank status to know the final status of the Recredit. |
| 4001# | Merchant login details incorrect. |
| 4002# | Merchant login details incorrect. |
| 4003# | Recredit request not found. |
| 9001# | Required mandatory field missing in the Recredit status check request. |
| 9000# | System error while processing the Recredit status check request. Please contact LPS. |
Bank status#
*** Depending upon how your recredit account is configured, the “Bank_status” may also be returned empty instead of any of the above values. In that scenario, if “Refund Submit_status” is 0 and “Bank_Status” is empty, then it implies request accepted by LPS but pending submission to bank. If “Refund Submit_status” is NOT 0, then “Bank_status” will always be empty, implying that the request has failed LPS checks.
Sample Request for Refund/Void
merchant_refund_id=test_lpsv2&merchant_pwd=test&merchant_ref_number=lpstest123&refund_type=1&LPS_transaction_id=80905626&refund_amount=0.10&refund_comment=test status check
Sample Response for Refund/Void
LPSReply_pwd=mgstest&LPS_refund_id=886087&Request_Id=619322&RefundSubmit_status=0&Bank_status=00
Sample Request for Refund Status Check
merchant_refund_id=Test_lpsv2&merchant_pwd=test&merchant_ref_number=lpstest123&refund_id=838037&refund_amount=0.10&refund_currency=GBP
Sample Response for Refund Status Check
LPSReply_pwd=mgstest&LPS_refund_id=838037&Request_id=577781&refund_type=1&Refund_amount=0.1&Refund_currency=GBP&RefundStatusCheckId=30402&RefundStatusCheck_status=0&RefundSubmit_status=0&Bank_status=00