API Reference

This integration method provides a way to collect payments quickly and securely


NoStepDescription
1Choose Payment MethodOnce customer selects payment method Herepay, Merchant will send request to Herepay system to retrieve available payment method.
2Send RequestMerchant send bank request message to Herepay via SSL.
3Response RequestHerepay send response bank request message to Customer System.
4Display Available PaymentCustomer System display available payment method.
5Choose Payment ChannelOnce customer selects payment channel, customer may selects his preferred Bank from the drop down list.
6Send RequestMerchant send initiate request with bank_prefix retrieve from No 5 to Herepay via SSL.
7Send Request ARHerepay sends AR message to Acquire Bank via SSL.
8Bank Respond Direct AC MessageBank send AR message request to Herepay.
9Redirect Customer SystemHerepay send webhook of AR message request to Customer System and Redirect to Customer System website callback provided.
10Redirect CustomerCustomer System redirect customer to redirect url
11Send Response RRUpon Completion of debit cycle, Herepay initiates RR message to Acquiring Bank.
12Acquiring Bank Perform CreditingAcquiring Bank processes credit message and performs crediting to Merchant account.
13Acquiring Bank Responds RC Message to FPXAcquiring Bank updates credit status to Herepay by sending RC message. Once credit response message is received, Herepay update the transaction as completed and ready for interbank settlement.