cancel_payment
Cancel a pending payment when the payment result is not returned in a timely manner, provided the request is within the cancellable period.
Instructions
The tool is used to cancel the payment if the payment result is not returned after a long time. The cancellation cannot be performed if being out of the cancellable period specified in the contract.
Args:
payment_request_id: The unique ID that is assigned by a merchant to identify a payment request.Maximum length: 64 characters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |