{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/riskified/main/json-schema/riskified-decide-response-approve-schema.json",
  "title": "decide_response_approve",
  "description": "Approved Decide Response",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/riskified-chargeback-guarantee-post-auth-openapi.yml#/components/schemas/decide_response_approve",
  "type": "object",
  "properties": {
    "order": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique ID of order being acted upon. \n\n Note: This value should be later reflected also as order.id on the subsequent calls"
        },
        "status": {
          "type": "string",
          "enum": [
            "approved"
          ],
          "description": "Textual status describing the result of Riskified analysis. \n\n Always 'approve' for approved orders. Order is approved and guaranteed by Riskified"
        },
        "description": {
          "type": "string",
          "description": "Additional context on Riskified decision."
        },
        "old_status": {
          "type": "string",
          "description": "Old order status"
        },
        "category": {
          "type": "string",
          "description": "For ACH flows only, if applicable. Indication of instant fulfillment.",
          "enum": [
            "Strong approve"
          ]
        }
      },
      "required": [
        "id",
        "status",
        "description",
        "old_status"
      ]
    }
  }
}