NAV
Java PHP Go HTTP shell javascript

The test information

Test merchant information

Test merchant website

Credit Card

Gold Pomelo

Signature Rules

To ensure that the data is not tampered with during transmission, the system requires you to sign the payment parameter data and send the data signature along with the payment request

The MD5 Signature

Request Parameters

Parameter name Required Type Explain Length Remark
referer No String Referer 256 When the referer is not filled in, the url will be obtained from returnUrl and verified by default. If the referer is filled in, the referer will be judged first. When the verification fails, returnUrl will not be verified

Body Parameters

Copy to Clipboard
{ "tradeMerNo": 123455, "merOrderNo": "1641972507000", "currencyCode": "CNY", "sourceAmount": "100.05", "returnUrl": "http://baidu.com", "sign": "9D6FDF4880B00B002B1F2AB61AE9A721", "cardNo": "6011200081728932", "cardExpireMonth": "06", "cardExpireYear": "2020", "cardSecurityCode": "361", "billingFirstName": "san", "billingLastName": "zhang", "billingAddress1": "China", "billingCity": "shanghai", "billingState": "shanghai", "billingCountry": "CN", "billingZipCode": "200000", "billingPhone": "13688888888", "shippingFirstName": "san", "shippingLastName": "zhang", "shippingAddress1": "China", "shippingCity": "shanghai", "shippingState": "shanghai", "shippingCountry": "CN", "shippingZipCode": "200000", "shippingPhone": "13688888888", "ipAddress": "116.235.134.86", "browser":{ "acceptHeader": "/**", "userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36", "language":"en", "timeZoneOffset":10, "colorDepth":10, "screenHeight":100, "screenWidth":1300, "javaEnabled":true }, "holderName": "test", "productInfo": [ { "sku": "1", "productName": "mac pro", "price": "12000", "quantity": "1" }, { "sku": "2", "productName": "iphone13", "price": "8000", "quantity": "1" } ] }
Parameter name Required Type Explain Length Remark
tradeMerNo Yes Integer Merchant Number 10 Unique identifier assigned to the merchant by the Gold Pomelo payment platform when registering with Gold Pomelo
merOrderNo Yes String Merchant Order Number 32 Each order must be unique, and each merchant order number can only be submitted once within 1 second
currencyCode Yes String Currency 3
sourceAmount Yes String Total amount of the order 12 keep two decimals
returnUrl Yes String Jump address after payment is completed 512
notifyUrl No String Asynchronous notification address 512 The asynchronous notification address is used when 3DS pays to receive Gold Pomelo to push payment results to merchants
sign Yes String signature 32 (tradeMerNo、merOrderNo、currencyCode、sourceAmount、Merchant key) Please refer to See signature for details
cardNo Yes String card number 16
cardExpireMonth Yes String Expiry date of card (month) 2
cardExpireYear Yes String Expiry date of card (year) 4
cardSecurityCode Yes String CVV2/CSC 3
billingFirstName Yes String First Name 50
billingLastName Yes String Last name 50
billingAddress1 Yes String billing address 1 128
billingAddress2 No String billing address 2 128
billingCity Yes String City of residence (bill) 100
billingState Yes String State Name (Bill) 100
billingCountry Yes String International ISO country abbreviation 2 Refer to the country code table
billingZipCode Yes String Postal Code 20
billingPhone Yes String billing phone 20
billingEmail Yes String billing email 100
shippingFirstName Yes String Consignee’s first name 50
shippingLastName Yes String Consignee’s last name 50
shippingAddress1 Yes String Receiving address details 1 128
shippingAddress2 No String Receiving address details 2 128
shippingCity Yes String Receiving city 100
shippingState Yes String Receiving continent, province 100
shippingCountry Yes String Receiving country 2 Refer to the country code table
shippingZipCode Yes String Consignee’s zip code 20
shippingPhone Yes String Consignee phone 20
shippingEmail Yes String shilling email 100
ipAddress Yes String Cardholder IP address 64
productInfoList Yes List product list
browser Yes browser Browser information
holderName Yes String Cardholder Name 30
Parameter name Required Type Explain Length Remark
sku Yes String Product ID 64
productName Yes String product name 128
price Yes String Commodity price 16
quantity Yes String quantity of commodity 16
Parameter name Required Type Explain Length Remark
acceptHeader Yes String Customer browser(Accept header) 50
userAgent Yes String Customer browser(userAgent) 128
language Yes String Customer browser language setting 50
timeZoneOffset Yes Interger Time Zone Offset from UTC 11
colorDepth Yes Interger Color depth of the client browser 11
screenHeight Yes Interger Screen height of client browser 11
screenWidth Yes Interger Screen width of client browser 11
javaEnabled Yes Interger Whether Javascript is enabled in the client's browser true

