Callback Notification

payment callback notice

fieldexplain
statusOrder status (CREATED order generated, PENDING payment in progress, PAID payment successful, FAILED transaction failed, EXPIRED transaction expired, REFUNDED transaction returned, EXCEPTION transaction abnormal)
orderNoTransaction Order Number
merOrderNomerchant order number
amountOrder Amount
paidAmountOrder Paid Amount
tradeChargeTransaction Fees, This value is invalid until the transaction is completed
paramsPayment Information
currencyAmount expected
payMethodPayment method
attachAdditional information (Additional information of merchant, returned as is)
createTimecreate time
updateTimeLast update
messageDescription (This field is returned for exception description when the order is abnormal)

The notification callback format is as follows

{
  "amount":100,
  "paidAmount":100,
  "tradeCharge": 5,
  "params":{
    "clabe":"123456789012345678",
    "url":"https://h5.starpago.com/payment/94230311013500999186060015"
  },
  "status":"PAID",
  "orderNo":"94230311013500999186060015",
  "currency":"MXN",
  "payMethod": "xxx",
  "createTime":1678498652499,
  "merOrderNo":"orderxxx",
  "updateTime":1678498652719
}

payout callback notice

fieldexplain
statusOrder status (CREATED order generated, PENDING payment in progress, PAID payment successful, FAILED transaction failed, EXPIRED transaction expired, REFUNDED transaction returned, EXCEPTION transaction abnormal)
orderNoTransaction Order Number
merOrderNomerchant order number
amountOrder Amount
tradeChargeTransaction Fees, This value is invalid until the transaction is completed
currencyAmount expected
payMethodPayment method
attachAdditional information (Additional information of merchant, returned as is)
createTimecreate time
updateTimeLast update
messageDescription (This field is returned for exception description when the order is abnormal)

The notification callback format is as follows

{
  "amount": 10,
  "tradeCharge": 5,
  "attach": "betcatpayout",
  "orderNo": "20220915100750727264644701",
  "currency": "MXN",
  "payMethod": "xxx",
  "createTime": 1663236470727,
  "merOrderNo": "20220915170750DF066059",
  "updateTime": 1663236477922,
  "status": "PAID"
}