{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/en/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"BLIK Level 0 Handling in SimPay","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":"blik-level-0-handling-in-simpay","__idx":0},"children":["BLIK Level 0 Handling in SimPay"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["BLIK Level 0 is a simplified BLIK payment method,"," ","where the user enters the BLIK code directly on the Partner's website,"," ","without the need to redirect to the eblik.pl page."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["It is your responsibility to meet the requirements of the BLIK checklist for Level 0 payments, which is available"," ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://www.blik.com/lp/payment-without-code/Level-0-Oneclick-Checklist.141951240.html#Level0OneclickChecklist-Level0-guidelinesforimplementationofBLIKwithcode","target":"blank"},"children":["here"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"generating-a-transaction","__idx":1},"children":["Generating a Transaction"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When generating a transaction, you must:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["set the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["directChannel"]}," field to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blik-level0"]},","]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["send the payer's antifraud.useragent,"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["send the payer's customer.email,"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["send the payer's customer.ip,"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["send the payer's customer.countryCode (currently only PL is supported),"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["set the transaction currency to PLN (BLIK currently supports only PLN)."]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Then send a request to:"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST https://api.simpay.pl/payment/:serviceId/blik/level0/:transactionId"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["in the body, send:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"ticket\":{\n        \"T6\":\"BLIK_CODE\"\n    }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If the BLIK code is correct, HTTP status 204 will be returned."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger","name":"Warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Returning code 204 does not mean the transaction is paid. You must handle both IPN events listed below."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In case of an incorrect code, the response looks as follows:"," ","HTTP 4xx"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"success\": false,\n    \"message\": \"Error message\",\n    \"errorCode\": \"ERROR_CODE\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The errorCode values are available in the table under the IPNv2 section."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"handling-the-ipnv2-event","__idx":2},"children":["Handling the IPNv2 Event"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For BLIK Level 0 transactions, SimPay sends 2 IPN messages:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction:status_changed"]}," (the same as for every payment method),"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction_blik_level0:code_status_changed"]},". This message contains information about the BLIK code validity (field data.ticket_status)."," ","Example IPN:"]}]},{"$$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":"p","attributes":{},"children":["If the ticket_status is other than VALID, you should inform the payer about the reason for the transaction rejection."," ","Here we refer to the BLIK checklist (Authorization errors section)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://www.blik.com/lp/payment-without-code/Level-0-Oneclick-Checklist.141951240.html#Level0OneclickChecklist-Authorizationerrors","target":"blank"},"children":["BLIK Checklist"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["from \"INSUFFICIENT_FUNDS\" downwards."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"list-of-errors-when-entering-blik-code","__idx":3},"children":["List of Errors When Entering BLIK Code"]},{"$$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":{"data-label":"Code"},"children":["Code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Meaning"},"children":["Meaning"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INVALID_BLIK_CODE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invalid BLIK code."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PAYER_APP_NOT_ACTIVE"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK has not been activated in the payer's banking app."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PAYER_APP_NOT_FOUND"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK was not found in the payer's banking app."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INVALID_BLIK_CODE_FORMAT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invalid BLIK code format."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BLIK_CODE_EXPIRED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK code has expired."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BLIK_CODE_LIMIT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Limit exceeded for this code."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BLIK_CODE_CANCELLED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK code has been cancelled."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BLIK_CODE_NOT_SUPPORTED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK code is not supported."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BLIK_CODE_USED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK code has already been used."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BLIK_GENERAL_ERROR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["General BLIK error."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BLIK_TECHNICAL_BREAK"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Technical break in BLIK operation."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"list-of-test-t6-codes","__idx":4},"children":["List of Test T6 Codes"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Test codes"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For test T6 codes to work, test mode must be enabled in the service settings in the SimPay Client Panel."]}]},{"$$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":{"data-label":"T6 Code"},"children":["T6 Code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Code Meaning"},"children":["Code Meaning"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["999000"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Valid BLIK code"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100001"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PAYER_APP_NOT_ACTIVE"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100002"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PAYER_APP_NOT_FOUND"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100003"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["INVALID_BLIK_CODE_FORMAT"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100004"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK_CODE_EXPIRED"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100005"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK_CODE_LIMIT"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100006"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK_CODE_CANCELLED"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100007"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK_CODE_NOT_SUPPORTED"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100008"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK_CODE_USED"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100009"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK_GENERAL_ERROR"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["100010"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["BLIK_TECHNICAL_BREAK"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200001"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["INSUFFICIENT_FUNDS"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200002"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["LIMIT_EXCEEDED"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200003"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TIMEOUT"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200004"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GENERAL_ERROR"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200005"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SYSTEM_ERROR"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200006"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["SEC_DECLINED"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200007"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["USER_DECLINED"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200008"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TAS_DECLINED"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{any other}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["INVALID_BLIK_CODE"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Test codes starting with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," indicate an error returned during Level 0 transaction initiation."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Test codes starting with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}," indicate an error sent via IPN in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction_blik_level0:code_status_changed"]}," event."]}]},"headings":[{"value":"BLIK Level 0 Handling in SimPay","id":"blik-level-0-handling-in-simpay","depth":1},{"value":"Generating a Transaction","id":"generating-a-transaction","depth":3},{"value":"Handling the IPNv2 Event","id":"handling-the-ipnv2-event","depth":3},{"value":"List of Errors When Entering BLIK Code","id":"list-of-errors-when-entering-blik-code","depth":3},{"value":"List of Test T6 Codes","id":"list-of-test-t6-codes","depth":3}],"frontmatter":{"seo":{"title":"BLIK Level 0 Handling in SimPay"}},"lastModified":"2026-05-13T09:55:40.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/en/payment/blik/level0","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}