EOOPAY
  1. You are here:  
  2. Home
  3. THB interface

THB interface

Bank Code List

Details
Category: THB interface
Bank Code Bank Name
001 KBank
003 BBL
018 CIMB
017 Krungsri
004 KTB
020 LH Bank
010 SCB
013 SCBT
007 TMBThanachart
016 UOB
022 GSB
023 KKP
024 Citibank N.A.
025 GHBA
026 BAAC
027 MHCB
028 ibank
029 Tisco
030 ICBC Thai
031 Thai Credit
032 SMBC
033 HSBC
034 BNPP
035 DEUTSCHE BANK AG
036 Bank of China
038 INDIAN OVERSEAS BANK
039 SME

Withdrawal interface

Details
Category: THB interface

https://{Request address}/Payment_AddOrder

Request Parameters

parameter name

required

type

explanation

mchid

yes

string

The "merchant number" provided by the payment system to the cooperative merchant

applydate

yes

string

Initiate payment time,(yyyy-MM-dd HH:mm:ss)

out_trade_no

yes

string

Merchant’s unique order number

payment_code

yes

string

To pay for the product code, contact customer service to obtain it.

money

yes

string

Payment amount (unit: YES, current currency, 2 decimal places, 100.00)

bankname

yes

string

Bank code (Please see the bank code list)

accountnumber

yes

string

Bank card number or account number corresponding to the payment account

userid

yes

string

Transaction user ID; if it is inconvenient or unobtainable, please provide other alternative data, such as the player's mobile phone number.

notifyurl

yes

string

Payment callback address

accountname

yes

string

Bank customer name

bankcode 

yes

string

Bank code

pay_md5sign

yes

string

signature

 

Response Parameters

Parameter name

Required

type

Description

success

yes

string

True if successful and false if failed

errCode

yes

string

0

errMsg

yes

string

Withdrawal status message

Request Example

{
    "accountnumber": "4585347382476835478",
    "applydate": "2024-06-03 03:40:24",
    "bankname": "GCASH",
    "email": "This email address is being protected from spambots. You need JavaScript enabled to view it.",
    "mchid": "10006",
    "mobile": "4847854875348",
    "money": "1000.00",
    "name": "test",
    "notifyurl": "http://*********/server.php",
    "out_trade_no": "1717357224412",
    "payment_code": "10101",
    "userid": "54545", 
    "accountname": "Jack Test",
    "bankcode": "002",
    "pay_md5sign": "7E1C7244DE576028611FBFF866D14BB9"
}

Return to example

{
    "success": true,
    "errCode": "0",
    "errMsg": "Success"
}



Deposit interface

Details
Category: THB interface

https://{request address}/Pay_AddOrder.html

Request parameters

Parameter name

Required

Whether to participate in the signature

Description

pay_memberid

yes

yes

The "Merchant Number" provided by the payment system to the cooperating merchants

pay_orderid

yes

yes

Merchant unique order number

pay_applydate

yes

yes

Payment time, yyyy-MM-dd HH:mm:ss

pay_bankcode

yes

yes

Channel Management->>Get channel rates

pay_notifyurl

yes

yes

Server return address. (POST return data)

pay_callbackurl

yes

yes

Page jump return address (POST return data)

pay_userid

yes

yes

Transaction user ID; if it is inconvenient to provide or cannot be obtained, please provide other alternative data, such as: player’s mobile phone number.

pay_amount

yes

yes

Product amount in current currency

type

no

no

If type=json is passed, json will be returned. If other values ​​are passed, html will be returned.

pay_bankaccount

yes

no

Payer card number

bankCode

yes

no

Bank code

pay_md5sign

yes

no

Please see the MD5 signature field format

 

Response parameters (will be returned only if type=json is passed)

Parameter name

Required

type

Description

status

yes

string

Status code 1=Success 
error=failed

msg

yes

string

Error message Success or failed

pay_amount

yes

string

Order amount

pay_orderid

yes

string

Payment order number of the payment system

payUrl

yes

string

Payment link i.e. cashier

return_params

no

string

Transparent
transmission parameters

 

Request Example

{
    "pay_amount": "1000.00",
    "pay_applydate": "2024-06-03 01:33:05",
    "pay_bankcode": "952",
    "pay_callbackurl": "http://**********/return.php",
    "pay_memberid": "10006",
    "pay_notifyurl": "http://**********/server.php",
    "pay_orderid": "1717349585178",
    "pay_userid": "15452",
    "pay_bankaccount": "55845847687468",
    "bankCode": "001",
    
"type": "json",
    "pay_md5sign": "216FDCA906F3A7C3B0ADDECA536A469C"

}

 

Return to Example

{
    "code": "1",
    "msg": "Success",
    "money": "1000",
    "order_sn": "20240603013042504853",
    "payUrl": "https://******************"
}

Select your language

  • 简体中文 (中国)
  • English (United Kingdom)

Main menu en-GB

  • eoopay technical documentation