In brief
BLIK is Poland's mobile payment system run by Polski Standard Płatności, in which customers pay, withdraw cash and send money from their bank's app. On the bank side, integration means handling a one-time 6-digit code valid for 2 minutes, transaction confirmation in the app, limits, transfers to a phone number, recurring payments and contactless payments. Testing focuses on the code lifetime, intermediate confirmation states, limit boundaries and the phone number registry, because that is where customer-facing defects most often appear.
How BLIK works from the bank's perspective
BLIK is operated by Polski Standard Płatności. According to the operator, a BLIK code is single-use, has six digits, is valid for 2 minutes and is generated and managed centrally by the operator. The customer sees it in their bank's app and has to confirm every transaction in that app. The confirmation request contains at least the amount and the payee.
For a bank this means several components to build and maintain:
- the code screen in the app: fetching the code, counting down its validity, refreshing after expiry;
- handling the authorization request: an in-app notification, a screen with the amount and payee, acceptance or rejection by the customer;
- posting: a hold or debit on the account and later settlement;
- limits and safeguards: amount and count limits, an additional PIN, risk assessment rules;
- complaint handling: the operator states that the responsible institution is the bank whose app was used for the transaction.
Most of these components sit in the mobile channel, so a BLIK integration is largely an app project. We describe the general principles for testing such an app in the article on mobile banking apps.
Transaction types the bank has to support
| Type | How it works according to the operator | What it means for the bank's systems |
|---|---|---|
| Code payment online and in store | The customer enters the code at the merchant and confirms the transaction in the app | Handling the code, the confirmation and the response within the code's validity |
| ATM withdrawal | The customer withdraws cash with a code from the app, without a payment card | The same steps plus a cash transaction and its settlement |
| Transfer to a phone number | Only the recipient's phone number is needed, and funds go to the account linked to the number | A registry linking numbers to accounts, handling recipients who are not registered |
| Recurring payments | Paying regular bills, collected automatically or after confirmation in the app | Consent management, a list of active payments, withdrawal of consent |
| Contactless payments | On Android phones with NFC (at selected banks also HarmonyOS), without opening the app | The app set as default for phone payments, NFC handling |
| BLIK cheque | A 9-digit code with a password for a withdrawal or payment | Issuing, validity and redemption of the cheque |
| Payments without a code | In trusted stores and browsers | A stored link between the customer and the store, and its revocation |
The operator also states that ATM withdrawals, online transactions and in-store payments above 50 PLN require additional confirmation with a PIN, unless the bank lets customers manage such limits. Each bank sets its own count and amount limits.
What to test in the code flow
The code flow is short for the customer but has many intermediate states. The most important cases:
- Code lifetime. A code used just before and just after 2 minutes elapse, a code used a second time, a code generated in an app that went to the background, a clock change on the phone.
- Confirmation. The customer approves, rejects or does nothing. The notification does not arrive and the customer opens the app manually. The customer approves twice from two devices.
- Loss of connection. The phone loses network after tapping “approve” and before receiving a response. After reconnecting, the app must show the true state of the transaction rather than guess.
- Limit and PIN boundaries. Amounts of 49.99 PLN, 50.00 PLN and 50.01 PLN in every channel, the daily limit running out mid-session, the customer changing a limit.
- The confirmation screen. Amount and payee visible without scrolling on a small screen, with enlarged font and with a screen reader.
Point 5 is also a safeguard. Some fraud consists of persuading the customer to hand the code to someone else, so a clearly displayed payee on the confirmation screen is the last chance for the customer to notice what they are paying for. Such cases are also handled by the system described in the article on payment fraud detection.
Phone transfers and recurring payments
A transfer to a phone number relies on linking the number to an account. According to the operator, a recipient who has not registered their number is informed by their bank that they cannot receive the transfer, and if they do not follow the bank's instructions within a set time, the funds return to the sender. Tests should cover:
- registering a number, changing the linked account and deregistering;
- a customer with several accounts and a customer with accounts at two banks;
- the customer changing their phone number;
- the full path of returning funds to the sender, including how it appears in both customers' history;
- a payment request sent to a customer and its rejection.
Recurring payments are in practice consent management. The customer must see a list of active payments and be able to cancel them, and the cancellation must take effect before the next collection. It is worth testing a collection just after cancellation and a collection when funds are insufficient.
Performance, regression and test data
BLIK payments are very time-sensitive: the code lives for 2 minutes, and the customer is waiting at the checkout or the ATM. That is why performance tests should measure the time of the whole flow, from the authorization request to the response, in percentiles and at peak traffic, not just the time of a single service. We describe how to plan such tests in the article on load, stress and endurance testing.
BLIK flows should be part of the automated regression suite of the mobile app on both platforms. Tests on physical devices are needed for contactless payments, because an emulator will not check the NFC antenna or the default payment app setting. The mobile banking app test automation scenario shows an example of such regression. General principles of payment testing, including reconciling balances after every run, are covered in the article on testing payment systems.
Questions and answers
How long is a BLIK code valid?
According to the operator, Polski Standard Płatności, a BLIK code is valid for 2 minutes. It is a single-use 6-digit code shown in the bank's app and used for one operation. After it expires the customer generates a new one. For the test team this is one of the most important edge cases: a code used just before and just after expiry, and a code used again.
Who sets BLIK transaction limits?
The bank. The operator states that count and amount limits for BLIK transactions are set individually by banks. In addition, ATM withdrawals, online transactions and in-store payments above 50 PLN require confirmation with a PIN, unless the bank lets customers manage such limits. Every threshold value has to be tested at its boundary.
Where does a customer file a complaint about a BLIK transaction?
With the bank whose app was used for the transaction, as the BLIK operator indicates. For the bank this means the complaint process needs access to the full history of BLIK transactions: the code, the confirmation time, the device and the system's responses, so that staff can reconstruct how the operation went.
Do BLIK contactless payments work on an iPhone?
According to the operator, BLIK contactless payments are available only on Android phones with an NFC antenna, and at selected banks also on HarmonyOS. The customer has to set the bank's app as the default for phone payments. Before a rollout it is worth checking the current information on the operator's website, because the list of supported systems may change.