v1
latestOpenAPI 3.0.02026-07-2417129274.8 KBCancellation
Mark a previously submitted order as cancelled. If the order has not yet been reviewed, it is excluded from future review. If the order has already been reviewed and approved, canceling it will also trigger a full refund on any associated charges.
This endpoint is used when an order is fully cancelled after submission.
Headers
The merchant shop domain registered with Riskified.
Verification hash for the Request. Generated by performing an SHA256 encryption on the request's POST body and calculating the HMAC hash of the result using your Riskified authentication token. Please use UTF8 encoding.
As payloads are sent to Riskified in JSON format, value should be: application/json
Specify the version of the API to target. For example, to target the latest version of the API, use the following: application/vnd.riskified.com; version=2
Request body
Response
Successful operation
Example response
{
"order": {
"id": "53953819"
}
}