{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "CardNotificationExtN", "properties": { "amount": { "type": "integer", "description": "Transaction amount" }, "3ds": { "type": "boolean", "description": "Was 3D-Secure performed during payment?" }, "method": { "type": "integer", "description": "Payment method ID" }, "orderId": { "type": "integer", "format": "int64", "description": "Transaction number assigned by P24 for oneclick sampling" }, "sessionId": { "type": "string", "description": "Unique identifier from merchant's system" }, "errorCode": { "type": "string", "description": "Error code" }, "errorMessage": { "type": "string", "description": "Error description" }, "sign": { "type": "string", "description": "
Before calculating the sign value, it is necessary to convert the alphanumeric characters to diacritics.

Checksum of parameters:
{\"amount\":int,\"3ds\":boolean,\"method\":int,\"orderId\":int,\"sessionId\":\"str\",
\"errorCode\":\"str\",\"errorMessage\":\"str\",\"crc\":\"str\"}

Calculated with the use of SHA384

IMPORTANT!:
in case json_encode function is used, the following attributes should be added
\"JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES\"" } } }