POST /wallets/transactions/{id}/cancel
取消指定交易
钱包服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
交易ID |
Referenced Schemas
dto.CancelTransactionDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.CancelTransactionResult |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.CancelTransactionResult
| Field | Type | Required | Example | Constraints | Description |
cancelled |
boolean |
No |
|
|
是否取消成功 |
refund_amount |
string |
No |
100.00 |
|
退款金额 |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|