Refund
Full refund of the transaction
Partial refund is not available.
Request
Header
Item
Mandatory
Data Type
Sample
Description
Method
YES
String(5)
00000
Fill in 00000 (indefinite payment method)
ServiceType
YES
String(32)
Refund
Selected Scan2Pay Service type
MchId
YES
String(32)
Account0001
Merchant ID provided by intella
TradeKey
YES
String(128)
sha256...hash
Marchant password provided by intella, this password must be encoded by SHA256
CreateTime
YES
String(14)
20180101120000
Request time, the format is "yyyyMMddHHmmss"
Data
Item
Mandatory
Data Type
Sample
Description
StoreRefundNo
YES
String(20)
RF180101001
Refund number, composition shall be an alphanumeric string and no more than 20 characters
StoreOrderNo
YES
String(20)
PO180101001
Original order number
DeviceInfo
YES
String(32)
skb0001
Terminal number is fixed as skb0001
StoreInfo
NO
String(16)
00001
Store ID
Cashier
NO
String(8)
王小明
Cashier
RefundKey
YES
String(32)
sha256...hash
Marchant password provided by intella, this password must be encoded by SHA256
RefundFee
YES
Integer
100
To match the amount of original order, partial refund is not available
RefundedMsg
YES
String
Product Malfunction
Description of purchase refund
Response
Header
Item
Data Type
Sample
Description
StatusCode
String(4)
0000
StatusDesc
String
Success
Description of transaction status
Method
String(5)
10100
Payment method code
ServiceType
String
Refund
Selected Scan2Pay Service type
MchId
String
Account0001
Merchant ID
ResponseTime
String
20180101120000
Transaction response time, the format is "yyyyMMddHHmmss"
Data
Item
Data Type
Sample
Description
SysRefundNo
String(64)
2018010112000005610
System refund number
StoreRefundNo
String(20)
RF180101001
Store refund number
StoreOrderNo
String(20)
PO180101001
Store order number
API Example
Request
Response
Last updated
Was this helpful?