Onerway
Payment methods

BLIK Seamless

Collect a one-time BLIK code on your page, submit it through the Direct API, and confirm payment after the customer authorizes it in their banking app.

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/regionOrder currency
🇵🇱 PLPLN

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

  1. 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.
  2. On your server, call Create direct transaction with productType=LPMS, subProductType=DIRECT, and txnType=SALE. Encode lpmsInfo as a JSON string with lpmsType=BLIK_SEAMLESS and walletAccountId set to the entered six-digit code. Keep the code as a string, including any leading zero. In this flow, walletAccountId carries a one-time code, not a reusable wallet identifier.
  3. Supply the actual billing email in billingInformation.email. Encode billingInformation and shippingInformation as 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 in txnOrderMsg. Keep product and order currencies consistent and ensure that product amounts, discounts, and shipping fees add up to orderAmount.
    Select the request example “Redirect local payment request (illustrative)”. It uses Bancontact / BE / EUR to show the shared request structure. Replace the method with BLIK_SEAMLESS, add the entered code in lpmsInfo.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.
  4. Store the returned paymentId and transactionId. 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=R with actionType=RedirectURL, redirect the customer to the returned redirectUrl and 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.

See Request signing 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:

  1. 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 the request is signed correctly.
  2. 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.
  3. 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.
  4. 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.