Blik
QP Integration option
Payment
Payment Flow
- The customer initiates the payment on the merchant's website.
- The merchant sends a payment request to Freepayment.
- Freepayment responds with a link to the payment page.
- The merchant redirects the customer to the payment page.
- The customer completes the payment.
Info
This integration option supports only PLN currency.
Request
Send a payment request with the following additional data:
|
|||||||||||||||||||||||||||
Request example
{
"request":{
"amount":13500,
"currency":"PLN",
"description":"description",
"test":false,
"tracking_id":"your_uniq_number",
"language":"en",
"notification_url":"https://example.com/notification",
"return_url":"https://example.com/return/",
"ip": "127.200.00.0",
"customer":{
"email":"jan@example.com",
"first_name": "Jan",
"last_name" : "Kowalski"
},
"method":{
"type":"blik"
}
}
}
Response
Redirect your customer to the URL received as the value of the form.action parameter.
Response example
{
"transaction": {
"uid": "9b32fcba-f5eb-47bf-9ae5-4bbb8cf10072",
"type": "payment",
"status": "pending",
"amount": 13500,
"currency": "PLN",
"description": "description",
"created_at": "2024-10-09T12:29:57Z",
"updated_at": "2024-10-09T12:29:59Z",
"method_type": "blik",
"receipt_url": "https://backoffice.stelixor.io/customer/transactions/9b32fcba-f5eb-47bf-9ae5-4bbb8cf10072/042ad10c16b31828f97ea0e3a71c3371f6f1653a1100ba4e5ab3b00586dbeaaf?language=en",
"payment": {
"status": "pending",
"gateway_id": 4544,
"message": "Transaction was initialized.",
"bank_code": ""
},
"blik": {
"type": "blik"
},
"customer": {
"first_name": "Jan",
"last_name": "Kowalski",
"email": "jan@example.com",
"ip": "127.200.00.0"
},
"manually_corrected_at": null,
"version": 0,
"message": "Transaction was initialized.",
"tracking_id": "your_uniq_number",
"test": false,
"language": "en",
"billing_address": {
"first_name": "Jan",
"last_name": "Kowalski",
"email": "jan@example.com"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"gateway": {
"iframe": false
},
"form": {
"action": "https://payment-page/redirect/to/269/251354/01T7HwrLOiTpujB6lpX6eiGOJruWdKbLr4iY4cpfvlTRceqsrXDy3UH7_9VU5r9ECz",
"method": "GET",
"fields": []
}
}
}
SS Integration option
Payment
Payment Flow
- The customer initiates the payment on the merchant's website.
- The merchant sends a payment request to Freepayment.
- Freepayment responds with a link to the payment page.
- The merchant redirects the customer to the payment page.
- The customer completes the payment.
- Freepayment sends a webhook notification with the payment status to the merchant. The merchant may also request the payment status from Freepayment with the status query. If the transaction was successful, the webhook notification and the response to the status query may additionally contain
blik.account_numberparameter with the card mask value.
Info
This integration option supports only PLN currency.
Request
Send a payment request with the following additional data:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Request example
{
"request": {
"amount": 5000,
"currency": "PLN",
"ip": "127.0.0.1",
"description": "description",
"return_url": "https://return.com",
"method": {
"type": "blik"
},
"customer": {
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com"
},
"additional_data": {
"browser": {
"accept_header": "text/html,application/xhtml+xml,application/xml",
"screen_color_depth": 24,
"language": "en",
"screen_height": 800,
"screen_width": 600,
"time_zone": -300,
"user_agent": "AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0",
"java_enabled": true,
"window_width": 1024,
"window_height": 640
}
}
}
}
Response
Redirect your customer to the URL received as the value of the form.action parameter.
Response example
{
"transaction": {
"uid": "d7b88f80-f714-4f64-9aeb-dc880b3b7b4a",
"type": "payment",
"status": "pending",
"amount": 2300,
"currency": "PLN",
"description": "test",
"created_at": "2025-01-11T11:31:09Z",
"updated_at": "2025-01-11T11:31:10Z",
"method_type": "blik",
"receipt_url": "https://backoffice.stelixor.io/customer/transactions/d7b88f80-f714-4f64-9aeb-dc880b3b7b4a/e598bbe9b8a2deaf99fbcefca028f6c6c2b7eedf593d3ee37151e9acd61844da?language=ru",
"payment": {
"status": "pending",
"gateway_id": 4824,
"ref_id": "4214474",
"message": "Invoice is created successfully, waiting for a payment",
"bank_code": 31
},
"blik": {
"type": "blik"
},
"customer": {
"email": "john@example.com",
"first_name": "John",
"last_name": "Doe",
"ip": null
},
"manually_corrected_at": null,
"version": 0,
"message": "Invoice is created successfully, waiting for a payment",
"tracking_id": "your_uniq_number21212",
"test": true,
"language": "en",
"billing_address": {
"email": "john@example.com",
"last_name": "Doe",
"first_name": "John"
},
"additional_data": {
"browser": {
"accept_header": "text/html,application/xhtml+xml,application/xml",
"screen_color_depth": 24,
"language": "en",
"screen_height": 800,
"screen_width": 600,
"time_zone": -300,
"user_agent": "AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0",
"java_enabled": true,
"window_width": 1024,
"window_height": 640
},
"payment_method": {
"type": "alternative"
}
},
"gateway": {
"iframe": false
},
"form": {
"action": "https://test-ss/hosted?transaction-id=5e747509-4b2e-8a0a-03ea-5697eb",
"method": "GET",
"fields": []
}
}
}
MF Integration option
Payment
Payment flow
- The customer initiates the payment on the merchant's website.
- The merchant sends a payment request to Freepayment with
method.typeset toblik. - Freepayment responds with the payment page URL in
redirect_url. - The merchant redirects the customer to that URL. The customer enters a six-digit BLIK code and confirms the payment in their banking app.
- Freepayment sends a webhook notification with the final payment status. The merchant may also use the status query.
Info
Available currencies depend on the gateway configuration. The default settings include EUR, GBP, and PLN.
Request
Send a payment request with the following data:
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Request example
{
"request": {
"amount": 1000,
"currency": "PLN",
"description": "Order 1234",
"return_url": "https://example.com/return",
"ip": "203.0.113.10",
"language": "en",
"method": {
"type": "blik"
},
"customer": {
"first_name": "Anna",
"last_name": "Nowak",
"email": "anna@example.com",
"external_id": "customer-1234",
"birth_date": "1990-05-14",
"phone": "+48500111222",
"country": "PL",
"address": "Main Street 1",
"city": "Warsaw",
"zip": "00-669"
}
}
}
Response
Redirect the customer to the URL in redirect_url. A redirect to the merchant's site does not confirm the payment status; use the webhook notification or status query for the result.
Response example
{
"transaction": {
"uid": "9e56f974-d451-48de-b6ad-26b6d50ad659",
"type": "payment",
"status": "pending",
"amount": 1000,
"currency": "PLN",
"description": "Order 1234",
"created_at": "2026-10-21T12:59:01Z",
"updated_at": "2026-10-21T12:59:01Z",
"method_type": "blik",
"receipt_url": "https://backoffice.stelixor.io/customer/transactions/9e56f974-d451-48de-b6ad-26b6d50ad659/4dde6130921fed930ca8c1cd4e04a9d532cc082b855f87a41964c1568345865e?language=en",
"payment": {
"status": "pending",
"gateway_id": 6749,
"ref_id": "e3907a8b339943b9b0642e56e184789b",
"message": "Transaction was initialized."
},
"blik": {
"type": "blik"
},
"customer": {
"zip": "00-669",
"city": "Warsaw",
"email": "anna@example.com",
"phone": "+48500111222",
"address": "Main Street 1",
"country": "PL",
"last_name": "Nowak",
"birth_date": "1990-05-14",
"first_name": "Anna",
"external_id": "customer-1234",
"ip": "203.0.113.10"
},
"manually_corrected_at": null,
"version": 2,
"message": "Transaction was initialized.",
"test": false,
"language": "en",
"billing_address": {
"zip": "00-669",
"city": "Warsaw",
"email": "anna@example.com",
"phone": "+48500111222",
"address": "Main Street 1",
"country": "PL",
"last_name": "Nowak",
"birth_date": "1990-05-14",
"first_name": "Anna"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"smart_routing_verification": {
"status": "successful"
},
"gateway": {
"iframe": false
},
"form": {
"action": "link-to-payment-page",
"fields": [],
"method": "GET"
}
}
}