Skip to content

BLIK

BLIK is the most popular mobile payment system in Poland and it’s convenient and safe. It enables users to make instant payments using their banking app, entering the BLIK and confirming the transaction with the pin in the banking app.

How to use BLIK

After you create the order and the shopper selects BLIK on your website:

  1. The buyer has to enter a secure BLIK code in the payment form;
  2. He gets this six-digit code from his baking application and enters it on your checkout page. The BLIK code expires in 120 seconds;
  3. Once the shopper chooses Pay, BLIK sends a push notification to their banking app;
  4. The shopper must confirm the payment on their banking app within 45 seconds for the payment to go through.
BLIK table-correct

How it works

After creating the order, you should make a Blik purchase as detailed below:

Environment

URL

Operation Method & Endpoint

Operation Description

PROD

api.sibsgateway.com

POST api/v1/payments/:transactionId/blik/purchase

Perform the client redirection to BLIK payment system in order to perform client code collection and payment confirmation.

CER

stargate-cer.qly.site[1|2].sibs.pt

POST api/v1/payments/:transactionId/blik/purchase

Perform the client redirection to BLIK payment system in order to perform client code collection and payment confirmation.

The message below represents the BLIK payment:

Here is an example of how to make a BLIK purchase:

	Request URL:
https://stargate-cer.qly.site1.sibs.pt/api/v1/payments/{transactionID}/blik/purchase
Request Headers:
Authorization: Digest {transactionSignature}
X-IBM-Client-Id: b4480347-9fc8-4790-b359-100a99c60ea3
Content-Type: application/json

{
    "info": {
        "deviceInfo": {
            "browserAcceptHeader": "application/json, text/plain, */*",
            "browserJavaEnabled": "false",
            "browserLanguage": "en",
            "browserColorDepth": "24",
            "browserScreenHeight": "1080",
            "browserScreenWidth": "1920",
            "browserTZ": "-60",
            "browserUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36"
        },
        "customerInfo": [
            {
                "key": "customerName",
                "value": "Test Name"
            },
            {
                "key": "customerEmail",
                "value": "email@provider.com"
            }
        ]
    },
    "merchant": {
        "merchantURL": "https://www.pay.sibs.com/eng/documentation/sibs-gateway-3//integration/server-to-server/blik/"
    },
    "BLIKCode": "999999"
}	
			
		    		
	    
mssg_bell

For testing purposes, all 6-digit blik codes starting with 777 (e.g., 777001) are considered valid. These codes are shared, so if any of them are temporarily invalid, please choose another code sequence starting with 777.

Regarding the BLIK_Fallback:

Data scope

Data Elements

Comments

BLIK_FALLBACK

transactionId
dateTime
resultResponse
resultReason
responseUrl

Data should be converted in base64

The message below represents a response that you get from our server:

Expected Response:

A successful technical response comprises of an HTTP-200 status and a returnStatus.statusCode=”000″.

Result Code

statusMsg

Description

HTTP-200

Success

Success response

HTTP-400

Bad Request

The JSON payload is not matching the API definition or some mandatory HTTP headers are missing. Please check in API Market for the correct syntax.

HTTP-401

Unauthorized

On the Authorization, Bearer token is invalid/expired or not associated with the Terminal used. Please check in SIBS Backoffice under the Credentials if the token is valid and create a new one if needed.

HTTP-403

Forbidden

The ClientID set on the X-IBM-Client-Id HTTP header is not valid or does not possess a valid subscription to the API. Please check in SIBS Backoffice under the SPG APP 2.0 if the ClientID is correct. If the problem persists contact SIBS Gateway support for a ClientID reset.

HTTP-405

Method Not Allowed

The HTTP Method used is not matching any of the API definitions available. Please check in API Market for the correct HTTP Method.

HTTP-429

Too Many Requests

The API calls rate limit has been exceeded. Please check in API Market for information on the rate limits that apply to the API.

HTTP-500

Internal Server Error

The API call has failed… and its most likely on our side. You should retry the operation, and if the problem persists contact SIBS Gateway support for assistance.

HTTP-503

Service Unavailable

The API call is not currently available. Usually we are always on, but short availability issues may occur during scheduled maintenance.