Sample request

Copy to Clipboard
public class Test{ public static void main(String[] args){ JSONObject jsonObject = new JSONObject(); jsonObject.put("tradeMerNo", "123455"); jsonObject.put("merOrderNo", "1641972507000"); jsonObject.put("currencyCode", "CNY"); //.....All body parameters except the sign //sign String sign = MD5(tradeMerNo+merOrderNo+currencyCode+sourceAmount+MerchantKey); jsonObject.put("sign", sign.toUpperCase()); String url = "/payment"; HttpResponse httpResponse = HttpRequest.post(url) .body(jsonObject.toJSONString(), "application/json") .execute(); int status = httpResponse.getStatus(); if(status == HttpStatus.HTTP_OK){ String content = httpResponse.body(); } } }

Response Parameters

2D Response Success Example

Copy to Clipboard
{ "code": "00000", "message": "SUCCESS", "data": { "tradeNo": "DZ02204201926015340", "merOrderNo": "1650453961070", "payCode": 0, "payUrl": null, "payDesc": "success", "sourceAmount": "1", "currencyCode": "HKD", "tradeMerNo": 104001001, "sign": "2345D858E5326A6E1747314E658760A9" } }

3D Response Success Example

Copy to Clipboard
{ "code": "00000", "message": "SUCCESS", "data": { "tradeNo": "DZ02204201930225414", "merOrderNo": "1650454222321", "payCode": 2, "payUrl": "https://test.LC-001hk.com/pay-web-h5/cnp_pay/directCashier?accessCode=85200162&mchtId=852999952110013&accessOrderId=DZ02204201930225414", "payDesc": "Please redirect to payUrl", "sourceAmount": "1", "currencyCode": "HKD", "tradeMerNo": 104001001, "sign": "4B91E93FD32245B600D8780D5C26A0EB" } }

Response Failure Example

Copy to Clipboard
{ "code": "10004", "message": "The merchant number does not exist" }
Parameter name Required Type Explain
code Yes String error code(Refer to the error code table)
message Yes String error description
data No T Request response data
Parameter name Required Type Explain
tradeNo Yes String The flow number generated after each order payment (unique marker)
payCode Yes Integer Payment status code(Where: 1 means payment failure, 0 means payment success, 2 means pending)
payUrl No String This parameter is mandatory for 3D payment (the merchant needs to redirect to this link)
merOrderNo Yes String Corresponds to the [OrderNo] parameter of the order submission parameter
payDesc No String Payment message description
sourceAmount Yes String Total amount of the order
currencyCode Yes String
tradeMerNo Yes String Unique identifier assigned to the merchant by the Gold Pomelo payment platform when registering with Gold Pomelo
sign Yes String (tradeMerNo、merOrderNo、currencyCode、sourceAmount、payCode、Merchant key) Please refer to See signature for details
billAddress No String Billing Address Descriptor

Error Code

State Code Description
00000 SUCCESS
10000 Payment method cannot be empty
10001 Payment method does not exist
10002 The parameter cannot be empty
10003 The same order of the same merchant number cannot be submitted repeatedly within the same time
10004 The merchant number does not exist
10005 Merchant not active
10006 Referer cannot be empty
10007 Source url does not comply with relevant regulations
10008 Merchant Url Restriction
10009 Duplicate merchant order number
10010 Merchant does not set transaction currency
10011 The channel is not open
10012 The card type is not bound
10013 Banks don't exist
10014 Currency conversion rate does not exist
10015 Signature error
10016 Exceed daily transaction limit
10017 Exceed monthly transaction limit
10018 Currency cannot be empty
10019 Currency is not open or currency incoming is wrong
10020 There is no single transaction limit
10021 There is no daily trading limit
10022 There is no monthly trading limit
10023 Merchant reaches single transaction limit
10024 Merchants have reached their daily transaction limit
10025 Merchants have reached their monthly transaction limit
99996 Data type conversion exception
99997 The parameter is missing or does not meet the restriction
99998 Channel payment failure
99995 The payment channel connection has timed out
10026 The transaction does not exist or cannot match the original transaction
10027 The order is not confirmed.
10028 The order is being processed for refund
10029 Insufficient refund amount
10031 The query type does not exist
10032 The card type was not recognized
10033 Merchant does not set card discount rate
10034 Merchant does not set margin deduction rate
10035 All quotas have been used up
10036 The channel is disabled.
10037 Transactions with this card are not supported
10038 Success limit
10039 Failed times exceed the set maximum allowed failed times (cardholder)
10040 Block rule block
10141 Card Nubmer Blacklist blocking
10142 IP Blacklist blocking
10143 EMAIL Blacklist blocking
10144 Tel Phone Blacklist blocking
10042 Element is limited
99994 The request mode is incorrect
99995 The payment channel connection has timed out
99996 Data type conversion exception
99997 The parameter is missing or does not meet the restriction
99998 Channel payment failure
99999 System Exception

APM

PayIn

Request Base URL

Test Environment : https://sandbox.paypomelo.com

Prod Environment : https://payment.paypomelo.com

EndPoints

/payment

Request Header

Parameter Required Value 说明
paymentCountry yes ISO-3 3位国家码
paymentType yes API/WEB paymentType = API 时 CreditCard 直连

China

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 China
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Vietnam

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Vietnam
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Philippines

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Philippines
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Brazil

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Brazil
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Mexico

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Mexico
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Colombia

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Colombia
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Chile

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Chile
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Argentina

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Argentina
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Peru

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Peru
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Ecuador

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Ecuador
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Guatemala

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Guatemala
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Panama

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Panama
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Bolivia

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Bolivia
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Costa Rica

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Costa Rica
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

El Salvador

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Paraguay

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Uruguay

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Indonesia

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Indonesia
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

South Korea

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 South Korea
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

United Arab Emirates

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 United Arab Emirates
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Singapore

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Singapore
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Malaysia

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Malaysia
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Thailand

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Thailand
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Taiwan

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Taiwan
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Kazakhstan

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Kazakhstan
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Uzbekistan

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Uzbekistan
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Turkey

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Turkey
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Bahrain

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Bahrain
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Egypt

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Egypt
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Kuwait

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Kuwait
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Oman

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Oman
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Qatar

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Qatar
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Saudi Arabia

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Saudi Arabia
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Hong Kong

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50 Hong Kong
walletType method=Wallet时必填 String
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

Russia

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

India

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10
merOrderNo String 商户订单号 32
currencyCode String 币种 3
method String 支付方式 50
returnUrl String 支付完成后的跳转地址 512
sign String 签名 32

USA

Request Body (JSON format)

Parameter Required Type Description Length Remark
tradeMerNo Integer 商户号 10 可在商户后台注册获取
merOrderNo String 商户订单号 32 每次下单时必须保持唯一,且每个商户订单号在1秒内只能提交一次
currencyCode String 币种 3 USD
sourceAmount String 金额 12 保留两位小数
method String 支付方式 USA
returnUrl String 支付完成后的跳转地址 512
notifyUrl String 异步通知地址 512 支付时用来接收Gold Pomelo向商户推送支付结果
sign String 签名 32 (tradeMerNo、merOrderNo、currencyCode、sourceAmount、Merchant key) 详细参照: 签名
cardNo String 卡号 16
cardExpireMonth String 卡有效期(月) 2
cardExpireYear String 卡有效期(年) 4
cardSecurityCode String 卡CVV2/CSC 3
billingFirstName String 账单人(名) 50
billingLastName String 账单人(姓) 50
billingAddress1 String 账单地址1 128
billingAddress2 String 账单地址2 128
billingCity String 账单城市 100 New York
billingState String 账单州/省 100 NY
billingCountry String 账单国家编码 2 参考国家编码表 US
billingZipCode String 账单邮编 20
billingPhone String 账单电话 20
billingEmail String 账单邮箱 100
shippingFirstName String 送货人(名) 50
shippingLastName String 送货人(姓) 50
shippingAddress1 String 送货地址1 128
shippingAddress2 String 送货地址2 128
shippingCity String 送货城市 100
shippingState String 送货州/省 100
shippingCountry String 送货国家编码 2 参考国家编码表 US
shippingZipCode String 送货邮编 20
shippingPhone String 送货电话 20
shippingEmail String 送货邮箱 100
ipAddress String 持卡人IP地址 64
productInfoList List 商品列表
browser browser 浏览器信息
holderName String 持卡人姓名
Parameter Required Type Description Length Remark
sku String 商品编号 64
productName String 商品名称 128
price String 商品单价 16
quantity String 商品数量 16
Parameter Required Type Description Length Remark
acceptHeader String 客户浏览器(Accept header) 50
userAgent String 客户浏览器(userAgent)字符串 128
language String 客户浏览器语言设置 50
timeZoneOffset Interger UTC的时区偏移量 11
colorDepth Interger 客户浏览器的颜色深度 11
screenHeight Interger 客户浏览器的屏幕高度 11
screenWidth Interger 客户浏览器的屏幕宽度 11
javaEnabled Interger 客户浏览器中是否启用了Javascript true

Data For test(SandBox)

PayIn

USA

Method Remark
paypal sb-kvtcf2466010@personal.example.com 密码:Test@111
venmo
cashapppay
CrediCard

Payment Method

Brazil

Parameter Amount Limit(BRL)
PIX 0.01~50,000
OpenFinance 0.1~20,000
Boleto 5~15,000
Lottery 4~2,000
method=Wallet, walletType = PicPay 0.1~5,000/transaction
0.1~20,000/person/day
method=Wallet, walletType = Mercadopago 0.01~10,000

Mexico

Parameter Amount Limit(MXN)
CreditCard 1~20,000
SPEI 8~10,000,000
CoDi 8~10,000,000
OXXOPay 10~9,999
Cash 8~9,999
method=Wallet, walletType = Todito 1~190,000

Colombia

Parameter Amount Limit(COP)
CreditCard 300 - 1,000,000 COP (Only Integer)
PSE 1,000~100,000,000(Only Integer)
Transfiya 1,000~ (Only Integer),
3,000,000 COP per user per day,
15 transactions per user per day.
Bancolombia 5,000~3,000,000 (Only Integer)
Efecty 1~3,000,000(Only Integer)
SuRed 1,000~3,000,000(Only Integer)
Gana 1,000~3,000,000(Only Integer)
method=Wallet, walletType = TPaga 1~2,000,000(Only Integer)
method=Wallet, walletType = Dale 1,000~10,000,000(Only Integer)
method=Wallet, walletType = Daviplata 1,000~10,000,000(Only Integer)
method=Wallet, walletType = Movii 1,000~10,000,000(Only Integer)
method=Wallet, walletType = Nequi 1,000~10,000,000(Only Integer)
method=Wallet, walletType = Rappipay 1,000~10,000,000(Only Integer)

Chile

Parameter Amount Limit(CLP)
CreditCard 1~1,000,000(Only Integer)
Webpay 1~1,000,000(Only Integer)
Khipu 1~250,000*(Only Integer)
BankTransfer 50~5,000,000*(Only Integer)
Pago46 1,500 - 999,999 for Bank Transfer,
10,000- 999,999 for Cash (Only Integer)
method=Wallet, walletType = Mach 1~500,000(Only Integer)

Argentina

Parameter Amount Limit(ARS)
Khipu 50~1,257,000/day
Rapipago 30~5,000,000

Peru

Parameter Amount Limit(PEN)
CreditCard 5~10,000
BankTransfer 5~50,000
Cash 5~1,000
QRCode 8~3,750

Ecuador

Parameter Amount Limit(USD)
CreditCard 1~2,500
BankTransfer 2~10,000
Cash 1~500

Guatemala

Parameter Amount Limit(GTQ)
Cash 8~7,500

Panama

Parameter Amount Limit(USD)
Cash 1~200

Costa Rica

Parameter Amount Limit(CRC)
BNCR 1,000~100,000(Only Integer)
Cash 1,000~190,000

Bolivia

Parameter Amount Limit(BOB)

El Salvador

Parameter Amount Limit(USD)

Nicaragua

Parameter Amount Limit(NIO)

Paraguay

Parameter Amount Limit(PYG)

Uruguay

Parameter Amount Limit(UYU)

South Korea

Parameter Amount Limit(KRW)
BankTransfer 1,000~ KRW (Only Integer)
VirtualAccount 500~ KRW (Only Integer)
method=Wallet, walletType = KakaoPay 100~2,000,000 KRW (Only Integer)
method=Wallet, walletType = NaverPay 100~2,000,000 KRW (Only Integer)
method=Wallet, walletType = Payco 100~2,000,000 KRW (Only Integer)
method=Wallet, walletType = SamsungPay 100~2,000,000 KRW (Only Integer)
method=Wallet, walletType = Toss 100~2,000,000 KRW (Only Integer)

China

Parameter Amount Limit(CNY)
method=Wallet, walletType = AlipayCN 0.04~300,000 CNY

Hong Kong

Parameter Amount Limit(HKD)
DiscoverCard 0.01~ HKD
method=Wallet, walletType = AlipayHK 0.1~9,999,999 HKD
method=Wallet, walletType = WechatPayHK 0.02~340,000 HKD

Japan

Parameter Amount Limit(JPY)
DiscoverCard 0.01~ JPY

Indonesia

Parameter Amount Limit(IDR)
BankTransfer 10,000~50,000,000 IDR (Only Integer)
method=Wallet, walletType = DANA 300~25,000,000 IDR

Singapore

Parameter Amount Limit(SGD)
method=Wallet, walletType = GrabPay ~30,000 SGD
method=Wallet, walletType = ShopeePay ~

Malaysia

Parameter Amount Limit(MYR)
method=Wallet, walletType = BOOST 0.1~9,999,999 MYR
method=Wallet, walletType = TNG 0.1~9,999,999 MYR

Philippines

Parameter Amount Limit(PHP)
method=Wallet, walletType = BPI 1~50,000 PHP
method=Wallet, walletType = GCash 1~100,000 PHP
method=Wallet, walletType = AlipayPlus 1~50,000 PHP
QRPH 20~ PHP

Thailand

Parameter Amount Limit(THB)
method=Wallet, walletType = RabbitLinePay 1~50,000 THB
method=Wallet, walletType = TrueMoney 1~ THB

Taiwan

Parameter Amount Limit(TWD)
BankTransfer 1~20,000 TWD
OTC 30~20,000 TWD
PostTransfer 100~20,000 TWD
method=Wallet, walletType=LINEPay 50~20,000 TWD
method=Wallet, walletType=JKOPay 50~20,000 TWD

Vietnam

Parameter Amount Limit(VND)
QRCode 10,000~ VND

Kazakhstan

Parameter Amount Limit(KZT)
CreditCard 50~299,000 KZT

Uzbekistan

Parameter Amount Limit(UZS)
CreditCard 1,000~10,000,000 UZS per transaction.
100,000,000 UZS per card per day/month

Australia

Parameter Amount Limit(AUD)
Paysafecard 0.01~ AUD

Turkey

Parameter Amount Limit(TRY)
method=Wallet, walletType=Papara 1~500,000 TRY

Bahrain

Parameter Amount Limit
CreditCard 0.01~ BHD/USD

Egypt

Parameter Amount Limit
CreditCard 0.01~ USD
method=Wallet, walletType=FawryPay 10~60,000 EGP
method=Wallet, walletType=EtisalatCash 5~30,000 EGP
method=Wallet, walletType=OrangeCash 5~30,000 EGP
method=Wallet, walletType=VodafoneCash 5~30,000 EGP
method=Wallet, walletType=WePay 5~30,000 EGP
Cash 10~100,000 EGP
Kiosk No limit

Kuwait

Parameter Amount Limit
CreditCard 0.01~ USD
method=Wallet, walletType = KNet 0.01~1,700 KWD

Oman

Parameter Amount Limit(OMR)
CreditCard 0.01~ OMR

Qatar

Parameter Amount Limit
CreditCard 0.01~ USD

Saudi Arabia

Parameter Amount Limit(SAR)
CreditCard 0.01~ SAR
method=Wallet, walletType = MADA 0.01~21,000 SAR

United Arab Emirates

Parameter Amount Limit(AED)
CreditCard 0.01~ AED

USA

Parameter Amount Limit(USD)
CreditCard
cashapppay
paypal
venmo

sync skip

After completing the payment, the merchant cardholder will be redirected to the returnurl address delivered during the payment, and the relevant information of the order will be brought when redirecting.

Note: the fields carried by redirection indicating the payment status of the order do not indicate whether the final payment is successful or not.

2D: return the identification of whether the final payment is successful in real time

3D: asynchronous notification final payment success identification

Request Parameters

Parameter name Required Type remark
tradeMerNo Yes Integer Merchant Number
tradeNo Yes String The flow number generated after each order payment (unique marker)
merOrderNo Yes String Corresponds to the [OrderNo] parameter of the order submission parameter
sourceAmount Yes String Total amount of the order
sourceCurrency Yes String Currency
succeed Yes Integer pay success flag(0:fail 1:success)
resultMessage Yes String pay success desc
responseType Yes String pay type(default:payment)
remark No String remark

async notify

Request Parameters

Body Parameters

Copy to Clipboard
{ "tradeNo": "DZ2201111806024151", "merOrderNo": "1641972507000", "payCode": "0", "payDesc": "SUCCESS", "sourceAmount": "1", "currencyCode": "HKD", "tradeMerNo": 104001001, "sign": "2345D858E5326A6E1747314E658760A9" }

Sample request

Copy to Clipboard
public class Test{ public static void main(String[] args){ JSONObject jsonObject = new JSONObject(); jsonObject.put("tradeNo", "DZ2201111806024151"); jsonObject.put("merOrderNo", "1641972507000"); jsonObject.put("payCode", "0000"); jsonObject.put("payDesc", "SUCCESS"); jsonObject.put("sourceAmount", "1"); jsonObject.put("currencyCode", "HKD"); jsonObject.put("tradeMerNo", 104001001); jsonObject.put("sign", "2345D858E5326A6E1747314E658760A9"); String url = "Address of notifyUrl parameter passed when payment is made "; HttpResponse httpResponse = HttpRequest.post(url) .body(jsonObject.toJSONString(), "application/json") .execute(); int status = httpResponse.getStatus(); if(status == HttpStatus.HTTP_OK){ String content = httpResponse.body(); if("SUCCESS".equals(content)){ //Notify the successful } else{ //Notify the failure } } else{ //Notify the failure } } }
Parameter name Required Type Explain
tradeNo Yes String The flow number generated after each order payment (unique marker)
merOrderNo Yes String Corresponds to the [OrderNo] parameter of the order submission parameter
payCode Yes Integer error code(Refer to the error code table)
payDesc Yes String Description of Payment Result
sourceAmount Yes String Total amount of the order
currencyCode Yes String
tradeMerNo Yes String Unique identifier assigned to the merchant by the Gold Pomelo payment platform when registering with Gold Pomelo
sign Yes String (tradeMerNo、merOrderNo、currencyCode、payCode、sourceAmount、Merchant key) Please refer to See signature for details

Country Codes

Country CNName ISO-3 ISO-2
Afghanistan 阿富汗 AF AFG
Åland Islands 奥兰群岛 AX ALA
Albania 阿尔巴尼亚 AL ALB
Algeria 阿尔及利亚 DZ DZA
American Samoa 美属萨摩亚 AS ASM
Andorra 安道尔 AD AND
Angola 安哥拉 AO AGO
Anguilla 安圭拉 AI AIA
Antarctica 南极洲 AQ ATA
Antigua & Barbuda 安提瓜和巴布达 AG ATG
Argentina 阿根廷 AR ARG
Armenia 亚美尼亚 AM ARM
Aruba 阿鲁巴岛 AW ABW
Australia 澳大利亚 AU AUS
Austria 奥地利 AT AUT
Azerbaijan 阿塞拜疆 AZ AZE
Bahamas 巴哈马 BS BHS
Bahrain 巴林 BH BHR
Bangladesh 孟加拉国 BD BGD
Barbados 巴巴多斯 BB BRB
Belarus 白俄罗斯 BY BLR
Belgium 比利时 BE BEL
Belize 伯利兹 BZ BLZ
Benin 贝宁 BJ BEN
Bermuda 百慕大 BM BMU
Bhutan 不丹 BT BTN
Bolivia 玻利维亚 BO BOL
Bosnia 波斯尼亚 BA BIH
Botswana 博茨瓦纳 BW BWA
Bouvet Island 布维岛 BV BVT
Brazil 巴西 BR BRA
British Indian Ocean Territory 英属印度洋领地 IO IOT
British Virgin Islands 英属维尔京群岛 VG VGB
Brunei 文莱 BN BRN
Bulgaria 保加利亚 BG BGR
Burkina Faso 布基纳法索 BF BFA
Burundi 布隆迪 BI BDI
Cambodia 柬埔寨 KH KHM
Cameroon 喀麦隆 CM CMR
Canada 加拿大 CA CAN
Cape Verde 佛得角 CV CPV
Caribbean Netherlands 加勒比荷兰 BQ BES
Cayman Islands 开曼群岛 KY CYM
Central African Republic 中非共和国 CF CAF
Chad 乍得 TD TCD
Chile 智利 CL CHL
China 中国 CN CHN
Christmas Island 圣诞岛 CX CXR
Cocos (Keeling) Islands 科科斯(基林)群岛 CC CCK
Colombia 哥伦比亚 CO COL
Comoros 科摩罗 KM COM
Congo - Brazzaville 刚果 - 布 CG COG
Congo - Kinshasa 刚果 - 金 CD COD
Cook Islands 库克群岛 CK COK
Costa Rica 哥斯达黎加 CR CRI
Croatia 克罗地亚 HR HRV
Cuba 古巴 CU CUB
Curaçao 库拉索 CW CUW
Cyprus 塞浦路斯 CY CYP
Czech Republic 捷克共和国 CZ CZE
Denmark 丹麦 DK DNK
Djibouti 吉布提 DJ DJI
Dominica 多米尼加 DM DMA
Dominican Republic 多明尼加共和国 DO DOM
Ecuador 厄瓜多尔 EC ECU
Egypt 埃及 EG EGY
El Salvador 萨尔瓦多 SV SLV
Equatorial Guinea 赤道几内亚 GQ GNQ
Eritrea 厄立特里亚 ER ERI
Estonia 爱沙尼亚 EE EST
Eswatini 史瓦帝尼 SZ SWZ
Ethiopia 埃塞俄比亚 ET ETH
Falkland Islands 福克兰群岛 FK FLK
Faroe Islands 法罗群岛 FO FRO
Fiji 斐济 FJ FJI
Finland 芬兰 FI FIN
France 法国 FR FRA
French Guiana 法属圭亚那 GF GUF
French Polynesia 法属波利尼西亚 PF PYF
French Southern Territories 法属南部领土 TF ATF
Gabon 加蓬 GA GAB
Gambia 冈比亚 GM GMB
Georgia 格鲁吉亚 GE GEO
Germany 德国 DE DEU
Ghana 加纳 GH GHA
Gibraltar 直布罗陀 GI GIB
Greece 希腊 GR GRC
Greenland 格陵兰 GL GRL
Grenada 格林纳达 GD GRD
Guadeloupe 瓜德罗普岛 GP GLP
Guam 关岛 GU GUM
Guatemala 危地马拉 GT GTM
Guernsey 根西岛 GG GGY
Guinea 几内亚 GN GIN
Guinea-Bissau 几内亚比绍 GW GNB
Guyana 圭亚那 GY GUY
Haiti 海地 HT HTI
Heard & McDonald Islands 赫德岛和麦克唐纳群岛 HM HMD
Honduras 洪都拉斯 HN HND
Hong Kong 香港 HK HKG
Hungary 匈牙利 HU HUN
Iceland 冰岛 IS ISL
India 印度 IN IND
Indonesia 印度尼西亚 ID IDN
Iran 伊朗 IR IRN
Iraq 伊拉克 IQ IRQ
Ireland 爱尔兰 IE IRL
Isle of Man 马恩岛 IM IMN
Israel 以色列 IL ISR
Italy 意大利 IT ITA
Ivory Coast 科特迪瓦 CI CIV
Jamaica 牙买加 JM JAM
Japan 日本 JP JPN
Jersey 泽西岛 JE JEY
Jordan 约旦 JO JOR
Kazakhstan 哈萨克斯坦 KZ KAZ
Kenya 肯尼亚 KE KEN
Kiribati 基里巴斯 KI KIR
Kuwait 科威特 KW KWT
Kyrgyzstan 吉尔吉斯斯坦 KG KGZ
Laos 老挝 LA LAO
Latvia 拉脱维亚 LV LVA
Lebanon 黎巴嫩 LB LBN
Lesotho 莱索托 LS LSO
Liberia 利比里亚 LR LBR
Libya 利比亚 LY LBY
Liechtenstein 列支敦士登 LI LIE
Lithuania 立陶宛 LT LTU
Luxembourg 卢森堡 LU LUX
Macau 澳门 MO MAC
Madagascar 马达加斯加 MG MDG
Malawi 马拉维 MW MWI
Malaysia 马来西亚 MY MYS
Maldives 马尔代夫 MV MDV
Mali 马里 ML MLI
Malta 马耳他 MT MLT
Marshall Islands 马绍尔群岛 MH MHL
Martinique 马提尼克岛 MQ MTQ
Mauritania 毛里塔尼亚 MR MRT
Mauritius 毛里求斯 MU MUS
Mayotte 马约特岛 YT MYT
Mexico 墨西哥 MX MEX
Micronesia 密克罗尼西亚 FM FSM
Moldova 摩尔多瓦 MD MDA
Monaco 摩纳哥 MC MCO
Mongolia 蒙古 MN MNG
Montenegro 黑山 ME MNE
Montserrat 蒙特塞拉特 MS MSR
Morocco 摩洛哥 MA MAR
Mozambique 莫桑比克 MZ MOZ
Myanmar 缅甸 MM MMR
Namibia 纳米比亚 NA NAM
Nauru 瑙鲁 NR NRU
Nepal 尼泊尔 NP NPL
Netherlands 荷兰 NL NLD
New Caledonia 新喀里多尼亚 NC NCL
New Zealand 新西兰 NZ NZL
Nicaragua 尼加拉瓜 NI NIC
Niger 尼日尔 NE NER
Nigeria 尼日利亚 NG NGA
Niue 纽埃 NU NIU
Norfolk Island 诺福克岛 NF NFK
North Korea 北朝鲜 KP PRK
North Macedonia 北马其顿 MK MKD
Northern Mariana Islands 北马里亚纳群岛 MP MNP
Norway 挪威 NO NOR
Oman 阿曼 OM OMN
Pakistan 巴基斯坦 PK PAK
Palau 帕劳 PW PLW
Palestine 巴勒斯坦 PS PSE
Panama 巴拿马 PA PAN
Papua New Guinea 巴布亚新几内亚 PG PNG
Paraguay 巴拉圭 PY PRY
Peru 秘鲁 PE PER
Philippines 菲律宾 PH PHL
Pitcairn Islands 皮特凯恩群岛 PN PCN
Poland 波兰 PL POL
Portugal 葡萄牙 PT PRT
Puerto Rico 波多黎各 PR PRI
Qatar 卡塔尔 QA QAT
Réunion 留尼汪岛 RE REU
Romania 罗马尼亚 RO ROU
Russia 俄罗斯 RU RUS
Rwanda 卢旺达 RW RWA
Samoa 萨摩亚 WS WSM
San Marino 圣马力诺 SM SMR
São Tomé & Príncipe 圣多美和普林西比 ST STP
Saudi Arabia 沙特阿拉伯 SA SAU
Senegal 塞内加尔 SN SEN
Serbia 塞尔维亚 RS SRB
Seychelles 塞舌尔 SC SYC
Sierra Leone 塞拉利昂 SL SLE
Singapore 新加坡 SG SGP
Sint Maarten 圣马丁岛 SX SXM
Slovakia 斯洛伐克 SK SVK
Slovenia 斯洛文尼亚 SI SVN
Solomon Islands 所罗门群岛 SB SLB
Somalia 索马里 SO SOM
South Africa 南非 ZA ZAF
South Georgia & South Sandwich Islands 南乔治亚岛和南桑威奇群岛 GS SGS
South Korea 韩国 KR KOR
South Sudan 南苏丹 SS SSD
Spain 西班牙 ES ESP
Sri Lanka 斯里兰卡 LK LKA
St. Barthélemy 圣巴泰勒米岛 BL BLM
St. Helena 圣赫勒拿岛 SH SHN
St. Kitts & Nevis 圣基茨和尼维斯 KN KNA
St. Lucia 圣卢西亚 LC LCA
St. Martin 圣马丁 MF MAF
St. Pierre & Miquelon 圣皮埃尔和密克隆群岛 PM SPM
St. Vincent & Grenadines 圣文森特和格林纳丁斯 VC VCT
Sudan 苏丹 SD SDN
Suriname 苏里南 SR SUR
Svalbard & Jan Mayen 斯瓦尔巴群岛和扬马延岛 SJ SJM
Sweden 瑞典 SE SWE
Switzerland 瑞士 CH CHE
Syria 叙利亚 SY SYR
Taiwan 台湾 TW TWN
Tajikistan 塔吉克斯坦 TJ TJK
Tanzania 坦桑尼亚 TZ TZA
Thailand 泰国 TH THA
Timor-Leste 东帝汶 TL TLS
Togo 多哥 TG TGO
Tokelau 托克劳 TK TKL
Tonga 汤加 TO TON
Trinidad & Tobago 特立尼达和多巴哥 TT TTO
Tunisia 突尼斯 TN TUN
Turkey 土耳其 TR TUR
Turkmenistan 土库曼斯坦 TM TKM
Turks & Caicos Islands 特克斯和凯科斯群岛 TC TCA
Tuvalu 图瓦卢 TV TUV
U.S. Outlying Islands 美国离岛 UM UMI
U.S. Virgin Islands 美属维尔京群岛 VI VIR
Uganda 乌干达 UG UGA
Ukraine 乌克兰 UA UKR
United Arab Emirates 阿拉伯联合酋长国 AE ARE
United Kingdom 英国 GB GBR
United States 美国 US USA
Uruguay 乌拉圭 UY URY
Uzbekistan 乌兹别克斯坦 UZ UZB
Vanuatu 瓦努阿图 VU VUT
Vatican City 梵蒂冈城 VA VAT
Venezuela 委内瑞拉 VE VEN
Vietnam 越南 VN VNM
Wallis & Futuna 瓦利斯和富图纳群岛 WF WLF
Western Sahara 西撒哈拉 EH ESH
Yemen 也门 YE YEM
Zambia 赞比亚 ZM ZMB
Zimbabwe 津巴布韦 ZW ZWE

Currency

code name
CNY Chinese Renmenbi
USD United States dollar
GBP Pound sterling
HKD Hong Kong dollar
CHF Swiss franc
SGD Singapore dollar
SEK Swedish krona
DKK Danish krone
NOK Norwegian krone
JPY Japanese yen
CAD Canadian dollar
AUD Australian dollar
EUR Euro
MOP Macao Pataca
PHP Philippine peso
THB Thai baht
NZD New Zealand dollar
KRW South Korean won
RUB Russian ruble
MYR Malaysian ringgit
TWD New Taiwan dollar
INR India rupee
COP Mexican Pesos
BRL Brazilian Reais
MXN Mexican Pesos

FAQ

No faq