This API is for merchant to automatically register their sub-merchants or agents into edxaPay.
3.1 Register
To initiate a registration, merchant is required to pass below information.
- URL: https://payment.brisktrex.com/regmech
- Method: CURL_POST
- Parameters
- contact_name – applicant’s contact name [mandatory]
- email – applicant’s email address [mandatory]
- phone – applicant’s phone number [mandatory]
- address – applicant’s address [mandatory]
- postcode – applicant’s address postcode [mandatory]
- country_code – address country code. Refer to country code in Country List section [mandatory]
- city – applicant’s address city [optional]
- state_code – only applicable if country is Malaysia (MYS). Refer to state code in State List section [optional]
- company_name – company name or applicant’s name (if individual [mandatory]
- reg_no – company registration number or applicant’s identification number (if individual) [mandatory]
- company_url – company url [optional]
- status_url – for callback purposes in order to get status response after registration [optional]
- bank_code – bank lists. Refer to Bank List section [mandatory]
- acc_name – bank account name (company or individual) [mandatory]
- acc_no – bank account number [mandatory]
3.2 Register Response
After registration processing, merchant will receive below response from edxaPay:
3.2.1 Return Response
- Parameters
- status – registration status
- 0 – failed
- 1 – success
- merchant_code – merchant code
- merchant_name – merchant name
- verify_key – verify key
- error – registration error code, if any
- message – registration error message if status is failed
- status – registration status
3.2.2 Callback Response
- method: HTTP POST
- parameters
- status – account status
- active
- inactive
- pending
- rejected
- deleted
- suspended
- merchant_code – merchant code
- status – account status
3.3 Bank List
Merchant able to retrieve bank list using the following:
- URL: https://payment.brisktrex.com/bank
- method: CURLOPT_URL
Example:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://payment.brisktrex.com/bank");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close($ch);
No. | Bank Code | Bank Name |
1. | AMBB0209 | AMBANK MALAYSIA BERHAD |
2. | BIMB0340 | BANK ISLAM MALAYSIA BERHAD |
3. | BKRM0602 | BANK KERJASAMA RAKYAT MALAYSIA BERHAD |
4. | BSN0601 | BANK SIMPANAN NASIONAL |
5. | ABB0232 | AFFIN BANK BERHAD |
6. | ABMB0213 | ALLIANCE BANK MALAYSIA BERHAD |
7. | BMMB0342 | BANK MUAMALAT MALAYSIA BERHAD |
8. | BCBB0235 | CIMB BANK BERHAD |
9. | DBB0199 | DEUTSCHE BANK BERHAD |
10. | HLB0224 | HONG LEONG BANK BERHAD |
11. | HSBC0223 | HSBC BANK MALAYSIA BERHAD |
12. | KFH0346 | KUWAIT FINANCE HOUSE (MALAYSIA) BERHAD |
13. | OCBC0229 | OCBC BANK MALAYSIA BERHAD |
14. | PBB0233 | PUBLIC BANK BERHAD |
15. | RHB0218 | RHB BANK BERHAD |
16. | SCB0215 | STANDARD CHARTERED BANK |
17. | UOB0227 | UNITED OVERSEAS BANK |
18. | AR5678 | AL-RAJHI BANKING & INVESTMENT CORP |
19. | MB2U0227 | MALAYAN BANKING BERHAD |