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

THA interface

Withdrawal interface

Details
Category: THA 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)

accountname

YES

string

Benefit account name

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

pay_md5sign

YES

string

signature

 

response parameters

parameter name

required

type

explanation

success

YES

string

True for success, false for failure

errCode

YES

string

0

errMsg

YES

string

Payment status message

Request example

{
    "accountname": "test",
    "accountnumber": "4585347382476835478",
    "applydate": "2023-06-03 04:41:20",
    "bankname": "JIANSHE BANK",
    "mchid": "10006",
    "money": "1000.00",
    "notifyurl": "http://*******/server.php",
    "out_trade_no": "1717360880584",
    "payment_code": "10202",
    "userid": "54545",
    "pay_md5sign": "E2B3AB5DE16A2A95DA003E4876B6EED3"
}

Return example

{

"success": true,

"errCode": "0",

"errMsg": "Success"

}



Bank Code List

Details
Category: THA interface

name

name_code(pay_bankname)

status

BANGKOK BANK

BBL

OPEN

KASIKORN BANK

KBANK

OPEN

KRUNG THAI BANK

KTB

OPEN

TMB BANK

TMB

OPEN

SIAM COMMERCIAL BANK

SCB

OPEN

CIMB THAI BANK

CIMB

OPEN

UNITED OVERSEAS BANK

UOB

OPEN

BANK OF AYUDHYA (KRUNGSRI)

BAY

OPEN

THE GOVERNMENT SAVINGS BANK

GSB

OPEN

THE GOVERNMENT HOUSING BANK

GHB

OPEN

BANK FOR AGRICULTURE AND AGRICULTURAL COOPERATIVES

BAAC

OPEN

TISCO BANK

TISCO

CLOSE

KIATNAKIN BANK

KKP

OPEN

LAND AND HOUSES BANK

LHBANK

OPEN

TMBTHANACHART BANK

TTB

CLOSE

 

Deposit interface

Details
Category: THA interface

https://{url}/Pay_AddOrder.html

Request parameters

parameter name

required

yes or no signature

explanation

pay_memberid

YES

YES

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

pay_orderid

YES

YES

Merchant’s unique order number

pay_applydate

YES

YES

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

pay_bankcode

YES

YES

Channel Management->>Channel Rate Acquisition

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 or unavailable to provide, please provide other alternative data, such as: player mobile phone number。

pay_amount

YES

YES

Product amount in current currency

pay_md5sign

YES

NO

Please see MD5 signature field format

type

NO

NO

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

 

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

parameter name

required

type

explanation

status

YES

string

Status code 1=success error=failure

msg

YES

string

Error message: Success or falid

pay_amount

YES

string

order amount

pay_orderid

YES

string

Payment order number of the payment system

payUrl

YES

string

Payment link

return_params

NO

string

Transparent transmission parameters

 

Request Example

{
    "pay_amount": "1000",
    "pay_applydate": "2024-06-29 23:34:14",
    "pay_bankcode": "942",
    "pay_callbackurl": "http:\/\/pay.frfr88.com\/return.php",
    "pay_memberid": "10006",
    "pay_notifyurl": "http:\/\/pay.frfr88.com\/server.php",
    "pay_orderid": "1719675254345",
    "pay_userid": "145384",
    "pay_md5sign": "449F000B9A8CD315A04AC35BA659D450",
    "type": "json",
}

 

Response Example

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



Select your language

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

Main menu en-GB

  • eoopay technical documentation