Notification Subscription
When the transaction has the final result, through webhook
configuration, the development platform will send a transaction notification to the merchant. When the acceptance is unsuccessful or the sending fails, the transaction will be sent 7 times with a time interval of1m
,5m
,20m
,1h
,12h
,24h.
Notification Template
Headers
Content-Type
application/json
Content Type
X-WSB-CATEGORY
${X-WSB-CATEGORY}
Business identifiers for different notification types
X-WSB-SIGNATURE
${signature}
signature
X-WSB-REQUEST-ID
${requestId}
A unique ID for each request
Card transaction notification
Request Params
orderNo
String
true
Platform order number
merchantOrderNo
String
false
Merchant order number
cardNo
String
false
Bank Card ID
currency
String
true
Currency
amount
BigDecimal
true
Amount
fee
BigDecimal
true
Fee
receivedAmount
BigDecimal
true
Received Amount
receivedCurrency
String
true
Received Currency
type
String
true
Type.
create: Open card;
deposit: Deposit; cancel: Cancel Card;
status
String
true
Status. wait_process: pending;
processing: processing;
success: success;
fail: failure
remark
String
false
Remark
transactionTime
Long
true
Transaction time. Millisecond timestamp
Request Example
Response
Card Authorization Transaction Notification
Request Params
cardNo
String
true
Bank Card ID
tradeNo
String
true
Transaction serial number
originTradeNo
String
false
Origin transaction serial number
currency
String
false
Currency
amount
BigDecimal
false
Amount
authorizedAmount
BigDecimal
true
Authorized amount
authorizedCurrency
String
true
Authorized currency
fee
BigDecimal
true
Authorization fee
feeCurrency
String
false
Authorization fee currency
crossBoardFee
BigDecimal
true
Cross board fee
crossBoardFeeCurrency
String
false
Cross board fee currency
settleAmount
BigDecimal
false
Settlement amount. Pushed after receiving settlement information
settleCurrency
String
false
Settlement currency. Pushed after receiving settlement information
settleDate
Long
false
Settlement date. Millisecond timestamp
merchantName
String
true
Merchant name
type
String
true
type. auth: pre-authorization; correct_auth: pre-authorization correction; correct_refund: refund correction; refund: refund; verification: verification; Void: revocation;
typeStr
String
true
Type remark
status
String
true
Status. authorized: authorized; revoked: revoked; failed: failed; succeed: successful
statusStr
String
true
Status remark
description
String
true
Transaction Description
transactionTime
Long
true
Transaction time. Millisecond timestamp
Response Example
Response
Card Authorization Transaction Reversal Notification
Request Params
cardNo
String
true
Bank No
tradeNo
String
true
Transaction No
originTradeNo
String
true
Origin Trade No , Authorization transaction in progresstradeNo
currency
String
true
Currency
amount
BigDecimal
true
Amount
type
String
true
card_patch_fee: rate correction; card_patch_cross_border: cross-border fee correction; card_patch_settle: settlement reversal;
deductionSourceFunds
String
true
Source of fund deduction。 wallet: wallet
status
String
true
Status success: success;
statusStr
String
true
Status description
transactionTime
Long
true
Transaction time (unit: milliseconds)
Request Example
Response
Card 3ds Transaction Notification
Request Params
cardNo
String
true
Bank Card ID
tradeNo
String
true
Transaction serial num
originTradeNo
String
false
Origin Transaction serial num
currency
String
true
currency
amount
BigDecimal
true
amount
merchantName
String
true
Merchant Name (Transaction Scenario)
values
String
true
value. The merchant's public key is encrypted and returned, and the merchant's private key decrypt.
type
String
true
Type
third_3ds_otp: 3ds otp;
auth_url: Transaction authorization response url
description
String
false
Transaction Description
transactionTime
Long
true
Transaction time. Millisecond timestamp
expirationTime
Long
false
ExpirationTime time. Millisecond timestamp
Request Example
Example Response
Card Holder Transaction Notification
Request Params
holderId
Long
true
Holder ID
merchantOrderNo
String
false
Merchant order number
cardTypeId
Long
true
Card Type ID
String
true
firstName
String
true
firstName
lastName
String
true
lastName
status
String
true
pass_audit: pass reject: reject
respMsg
String
false
remark
Example Response
Last updated