Cancel Settlement
PUT/v1/settlements/:settlementId
Click on Send API Request after entering the required data, to see how to cancel a Settlement. You must include the status parameter set to CANCELLED.
Note: You can cancel a Settlement only if the payment type is CARD and the status is PENDING.
Request
Path Parameters
This is the ID returned in the response of the Process Payment 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 Settlement
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.301Z",
"status": "CANCELLED"
}
{
"id": "ea49ab6c-cf9b-4efd-bde8-2fa3bb5ccd85",
"txnTime": "2018-12-11T16:33:49Z",
"status": "CANCELLED"
}