param is a JSON-serialized string. The table below describes its decoded logical fields.| parameter name | required | type | description |
|---|---|---|---|
| eventName | Yes | string | event name( qrcode.payment.success , qrcode.payment.failed ) |
| mchOrderId | Yes | string | merchant order ID, alphanumeric, max length 32 |
| transactionId | Yes | string | PayCools transaction ID |
| amount | Yes | integer | amount |
| transactionStatus | Yes | string | transaction status( PENDING , COMPLETED , FAILED ) |
| createTime | Yes | string | payment create time |
| returnTime | Yes | string | payment finish time |
| channelCode | Yes | string | channel code, refer to QR Channel List |
| remark | Yes | string | remark |
| failedCode | No | integer | failed code |
| failedMessage | No | string | failed message |