1. Home
  2. Docs
  3. API GUIDE
  4. 3. Merchant Registration

3. Merchant Registration

Print

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

3.2.2 Callback Response

  • method: HTTP POST
  • parameters
    • status – account status
      • active
      • inactive
      • pending
      • rejected
      • deleted
      • suspended
    • merchant_code – merchant code

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 CodeBank Name
1.AMBB0209AMBANK MALAYSIA BERHAD
2.BIMB0340BANK ISLAM MALAYSIA BERHAD
3.BKRM0602BANK KERJASAMA RAKYAT MALAYSIA BERHAD
4.BSN0601BANK SIMPANAN NASIONAL
5.ABB0232AFFIN BANK BERHAD
6.ABMB0213ALLIANCE BANK MALAYSIA BERHAD
7.BMMB0342BANK MUAMALAT MALAYSIA BERHAD
8.BCBB0235CIMB BANK BERHAD
9.DBB0199DEUTSCHE BANK BERHAD
10.HLB0224HONG LEONG BANK BERHAD
11.HSBC0223HSBC BANK MALAYSIA BERHAD
12.KFH0346KUWAIT FINANCE HOUSE (MALAYSIA) BERHAD
13.OCBC0229OCBC BANK MALAYSIA BERHAD
14.PBB0233PUBLIC BANK BERHAD
15.RHB0218RHB BANK BERHAD
16.SCB0215STANDARD CHARTERED BANK
17.UOB0227UNITED OVERSEAS BANK
18.AR5678AL-RAJHI BANKING & INVESTMENT CORP
19.MB2U0227MALAYAN BANKING BERHAD