{
  "signatureVersion": "v2",
  "purpose": "Protocol conformance only; payload values are not a production payment state",
  "canonicalization": "RFC 8785 JSON Canonicalization Scheme (JCS)",
  "algorithm": "HMAC-SHA256",
  "timestamp": "1723456789123",
  "webhookId": "evt_test_only_webhook_signature_v2_0001",
  "eventType": "payment.received",
  "integrationSecretKey": "test_only_isk_webhook_signature_v2_not_for_production",
  "payload": {
    "event": "payment.received",
    "paymentId": "pay_test_incident_20260801_0001_not_production",
    "referenceId": "ref_test_incident_20260801_0001_not_production",
    "status": "processing",
    "amount": "1250.50",
    "currency": "THB",
    "clientSecret": "cs_test_only_webhook_signature_v2",
    "expiresAt": "2026-08-10T12:34:56.789Z",
    "metadata": {
      "orderedArray": [
        {
          "position": 1,
          "value": "first"
        },
        {
          "position": 2,
          "value": "second"
        }
      ],
      "unicode": "ทดสอบ 😀 €",
      "escaping": "line one\nline two\t\"quoted\" \\backslash \u0001",
      "nullValue": null,
      "trueValue": true,
      "falseValue": false,
      "zero": 0,
      "negativeZeroPolicy": "Numeric -0 is rejected by webhook signature v2",
      "number333333333_33333329": 333333333.33333329,
      "number1e30": 1e30,
      "number4_50": 4.5,
      "number2e_3": 2e-3,
      "number1e_27": 1e-27
    }
  },
  "canonicalPayload": "{\"amount\":\"1250.50\",\"clientSecret\":\"cs_test_only_webhook_signature_v2\",\"currency\":\"THB\",\"event\":\"payment.received\",\"expiresAt\":\"2026-08-10T12:34:56.789Z\",\"metadata\":{\"escaping\":\"line one\\nline two\\t\\\"quoted\\\" \\\\backslash \\u0001\",\"falseValue\":false,\"negativeZeroPolicy\":\"Numeric -0 is rejected by webhook signature v2\",\"nullValue\":null,\"number1e30\":1e+30,\"number1e_27\":1e-27,\"number2e_3\":0.002,\"number333333333_33333329\":333333333.3333333,\"number4_50\":4.5,\"orderedArray\":[{\"position\":1,\"value\":\"first\"},{\"position\":2,\"value\":\"second\"}],\"trueValue\":true,\"unicode\":\"ทดสอบ 😀 €\",\"zero\":0},\"paymentId\":\"pay_test_incident_20260801_0001_not_production\",\"referenceId\":\"ref_test_incident_20260801_0001_not_production\",\"status\":\"processing\"}",
  "signatureInput": "webhook.signature.v2\n1723456789123\nevt_test_only_webhook_signature_v2_0001\npayment.received\n{\"amount\":\"1250.50\",\"clientSecret\":\"cs_test_only_webhook_signature_v2\",\"currency\":\"THB\",\"event\":\"payment.received\",\"expiresAt\":\"2026-08-10T12:34:56.789Z\",\"metadata\":{\"escaping\":\"line one\\nline two\\t\\\"quoted\\\" \\\\backslash \\u0001\",\"falseValue\":false,\"negativeZeroPolicy\":\"Numeric -0 is rejected by webhook signature v2\",\"nullValue\":null,\"number1e30\":1e+30,\"number1e_27\":1e-27,\"number2e_3\":0.002,\"number333333333_33333329\":333333333.3333333,\"number4_50\":4.5,\"orderedArray\":[{\"position\":1,\"value\":\"first\"},{\"position\":2,\"value\":\"second\"}],\"trueValue\":true,\"unicode\":\"ทดสอบ 😀 €\",\"zero\":0},\"paymentId\":\"pay_test_incident_20260801_0001_not_production\",\"referenceId\":\"ref_test_incident_20260801_0001_not_production\",\"status\":\"processing\"}",
  "expectedSignature": "sha256=78136606dedf3d94cfea1c36d71b2d087597cf6aaaaf48ff795d940a3f8bdc61"
}
