v1
latestOpenAPI 3.0.02026-07-2417129274.8 KBAutomation Endpoints
Partial Refund
Mark a previously submitted order as refunded. This can be a full or partial refund.
This endpoint is used when an order is refunded after submission.
post/api/refund
Headers
x-riskified-shop-domainstring required
Example:merchant.example.com
The merchant shop domain registered with Riskified.
x-riskified-hmac-sha256string required
Example:b1946ac92492d2347c6235b4d2611184
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.
content_type'application/json' required
As payloads are sent to Riskified in JSON format, value should be: application/json
accept'application/vnd.riskified.com; version=2' required
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
Example request
{
"order": {
"id": "ORD-450789469",
"refunds": [
{
"refund_id": "RFND-87654321",
"amount": 50,
"currency": "USD",
"sku": "ITEM-XYZ-SKU",
"refunded_at": "2025-11-20T17:45:00Z",
"reason": "Customer cancelled item due to delay",
"sku_quantity": 1
}
]
}
}Response
Successful operation
Example response
{
"order": {
"id": "53953819"
}
}