{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "TransactionRefundResult", "type": "object", "properties": { "orderId": { "type": "integer", "format": "int64", "description": "ID of the refunded transaction in P24 system" }, "sessionId": { "type": "string", "description": "ID of the refunded transaction in Partner's system" }, "merchantId": { "type": "integer", "description": "Merchant's ID of whose account the refund is performed" }, "requestId": { "type": "string", "description": "ID of refund request provided in transaction/refund" }, "refundsUuid": { "type": "string", "description": "ID of refund request in Partner's system provided in transaction/refund" }, "amount": { "type": "integer", "description": "Refund amount expressed in lowest currency unit, e.g. 1.23 PLN = 123" }, "currency": { "type": "string", "example": "PLN", "description": "Refund currency" }, "timestamp": { "type": "integer", "description": "Time of sending the refund notification provided in UNIX timestamp" }, "status": { "type": "integer", "description": "Status of the executed refund. 0 - completed, 1 - rejected", "enum": [ 0, 1 ] }, "sign": { "type": "string", "description": "
Checksum of parameters:
{\"orderId\":int,\"sessionId\":\"str\",\"refundsUuid\":\"str\",\"merchantId\":int,\"amount\":int,
\"currency\":\"str\",\"status\":int,\"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\"" } } }