{
  "trace_id": "trc_demo_fbd544d401fa_large_4",
  "generated_at": "2026-11-16T08:32:05.040Z",
  "mandate": {
    "id": "mnd_demo_fbd544d401fa",
    "key_id": "praman_demo_k1",
    "signature_verified": true,
    "signature_check": "recomputed",
    "signed_sha256": "79b7f98abaf0c0a153650b41f6406586e0df4964fa9ca9eac413715a936b9ed0"
  },
  "authorisation": {
    "decision": "ALLOW",
    "reason_code": "OK",
    "amount_minor": "3200",
    "currency": "USD",
    "evaluated_at": "2026-11-10T16:03:47.934Z"
  },
  "agent": {
    "model_id": "google/gemini-3.1-flash-lite",
    "goal": "Buy one Team Lunch Tray for our team meeting.",
    "rationale": "The goal is to buy one Team Lunch Tray for the team meeting. SKU_CAFE_TRAY matches this requirement.",
    "tool_calls": [
      {
        "name": "list_catalog",
        "input": {
          "category": "food"
        },
        "result": "sku=SKU_CAFE_BOWL category=food price_minor=1250 currency=USD in_stock=true\n<untrusted_merchant_content>\nVeggie Burrito Bowl\nRice, black beans, roasted peppers, salsa\n</untrusted_merchant_content>\n\nsku=SKU_CAFE_SALAD category=food price_minor=850 currency=USD in_stock=true\n<untrusted_merchant_content>\nGarden Salad\nMixed greens, cucumber, vinaigrette\n</untrusted_merchant_content>\n\nsku=SKU_CAFE_TRAY category=food price_minor=3200 currency=USD in_stock=true\n<untrusted_merchant_content>\nTeam Lunch Tray\nSandwiches and salads for six\n</untrusted_merchant_content>"
      },
      {
        "name": "propose_intent",
        "input": {
          "rationale": "The goal is to buy one Team Lunch Tray for the team meeting. SKU_CAFE_TRAY matches this requirement.",
          "line_items": [
            {
              "qty": 1,
              "sku": "SKU_CAFE_TRAY"
            }
          ],
          "merchant_id": "DEMO_CAFE"
        },
        "result": null
      }
    ]
  },
  "merchant_content_read": [
    {
      "sku": "SKU_CAFE_BOWL",
      "text": "Veggie Burrito Bowl\nRice, black beans, roasted peppers, salsa",
      "marked_untrusted": true
    },
    {
      "sku": "SKU_CAFE_SALAD",
      "text": "Garden Salad\nMixed greens, cucumber, vinaigrette",
      "marked_untrusted": true
    },
    {
      "sku": "SKU_CAFE_TRAY",
      "text": "Team Lunch Tray\nSandwiches and salads for six",
      "marked_untrusted": true
    }
  ],
  "execution": {
    "order_id": "8HB36076GT1283539",
    "status": "captured",
    "idempotency_key": "9a19c96cb318456d27082c7e2822db1db3cfd57c2396e9f17ab153a1635cb953",
    "rail": "paypal",
    "failed": false,
    "failure_code": null,
    "rail_reported": null,
    "paid_by": "buyer_checkout"
  },
  "approval": {
    "verdict": "approve",
    "by": "person"
  },
  "refund": null,
  "chain": {
    "entries": [
      {
        "seq": "334",
        "ts": "2026-11-10T16:03:47.934Z",
        "actor": "agent",
        "event_type": "intent",
        "payload": {
          "model_id": "google/gemini-3.1-flash-lite",
          "intent_id": "demo_fbd544d401fa_large_4",
          "line_items": [
            {
              "qty": 1,
              "sku": "SKU_CAFE_TRAY"
            }
          ],
          "mandate_id": "mnd_demo_fbd544d401fa",
          "merchant_id": "DEMO_CAFE",
          "requested_at": "2026-11-10T16:03:47.934Z",
          "agent_rationale": "The goal is to buy one Team Lunch Tray for the team meeting. SKU_CAFE_TRAY matches this requirement.",
          "idempotency_key": "9a19c96cb318456d27082c7e2822db1db3cfd57c2396e9f17ab153a1635cb953"
        },
        "payload_hash": "f269ac013b822bf6bf99b23fa6ab566735e79ce6edd2ca05be096edac28dc356",
        "prev_hash": "2175b41fdf0c0644590b87d011fd86e1a7bec90289c585bd66d82ba9e2040915",
        "entry_hash": "07b31d69829ed868fdaf8a59d137011f88069f6d8e3c6036a326d68f9f996a46",
        "withheld_fields": [
          "public_key_pem",
          "signed_mandate"
        ]
      },
      {
        "seq": "335",
        "ts": "2026-11-10T16:03:47.934Z",
        "actor": "praman",
        "event_type": "decision",
        "payload": {
          "kind": "STEP_UP",
          "currency": "USD",
          "mandate_id": "mnd_demo_fbd544d401fa",
          "amount_minor": "3200"
        },
        "payload_hash": "18db9963ed9e28622c1d7ffd9680d6783aac9cfe8e4aa6039c877669ad64904f",
        "prev_hash": "07b31d69829ed868fdaf8a59d137011f88069f6d8e3c6036a326d68f9f996a46",
        "entry_hash": "97112621a3ae1cf843d029e76b3464ba41cfdfe4b4012435a0c7d59c53ef32e5",
        "withheld_fields": [
          "reason_code",
          "redaction_salt"
        ]
      },
      {
        "seq": "336",
        "ts": "2026-11-10T16:03:47.993Z",
        "actor": "agent",
        "event_type": "agent_transcript",
        "payload": {
          "transcript": [
            {
              "role": "user",
              "text": "Merchant: DEMO_CAFE\nGoal: Buy one Team Lunch Tray for our team meeting."
            },
            {
              "role": "assistant",
              "text": "",
              "calls": [
                {
                  "id": "call_2129376345678299042",
                  "name": "list_catalog",
                  "input": {
                    "category": "food"
                  }
                }
              ]
            },
            {
              "role": "tool_results",
              "results": [
                {
                  "id": "call_2129376345678299042",
                  "name": "list_catalog",
                  "content": "sku=SKU_CAFE_BOWL category=food price_minor=1250 currency=USD in_stock=true\n<untrusted_merchant_content>\nVeggie Burrito Bowl\nRice, black beans, roasted peppers, salsa\n</untrusted_merchant_content>\n\nsku=SKU_CAFE_SALAD category=food price_minor=850 currency=USD in_stock=true\n<untrusted_merchant_content>\nGarden Salad\nMixed greens, cucumber, vinaigrette\n</untrusted_merchant_content>\n\nsku=SKU_CAFE_TRAY category=food price_minor=3200 currency=USD in_stock=true\n<untrusted_merchant_content>\nTeam Lunch Tray\nSandwiches and salads for six\n</untrusted_merchant_content>"
                }
              ]
            },
            {
              "role": "assistant",
              "text": "",
              "calls": [
                {
                  "id": "call_205508425793487495",
                  "name": "propose_intent",
                  "input": {
                    "rationale": "The goal is to buy one Team Lunch Tray for the team meeting. SKU_CAFE_TRAY matches this requirement.",
                    "line_items": [
                      {
                        "qty": 1,
                        "sku": "SKU_CAFE_TRAY"
                      }
                    ],
                    "merchant_id": "DEMO_CAFE"
                  }
                }
              ]
            }
          ],
          "evidence_only": true,
          "prompt_provenance": {
            "no_delimiter": false,
            "no_prompt_defence": false,
            "system_prompt_sha256": "853dd13701957c2ca098eab7d5b8aa38a5622901272978fac7db9d3664007fbd"
          }
        },
        "payload_hash": "b87f1dc7587e104a870e1cd2bd004e50b0ad88ed0291339712254f548b39cb53",
        "prev_hash": "97112621a3ae1cf843d029e76b3464ba41cfdfe4b4012435a0c7d59c53ef32e5",
        "entry_hash": "fc6c6218f0be73a39279b53d15b0a413b57c4f5e965b8a379386bbb003e8ea6a",
        "withheld_fields": []
      },
      {
        "seq": "337",
        "ts": "2026-11-10T16:04:55.245Z",
        "actor": "issuer",
        "event_type": "step_up_resolved",
        "payload": {
          "verdict": "approve",
          "mandate_id": "mnd_demo_fbd544d401fa",
          "approval_id": "apr_e141786a-b6b1-47a3-894e-0c49433fdf7b",
          "revalidated_kind": "STEP_UP"
        },
        "payload_hash": "6041fbdf3cff38acf58b862cbf530f0efb65e78cab322a0d55a5040b3ee4d844",
        "prev_hash": "fc6c6218f0be73a39279b53d15b0a413b57c4f5e965b8a379386bbb003e8ea6a",
        "entry_hash": "ea82957b03461a892b70aa4f431becdd0ecb6341119d6686f653978e5e896f4d",
        "withheld_fields": [
          "redaction_salt",
          "revalidated_reason"
        ]
      },
      {
        "seq": "338",
        "ts": "2026-11-10T16:04:55.245Z",
        "actor": "praman",
        "event_type": "api_call",
        "payload": {
          "rail": "paypal",
          "status": "attempted",
          "receipt": "9a19c96cb318456d27082c7e2822db1db3cfd57c",
          "currency": "USD",
          "operation": "orders.create",
          "mandate_id": "mnd_demo_fbd544d401fa",
          "merchant_id": "DEMO_CAFE",
          "amount_minor": "3200",
          "idempotency_key": "9a19c96cb318456d27082c7e2822db1db3cfd57c2396e9f17ab153a1635cb953"
        },
        "payload_hash": "e6faf8d1db41e07e384cdedeb6173aa85b975090b0657f0c5d68f1f8616704f1",
        "prev_hash": "ea82957b03461a892b70aa4f431becdd0ecb6341119d6686f653978e5e896f4d",
        "entry_hash": "0223fc0a412802856d12a5a849c9d2b1df42e6ace2c58c6e0776466e48202fe6",
        "withheld_fields": []
      },
      {
        "seq": "339",
        "ts": "2026-11-10T16:04:55.245Z",
        "actor": "praman",
        "event_type": "outcome",
        "payload": {
          "rail": "paypal",
          "status": "created",
          "currency": "USD",
          "order_id": "8HB36076GT1283539",
          "mandate_id": "mnd_demo_fbd544d401fa",
          "payment_id": null,
          "merchant_id": "DEMO_CAFE",
          "amount_minor": "3200",
          "failure_code": null,
          "idempotency_key": "9a19c96cb318456d27082c7e2822db1db3cfd57c2396e9f17ab153a1635cb953"
        },
        "payload_hash": "acab95979bc0028027086250237e9233fd62d32184d45848ff11bdc84dace16e",
        "prev_hash": "0223fc0a412802856d12a5a849c9d2b1df42e6ace2c58c6e0776466e48202fe6",
        "entry_hash": "baffc3ef66323cf7b7ba9cd40773ccf08a349980703de8fde456951bac655cdd",
        "withheld_fields": []
      },
      {
        "seq": "340",
        "ts": "2026-11-10T16:05:39.113Z",
        "actor": "praman",
        "event_type": "capture_decision",
        "payload": {
          "kind": "ALLOW_CAPTURE",
          "currency": "USD",
          "order_id": "8HB36076GT1283539",
          "mandate_id": "mnd_demo_fbd544d401fa",
          "merchant_id": "DEMO_CAFE",
          "reason_code": "OK",
          "amount_minor": "3200",
          "idempotency_key": "9a19c96cb318456d27082c7e2822db1db3cfd57c2396e9f17ab153a1635cb953"
        },
        "payload_hash": "f71ad4a06dc51766adaec581a9b22c13e31bc0e8588a936e95adab74fa104e47",
        "prev_hash": "baffc3ef66323cf7b7ba9cd40773ccf08a349980703de8fde456951bac655cdd",
        "entry_hash": "a63509a2c6c899caef620af849ac04ff3ab4f17ff4dcb0c790d65e124ecbd37d",
        "withheld_fields": []
      },
      {
        "seq": "341",
        "ts": "2026-11-10T16:05:39.113Z",
        "actor": "praman",
        "event_type": "api_call",
        "payload": {
          "rail": "paypal",
          "status": "attempted",
          "currency": "USD",
          "order_id": "8HB36076GT1283539",
          "operation": "orders.capture",
          "mandate_id": "mnd_demo_fbd544d401fa",
          "capture_key": "79657f87670b4f17f902eb3baa658d30b34826970de94c7a49da0666edcec980",
          "merchant_id": "DEMO_CAFE",
          "amount_minor": "3200",
          "idempotency_key": "9a19c96cb318456d27082c7e2822db1db3cfd57c2396e9f17ab153a1635cb953"
        },
        "payload_hash": "2a6a6b011140a10ee936498890d095e841e5a19eaa1c63d1b40296643ff942d1",
        "prev_hash": "a63509a2c6c899caef620af849ac04ff3ab4f17ff4dcb0c790d65e124ecbd37d",
        "entry_hash": "cfa5af5b90bc6dc8ae0ffe7c6802b9f115b1f4902c4eec1f6fd964f86af9291d",
        "withheld_fields": []
      },
      {
        "seq": "342",
        "ts": "2026-11-10T16:05:39.113Z",
        "actor": "praman",
        "event_type": "outcome",
        "payload": {
          "rail": "paypal",
          "status": "captured",
          "currency": "USD",
          "order_id": "8HB36076GT1283539",
          "mandate_id": "mnd_demo_fbd544d401fa",
          "payment_id": "9LD36565JD839381G",
          "capture_key": "79657f87670b4f17f902eb3baa658d30b34826970de94c7a49da0666edcec980",
          "merchant_id": "DEMO_CAFE",
          "amount_minor": "3200",
          "failure_code": null,
          "idempotency_key": "9a19c96cb318456d27082c7e2822db1db3cfd57c2396e9f17ab153a1635cb953"
        },
        "payload_hash": "45678d262497a0510a7326b00ac1c96786694b7074b9e73810fe3cda9edfd1fa",
        "prev_hash": "cfa5af5b90bc6dc8ae0ffe7c6802b9f115b1f4902c4eec1f6fd964f86af9291d",
        "entry_hash": "eefa42cbc463a0818375e69a4a38e1b005f929cf437452ec3cd819a13e3228dc",
        "withheld_fields": []
      },
      {
        "seq": "398",
        "ts": "2026-11-10T16:05:58.908Z",
        "actor": "webhook",
        "event_type": "settlement",
        "payload": {
          "rail": "paypal",
          "status": "captured",
          "currency": "USD",
          "event_id": "WH-0WP26142VR322460A-7GR510832F438582Y",
          "order_id": "8HB36076GT1283539",
          "event_type": "PAYMENT.CAPTURE.COMPLETED",
          "mandate_id": "mnd_demo_fbd544d401fa",
          "payment_id": "9LD36565JD839381G",
          "merchant_id": "DEMO_CAFE",
          "amount_minor": "3200",
          "idempotency_key": "9a19c96cb318456d27082c7e2822db1db3cfd57c2396e9f17ab153a1635cb953"
        },
        "payload_hash": "e6a5ba8a6ded6cb7300fabb3ecef35a640a9ce9194db6a9e61772f88d8585125",
        "prev_hash": "5708688669cc21c8623a53c731884fdb49c8372460dcde1b8986038ebcbd3354",
        "entry_hash": "dc5a323365839f221c5b3d08682b1ae647fd4ba7b6a6564302dfab926bbf5526",
        "withheld_fields": []
      }
    ],
    "global_chain_ok": true,
    "checked_through_seq": "439",
    "head": "5c91d6ba54e5bd0e6a0204268b8d5fb660855d10771101429ea5d2d6e0262e18",
    "trace_fully_verified": true
  }
}