Merchant Decision
Changed onUpdate the existing order external status. The /decision endpoint should be used in the following scenarios:
-
To confirm to Riskified that authorization was successful (common scenario)
-
To update Riskified about the final status of the order (specific use cases)
Let us know what was your decision on your order.
Request
- Base URLhttps://sandbox.riskified.com
- URLhttps://sandbox.riskified.com/api/decision
- Authnone declared. Required headers: x-riskified-shop-domain, x-riskified-hmac-sha256, Content-Type, accept
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
Example request
{
"order": {
"id": "450789469",
"gateway": "Adyen_3ds",
"decision": {
"external_status": "approved",
"decided_at": "2025-11-20T17:15:00Z",
"reason": "Approved by automated risk system",
"amount": 400,
"currency": "USD",
"notes": "Order passed all checks."
},
"payment_details": [
{
"payment_type": "card",
"id": "pmt_01",
"credit_card_bin": "482932",
"credit_card_number": "9876",
"credit_card_company": "Visa",
"authorization_id": "AUTH_SUCCESS_8765",
"avs_result_code": "Y",
"cvv_result_code": "M",
"initial_payment_amount": 400,
"payment_frequency": 1,
"acquirer_region": "NONEU",
"mid": "AD_MID_7890",
"expiry_month": 12,
"expiry_year": 2028,
"authentication_result": {
"eci": "05",
"liability_shift": true,
"created_at": "2025-11-20T17:14:00Z"
}
}
]
}
}Response
Successful operation
Example response
{
"order": {
"id": "53953819"
}
}Changes
- breaking
added the new required
headerrequest parameterContent-Type - breaking
added the new required request property
/ - warning
deleted the
headerrequest parametercontent_type - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
api tag
Pre-Authorization Flowadded - info
api tag
Automation Endpointsremoved - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking