{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Zdarzenie: transaction_blik_level0:code_status_changed","description":"Znajdziesz tutaj wszystkie niezbędne informacje dotyczące integracji i obsługi systemu płatności SimPay.pl","siteUrl":"https://docs.simpay.pl","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"zdarzenie-transaction_blik_level0code_status_changed","__idx":0},"children":["Zdarzenie: transaction_blik_level0:code_status_changed"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Zdarzenie ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction_blik_level0:code_status_changed"]}," służy do monitorowania stanu samego 6-cyfrowego kodu BLIK. Jest"," ","to szczególnie przydatne, gdy chcesz na żywo aktualizować interfejs użytkownika w swoim sklepie (np. wyświetlić"," ","odpowiedni komunikat: w momencie, gdy status kod zostanie zmieniony)."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"kiedy-wysyłany-jest-ten-event","__idx":1},"children":["Kiedy wysyłany jest ten event?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Powiadomienie to jest wysyłane ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["wyłącznie"]}," przy transakcjach inicjowanych kanałami wspierającymi przepisywanie kodu na"," ","stronie sprzedawcy, czyli:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["BLIK Level 0 (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blik-level0"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["BLIK Płatności Powtarzalne (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blik-recurrent"]},")"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Zostanie ono wyzwolone, gdy zmieni się status podanego przez klienta kodu BLIK (np. kod zostanie uznany za poprawny –"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VALID"]},", lub odrzucony/nieważny)."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"struktura-obiektu-data","__idx":2},"children":["Struktura obiektu ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Gdy pole ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," w głównym obiekcie powiadomienia ma wartość ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction_blik_level0:code_status_changed"]},", obiekt ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data"]}," ","będzie zawierał następujące informacje:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Pole"},"children":["Pole"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Typ"},"children":["Typ"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Opis"},"children":["Opis"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Przykładowa wartość"},"children":["Przykładowa wartość"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ticket_status"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/payment/blik/level0"},"children":["Status kodu BLIK"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VALID"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Obiekt z informacjami o powiązanej transakcji"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UUID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["ID transakcji przesyłany po wygenerowaniu transakcji"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["70bc5ab3-4973-4275-a0eb-08e3f2ab54f2"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.payer_transaction_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["char(8)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["ID transakcji przekazane płacącemu"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["6PB8JKKN"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.service_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["char(8)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Identyfikator usługi (w SimPay Flow - ID usługi nadrzędnej)"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["e65c7519"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.status"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionStatusEnum"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Aktualny ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/payment/statuses#statusGroup=Status+transakcji"},"children":["status powiązanej transakcji"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction_paid"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.amount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Obiekt informacji o kwocie"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.amount.final_currency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISO 4217"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Waluta, w której płacący dokonał płatności"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PLN"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.amount.final_value"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," (%.2f)"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Finalna kwota, którą płacący zapłacił"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["360.00"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.amount.original_currency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISO 4217"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Waluta, która była zadeklarowana przy inicjacji płatności"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PLN"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.amount.original_value"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," (%.2f)"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Zadeklarowana kwota przy inicjacji płatności"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["360.00"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.amount.commission_system"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," (%.2f) lub ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Kwota prowizji pobrana przez SimPay"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["5.36"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.amount.commission_partner"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," (%.2f) lub ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Kwota prowizji dla Partnera"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["354.64"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.amount.commission_currency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISO 4217"]}," lub ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Waluta pobranej prowizji"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PLN"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.control"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," lub ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Wartość pola control z inicjacji płatności (jeśli brak - ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]},")"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["111122223333"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flow"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}," lub brak"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Tylko dla submerchantów ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/simpay-flow/webhooks#webhooki-p%C5%82atno%C5%9Bci-ipn-w-simpay-flow"},"children":["SimPay Flow"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flow.submerchant_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["ID submerchanta"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flsm_aaaabbbb"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flow.submerchant_custom_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customId"]}," submerchanta"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user-123"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flow.flow_service_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["ID usługi Flow"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["flow_aaaabbbb"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Wskazówka"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Pamiętaj, że to powiadomienie skupia się na statusie ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["kodu BLIK"]}," (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ticket_status"]},"). Choć zawiera ono również aktualny"," ","status transakcji (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.status"]},"), to do finalnego wydawania towaru w sklepie rekomendujemy opieranie się na"," ","głównym evencie ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction:status_changed"]},", który pojawia się po ostatecznym zaksięgowaniu środków."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"przykładowy-payload-json","__idx":3},"children":["Przykładowy Payload JSON"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Poniżej znajduje się kompletny zrzut (payload) powiadomienia wysyłanego dla zdarzenia"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction_blik_level0:code_status_changed"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["(Przykładowa sygnatura została wygenerowana przy użyciu klucza IPN: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UwSkKiIwlxIeOMF8MIq9iDkQWBTtjoJQ"]}]},". Możesz użyć"," ","tego klucza i poniższych danych do przetestowania swojego algorytmu walidacji)."]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"transaction_blik_level0:code_status_changed\",\n  \"notification_id\": \"019736c4-50c3-7108-944c-11a0f9c12b72\",\n  \"date\": \"2025-06-03T19:08:44+02:00\",\n  \"data\": {\n    \"ticket_status\": \"VALID\",\n    \"transaction\": {\n      \"id\": \"70bc5ab3-4973-4275-a0eb-08e3f2ab54f2\",\n      \"payer_transaction_id\": \"6PB8JKKN\",\n      \"service_id\": \"e65c7519\",\n      \"status\": \"transaction_paid\",\n      \"amount\": {\n        \"final_currency\": \"PLN\",\n        \"final_value\": \"360.00\",\n        \"original_currency\": \"PLN\",\n        \"original_value\": \"360.00\",\n        \"commission_system\": \"5.36\",\n        \"commission_partner\": \"354.64\",\n        \"commission_currency\": \"PLN\"\n      },\n      \"control\": \"111122223333\"\n    }\n  },\n  \"signature\": \"236197b1a75a8e1c33b0feea94cab753f4b0d7f5ffd044abeea36ea8b89566cc\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":["Zobacz wyliczenie sygnatury"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Flatten wszystkich elementów po kolei + separacja ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["|"]},":"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Nasz ciąg będzie wyglądać tak:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"transaction_blik_level0:code_status_changed|019736c4-50c3-7108-944c-11a0f9c12b72|2025-06-03T19:08:44+02:00|VALID|70bc5ab3-4973-4275-a0eb-08e3f2ab54f2|6PB8JKKN|e65c7519|transaction_paid|PLN|360.00|PLN|360.00|5.36|354.64|PLN|111122223333\n"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dodaj klucz IPN na końcu ciągu:"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["...|UwSkKiIwlxIeOMF8MIq9iDkQWBTtjoJQ"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Oblicz SHA256 z powyższego ciągu i zakoduj go w hex:"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"php","header":{"controls":{"copy":{}}},"source":"<?php\n\n$signature = hash('sha256', 'transaction_blik_level0:code_status_changed|019736c4-50c3-7108-944c-11a0f9c12b72|2025-06-03T19:08:44+02:00|VALID|70bc5ab3-4973-4275-a0eb-08e3f2ab54f2|6PB8JKKN|e65c7519|transaction_paid|PLN|360.00|PLN|360.00|5.36|354.64|PLN|111122223333|UwSkKiIwlxIeOMF8MIq9iDkQWBTtjoJQ');\n","lang":"php"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Porównaj bezpieczną funkcją porównującą (np. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hash_equals"]}," w PHP) obliczoną sygnaturę z tą przesłaną w polu"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signature"]}," powiadomienia. W tym przypadku wynikiem hashowania będzie"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["236197b1a75a8e1c33b0feea94cab753f4b0d7f5ffd044abeea36ea8b89566cc"]},"."]}]}]}]},"headings":[{"value":"Zdarzenie: transaction_blik_level0:code_status_changed","id":"zdarzenie-transaction_blik_level0code_status_changed","depth":1},{"value":"Kiedy wysyłany jest ten event?","id":"kiedy-wysyłany-jest-ten-event","depth":2},{"value":"Struktura obiektu data","id":"struktura-obiektu-data","depth":2},{"value":"Przykładowy Payload JSON","id":"przykładowy-payload-json","depth":2}],"frontmatter":{"seo":{"title":"Zdarzenie: transaction_blik_level0:code_status_changed"}},"lastModified":"2026-10-01T15:18:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/notifications/payment/events/transaction_blik_level0_code_status_changed","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}