Cancel Refund
PUT/v1/refunds/:refundId
Click on Send API Request after entering the required data, to cancel a Refund. You must include the status parameter set to CANCELLED.
Note: You can cancel a Refund only if the payment type is CARD and the status is PENDING.
Request
Path Parameters
This is the ID returned in the response to the Refund request
Header Parameters
Possible values: [application/json
]
Possible values: [EXTERNAL
, INTERNAL
]
Default value: EXTERNAL
- application/json
Body
Possible values: [CANCELLED
]
This is the status of the cancel request.
Responses
- 200
OK
Response Headers
Content-Type
string
- application/json
- Schema
- Example (from schema)
- Cancel a Refund
Schema
This is the ID returned in the response. This ID can be used for future associated requests, for example, to look up the Payment.
This is the date and time the transaction was processed.
Possible values: [CANCELLED
]
This is the status of the cancel request.
{
"id": "string",
"txnTime": "2024-11-12T16:34:36.324Z",
"status": "CANCELLED"
}
{
"id": "c7ef07b2-0069-4f58-b9e2-0f4cdbc6c725",
"txnTime": "2018-12-10T11:19:51Z",
"status": "CANCELLED"
}