{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "bliknotification",
"properties": {
"data": {
"properties": {
"orderId": {
"type": "integer",
"format": "int64",
"description": "Order ID"
},
"sessionId": {
"type": "string",
"description": "Merchant session ID"
},
"method": {
"type": "integer",
"description": "Payment Method ID"
},
"result": {
"description": "Array of values",
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Error code - 0 for success"
},
"message": {
"type": "string",
"description": "Error message"
},
"status": {
"type": "string",
"description": "Transaction status"
},
"trxRef": {
"type": "string",
"description": "BLIK transaction reference number"
}
}
},
"sign": {
"type": "string",
"description": "
Checksum of parameters:
{\"orderId\":int, \"sessionId\":\"string\", \"method\":int, \"result\":array, \"crc\":\"string\"}
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\""
}
}
}
}
}