Notificação de retorno de chamada

aviso de retorno de chamada de cashin

fieldexplain
statusOrder status (CREATED pedido gerado, PENDING pagamento em andamento, PAID pagamento bem sucedido, FAILED transação falhou, EXPIRED transação expirada, REFUNDED transação retornada, EXCEPTION transação anormal)
orderNoTransaction Order Number
merOrderNomerchant order number
amountOrder Amount
paidAmountOrder Paid Amount
tradeChargeTransaction Fees, This value is invalid until the transaction is completed
paramsPayment Information
currencyCódigo da moeda
payMethodMétodo de pagamento
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
}

aviso de retorno de chamada de cashout

fieldexplain
statusOrder status (CREATED pedido gerado, PENDING pagamento em andamento, PAID pagamento bem sucedido, FAILED transação falhou, EXPIRED transação expirada, REFUNDED transação retornada, EXCEPTION transação anormal)
orderNoTransaction Order Number
merOrderNomerchant order number
amountOrder Amount
tradeChargeTransaction Fees, This value is invalid until the transaction is completed
currencyCódigo da moeda
payMethodMétodo de pagamento
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"
}