Browser Redirection
Based on Customer’s choice, Merchant shall redirect the Customer to the selected Debiting Participant using the information returned during the Retrieve List of Banks API call. Note that Merchant may redirect Customer to the Mobile App or Internet Banking Portal of the selected Participant.
During the redirect process, Merchant needs to include the signed token returned by RPP. Debiting Participant would then use the signed token to verify the redirect request from the Merchant.
Merchant are required to follow below URLs to support page redirection during DuitNow Online Bank/Wallets or DuitNow AutoDebit.
The redirection will occur in both ways: from the merchant to the bank and from the bank back to the merchant once the transaction is completed. Therefore, the merchant will also be required to implement the redirection URL following the specification.
Bank URL can be retrieved from Retrieved Bank List API results.
Please take note that the Bank will redirect back to the Merchant's side in HTTP POST METHOD when Merchants redirects to a Bank URL containing mepsfpx.com.my/FPXMain/r2pReceiver.jsp
Service | Participant | URL | Method |
---|---|---|---|
DuitNow Online Banking/Wallets | RPP | https://<domain>/RPP/MY/Redirect/RTP | Query (GET) |
DuitNow Online Banking/Wallets | RPP | UAT:https://uat.mepsfpx.com.my/FPXMain/r2pReceiver.jsp | Query (GET) |
DuitNow Online Banking/Wallets | RPP | PROD:https://www.mepsfpx.com.my/FPXMain/r2pReceiver.jsp | Query (GET) |
DuitNow AutoDebit | RPP | https://<domain>/RPP/MY/Redirect/Consent | Query (GET) |
Redirect URL Query Parameters
In order to perform a page redirection from Merchant’s website to Bank’s website, or vice versa, participant should send in below query parameters during Browser redirection.
Parameter | Description |
---|---|
EndtoEndId |
|
EndtoEndIdSignature | The signed End-to-End Identification returned by RPP during response leg of transaction type 861 or 811 |
DbtrAgt | The Bank Identification Code (BIC) of the Debiting Bank that was selected. |
In cases where the value of the parameter uses reserved characters such as “?”, “/”, or “&”, the characters must be encoded; %3F, %2F or %26
More information regarding URL encoding, can be found at this site : https://www.urlencoder.org/
Example Redirection Request
Parameter | Sample Value |
---|---|
EndtoEndId | 20201104MAXIMYKL861ORB21001206 |
EndtoEndIdSignature | SXAjSsIdQmZuRtDHO2KgItO+neAzTgSGcMvnHV3HPB3h05cpQuTtZx3+OcT4c/VQYf64Ty2xdM8TLoy88skEhSaDg= |
DbtrAgt | TEST0021 |
DuitNow Online Banking/Wallets:
https://www.testbankA.my/RPP/MY/Redirect/RTP?EndtoEndId=20201104MAXIMYKL861ORB21001206&EndtoEndIdSignature=SXAjSsIdQmZuRtDHO2KgItO%2BneAzTgSGcMvnHV3HPB3h05cpQuTtZx3%2BOcT4c%2FVQYf64Ty2xdM8TLoy88skEhSaDg%3D&DbtrAgt=TEST0021
DuitNow AutoDebit:
https://www.testbankA.my/RPP/MY/Redirect/Consent?EndtoEndId=20201104MAXIMYKL861ORB21001206&EndtoEndIdSignature=SXAjSsIdQmZuRtDHO2KgItO%2BneAzTgSGcMvnHV3HPB3h05cpQuTtZx3%2BOcT4c%2FVQYf64Ty2xdM8TLoy88skEhSaDg%3D&DbtrAgt=TEST0021