transactionId and couponId are provided, transactionId takes precedence.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Navigate to a transaction or coupon detail page.
transactionId and couponId are provided, transactionId takes precedence.
| Property | Type | Required | Description |
|---|---|---|---|
| transactionId | String | No | Transaction identifier |
| couponId | String | No | Coupon identifier |
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| Property | Type | Description |
|---|---|---|
| success | Boolean | Query success status |
| resultCode | String | 0 success · 1000 invalid params · 1001 network error · 1002 internal error |
| resultMessage | String | Human-readable status message |
my.call('transDetail', {
transactionId: 'TXN_001',
success: (res) => {
my.alert({ content: 'success: ' + JSON.stringify(res) });
},
fail: (error) => {
my.alert({ content: 'error: ' + JSON.stringify(error) });
}
});