Skip to main content

White Label payment

Make a White Label payment​

White Label means that the buyer is not redirected to the Paynow payment method selection page — the payment process starts or takes place entirely on the store's website. For example, for a BLIK payment the buyer enters the authorization code directly on the store's website, while for a card payment the buyer fills in the card form embedded inside an <iframe>.

Currently, White Label integration is available for BLIK, pay-by-link (PBL), PayPo, and card payments (one-time and recurring).

To use the White Label model, you need to:

  1. Fetch the current list of payment methods (GET /v3/payments/paymentmethods) before each payment creation (do not cache the payment methods list).
  2. Create the payment according to the selected method described below.
  3. Fetch and display information to the buyer about the personal data controller (required by law — see GDPR notice obligation and service activation).

BLIK payment (2007)​

  • Use the payment method where the authorizationType field is equal to CODE:
[
{
"type": "BLIK",
"paymentMethods": [
{
"id": 2007,
"name": "BLIK",
"description": "Płacę z BLIKIEM",
"image": "https://static.devel.integrator.emfale.com/payment-method-icons/2007.png",
"status": "ENABLED",
"authorizationType": "CODE"
}
]
}
]
  • Send a payment request (POST /v3/payments) with the authorizationCode field populated:
{
"amount": "409272",
"externalId": "c7b55386-ba45-4537-96a5-bb77c6910418",
"paymentMethodId": 2007,
"currency": "PLN",
"description": "Testowa transakcja",
"continueUrl": "https://melements.pl",
"buyer": {
"email": "jan.kowalski@melements.pl",
"firstName": "Jan",
"lastName": "Kowalski",
"locale": "pl-PL",
"phone": {
"prefix": "+48",
"number": "120932212"
}
},
"authorizationCode": "123456"
}

PBL (pay-by-link) and PayPo​

Create a payment with a predefined payment method (paymentMethodId, e.g. 3000 for PayPo) in the standard way described in Make a payment with a predefined payment method.

Card payments (2002) and recurring card payments (2202)​

In the White Label model, card payments can be integrated in two ways:

  • Card payment in widget mode — the payment form is embedded directly on the store page in an <iframe>, where the buyer enters their card details. This mode covers:
  • Saved-card One-Click payment (2002) — paying with a previously saved card without re-entering card details, described in Card tokenization – White Label payment.

Required fields and WIDGET request flow​

To initiate the card form in WIDGET mode, include the following additional fields in POST /v3/payments:

  • paymentMethodData.card.cardFormBehaviour – "WIDGET",
  • continueUrl – return URL after payment completion (loaded inside the <iframe>),
  • buyer.ipAddress and buyer.userAgent – the buyer's browser IP address and User-Agent header (omitting continueUrl, buyer.ipAddress, or buyer.userAgent in WIDGET mode results in 400 Bad Request).

Sample request for a one-time card payment (2002) in WIDGET mode:

{
"amount": 45671,
"currency": "PLN",
"externalId": "order-card-wl-001",
"description": "Payment for order #1024",
"continueUrl": "https://yourshop.example.com/payment/return",
"paymentMethodId": 2002,
"buyer": {
"email": "jan.kowalski@example.com",
"firstName": "Jan",
"lastName": "Kowalski",
"locale": "pl-PL",
"ipAddress": "203.0.113.42",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"
},
"paymentMethodData": {
"card": {
"cardFormBehaviour": "WIDGET"
}
}
}

When Card White Label is enabled for your point of sale (POS), the 201 Created response returns widgetUrl (redirectUrl is null and the initial payment status is PENDING):

{
"redirectUrl": null,
"widgetUrl": "<widget-url>",
"paymentId": "NOLV-8F9-08K-WGD",
"status": "PENDING"
}

Embed widgetUrl in an <iframe> on your store page with allow="payment". Use width: 100% inside a responsive container at least 320px wide (optimally 400px–520px) and set an explicit height of at least 480px. Because the widget is hosted on another origin, the <iframe> does not resize automatically; its border can be hidden with border: none:

<iframe
id="paymentIframe"
src="<widget-url>"
allow="payment"
title="Card payment form">
</iframe>

After the payment finishes, the redirect to continueUrl takes place inside the <iframe>. Your return page should handle successful, interrupted, and failed payments and use a compact layout without the store's full header and footer.

Optional WIDGET flow – automatic fallback to REDIRECT

For card payments (2002 and 2202), the WIDGET flow is optional. If Card White Label is not enabled for a given point of sale (POS), passing cardFormBehaviour: "WIDGET" does not cause an error — Paynow automatically falls back to REDIRECT mode and returns 201 Created with a standard redirectUrl pointing to the Paynow payment page (widgetUrl: null, status: "NEW").

Your store integration should inspect the POST /v3/payments response:

  • if widgetUrl is present — embed it in an <iframe>,
  • if redirectUrl is returned (widgetUrl is null) — redirect the buyer to redirectUrl.
Sample widget integrations (Sandbox)

GDPR notice obligation and service activation​

The information obligation results from the GDPR regulation on the protection of personal data. For non-White Label payments, the information is displayed on the Paynow payment page. For White Label payments, you must additionally:

  • fetch and display the GDPR notice from the Data processing notices endpoint (GET /v3/payments/dataprocessing/notices — the response may be cached, but should not be hardcoded).

  • send a link to your store and a screenshot showing how the GDPR notice is displayed to support@paynow.pl, so the Paynow team can verify the implementation and activate White Label.

After positive verification, White Label will be enabled for your store in Paynow. Until White Label is activated on a given point of sale (POS):

  • for BLIK (2007), passing authorizationCode in the payment request body results in a 400 Bad Request (BAD_REQUEST) error,
  • for card payments (2002) and recurring card payments (2202) with cardFormBehaviour: "WIDGET", no error is returned — the payment automatically falls back to REDIRECT mode and returns redirectUrl (widgetUrl: null, status: "NEW").