BLIK Seamless
Basic information
Your page collects the six-digit code generated by the customer in their banking app. The customer then confirms payment in that app.
- Integration path: Direct API
- Transaction type: One-time payment
lpmsInfo.lpmsType:BLIK_SEAMLESS
| Customer country/region | Order currency |
|---|---|
| 🇵🇱 PL | PLN |
The customer country/region is the billingInformation.country value in the payment request.
This guide applies to merchants enabled for BLIK code payments. For the separate redirect flow where the external payment page collects the code, see BLIK. This guide covers a new code for each payment; it does not cover recurring payments.
Before you begin
Complete Setup and confirm with Onerway that one-time BLIK code payments are enabled for your merchant and application. Confirm the test procedure, transaction limits, order validity period, and settlement arrangements. For amount formatting, see Currency and amount validation.
Customers need a banking app that supports BLIK. Provide a code-entry field and a prompt to confirm payment in that app. Collect the billing email and the other billing, shipping, and product information required by the API. Configure your server notification and customer return URLs, and store the mapping between your order and the Onerway identifiers.
Start the payment with the Direct API
- Check List available payment methods for the current order. After the customer selects this method, ask them to generate a BLIK code in their banking app and enter it on your page.
- On your server, call Create direct transaction with
productType=LPMS,subProductType=DIRECT, andtxnType=SALE. EncodelpmsInfoas a JSON string withlpmsType=BLIK_SEAMLESSandwalletAccountIdset to the entered six-digit code. Keep the code as a string, including any leading zero. In this flow,walletAccountIdcarries a one-time code, not a reusable wallet identifier. - Supply the actual billing email in
billingInformation.email. EncodebillingInformationandshippingInformationas JSON strings, including the required email and country for each. Include products, notification and return URLs, and merchant-collected end-user IP, browser, and device information intxnOrderMsg. Keep product and order currencies consistent and ensure that product amounts, discounts, and shipping fees add up toorderAmount.
Select the request example “Redirect local payment request (illustrative)”. It uses Bancontact / BE / EUR to show the shared request structure. Replace the method withBLIK_SEAMLESS, add the entered code inlpmsInfo.walletAccountId, use PLN for this flow, and replace the customer and order details. The example’s redirect response is not a promise that this code-payment flow always redirects. - Store the returned
paymentIdandtransactionId. Handle the actual transaction status:- For
status=P, show that payment is processing and ask the customer to confirm it in the banking app that generated the code. - For
status=RwithactionType=RedirectURL, redirect the customer to the returnedredirectUrland follow the payment-page instructions. - For other actions or states, follow Local payment integration. A processing response or a successful HTTP request does not mean the order is paid.
- For
See Request authentication for authentication. Do not repeatedly create the same order while waiting for confirmation.
Customer confirmation and final result
The customer checks the payment request in the banking app and confirms or declines it. Submitting a valid code does not replace this confirmation. Code expiry and order expiry are separate; an expired, canceled, or previously used code can fail.
If the customer leaves, declines the request, or reports a code error, retrieve the existing payment result before offering another attempt. Do not infer success from code entry, an app screen, or a return to your site, and do not reuse a previous code as a saved payment credential.
Process the order using a signature-verified payment result webhook. If no notification has arrived or you need to check the result, call Query payments with the stored paymentId. Fulfill only after your server confirms a successful payment. For verification, acknowledgement, idempotency, and query fallback, see Webhooks.
Refunds and disputes
Confirm the refund capabilities, restrictions, and dispute process applicable to your merchant with Onerway. If refunds are enabled, follow Refunds.
Testing and go-live
Confirm the test environment and available BLIK code-payment test procedure with Onerway, then follow Sandbox testing:
- Create a PLN order with
BLIK_SEAMLESS, the entered code, and the required customer details. Verify that your code field preserves all six digits and that theApiKeyheader is set correctly. - Complete the agreed banking-app confirmation test and verify the result on your server. Code acceptance or a processing response alone does not pass the successful-payment check. Handle a redirect whenever the actual response requires it.
- Test declined or incomplete confirmation and the agreed expired-code or invalid-code cases. Check the existing order before another attempt, and verify query fallback when no notification has arrived.
- Verify idempotent handling of duplicate notifications. Retain the notification and acknowledgement for the same order, then query it to confirm that the results agree. Before going live, check production enablement, notification and return URLs, limits, and validity periods. Test refunds separately if enabled.
Saudi local cards (cardpay)
Accept hosted cardpay payments with Saudi local cards through the Direct API or Checkout, supply customer and product details, and handle payment results and delivery information.
SEPA Direct Debit
Create one-time SEPADD payments with customer details and an IBAN, redirect customers to accept the debit mandate, and distinguish transaction success from receipt of funds.