post
https://{merchant-callback-host}/webhook/transaction
事件类型标识:transaction.authorized / declined / refunded / reversed / settled。
前置条件
卡交易结果已产生并落库。
data 字段定义
| 字段 | 字段含义 |
|---|---|
| txId | 交易记录 ID |
| transactionNo | 流水号 |
| cardId | 卡 ID |
| cardNoLast4 / cardMask | 卡号展示 |
| type / transType | 交易类型 |
| amount / currency | 金额与币种 |
| merchantName / mcc | 商户与 MCC |
| status | APPROVED(通过)/ DECLINED(拒绝)/ SETTLED(已清算)等 |
| authCode | 授权码 |
| declineReason | 拒绝原因 |
| fee / loadedBalance | 手续费与卡余额 |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200商户应返回 HTTP 2xx 表示已接收
