v1

latestOpenAPI 3.0.02026-07-2417129274.8 KB
Returns

Create a Claim

The /claim_create endpoint is used to request that Riskified analyze a claim for abuse after the customer has submitted details on the claim. Riskified's decision is returned synchronously in the response to the /claim_create request.

post/claim_create

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

Response

Success

OR
OR
OR
OR

Example response

{
  "claim": {
    "id": "53953819",
    "decision": "approve",
    "decision_reason": "approved in accordance to policy",
    "followed_action": "none"
  },
  "warnings": []
}