POST /wallets/transactions/{wallet_id}/cancel

Cancel a specified transaction

Wallet Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Transaction ID

Request Body

Schema: dto.CancelTransactionRequest

FieldTypeRequiredExampleConstraintsDescription
reason string No Duplicate order Reason

Responses

Referenced Schemas

dto.CancelTransactionDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.CancelTransactionResult No
message string No
timestamp string No

dto.CancelTransactionResult

FieldTypeRequiredExampleConstraintsDescription
cancelled boolean No Whether cancellation succeeded
refund_amount string No 100.00 Refund amount

gitee_com_autional_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No