Notificação de retorno de chamada
aviso de retorno de chamada de cashin
| field | explain |
|---|---|
| status | Order 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) |
| orderNo | Transaction Order Number |
| merOrderNo | merchant order number |
| amount | Order Amount |
| paidAmount | Order Paid Amount |
| tradeCharge | Transaction Fees, This value is invalid until the transaction is completed |
| params | Payment Information |
| currency | Código da moeda |
| payMethod | Método de pagamento |
| attach | Additional information (Additional information of merchant, returned as is) |
| createTime | create time |
| updateTime | Last update |
| message | Description (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
| field | explain |
|---|---|
| status | Order 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) |
| orderNo | Transaction Order Number |
| merOrderNo | merchant order number |
| amount | Order Amount |
| tradeCharge | Transaction Fees, This value is invalid until the transaction is completed |
| currency | Código da moeda |
| payMethod | Método de pagamento |
| attach | Additional information (Additional information of merchant, returned as is) |
| createTime | create time |
| updateTime | Last update |
| message | Description (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"
}
