Inquiry Merchant Info
Inquiry Merchant Info is not mandatory process; it is only needed if merchant system would like to inquire the bankProduct and productCode required to customize the display the of the payment method. Putting this bankCode and productCode in the api redirector will automatically redirect merchant page to payment page.
Merchant will send a request to Espay system, and Espay will respond with json format as shown below
Flow
Merchant -> Espay
Method
HTTP Post
API URL
Development : Development : https://sandbox-api.espay.id/rest/merchant/merchantinfo
Production : Production : https://api.espay.id/rest/merchant/merchantinfo
Parameter Request:
Parameter Name | Max Length | Mandatory | Description |
key | 32 | Yes | Merchant Key provided by Espay |
Parameter Response:
Parameter Name | Max Length | Mandatory | Description | ||||||
error_code | 4 | Yes | 0000 = Success. Other = Failed. |
||||||
error_message | 32 | Yes | If error_code equal to 0000 = Success If error_code is not equal to 0000, the description will be placed here |
||||||
data | No |
|