SIGN_KEY-based signature to timestamp-based HMAC-SHA256 verification using the API Key.| Header | Description |
|---|---|
company_id | Merchant ID. |
X-Vcc-Date | Unix timestamp in seconds when the signature was generated. |
X-Vcc-Signature | Signature header in the format t={timestamp},v1={signature}. The timestamp t must match X-Vcc-Date. |
expected = hexLower(HMAC-SHA256(apiKey, t + "." + body))apiKey is the original API Key for the applicable environment, t is the Unix timestamp in seconds, and body is the original request body exactly as received.X-Vcc-Date as a numeric Unix timestamp in seconds. Reject missing values, non-numeric values, millisecond timestamps, and ISO-8601 timestamps.t and v1 from X-Vcc-Signature. Validate t and ensure its numeric value exactly matches X-Vcc-Date.expected = hexLower(HMAC-SHA256(apiKey, t + "." + body)) using the original request body.v1 using a constant-time comparison. Accept the signature only if the values match.