---
title: "Paynow Integration via API from PLN 999 | VulCode"
description: "Paynow (mBank) integration through the API from PLN 999: BLIK, fast transfers, status notifications and refunds from your panel. Done in 2-3 days."
url: "https://vulcode.com/en/services/integrations/paynow"
lang: "en"
---

[Home](https://vulcode.com/en) [Services](https://vulcode.com/en/services) [Integrations](https://vulcode.com/en/services/integrations) [Online payments](https://vulcode.com/en/services/integrations/polish-payments)

# Paynow integration through the API

A Paynow integration from VulCode connects the Paynow gateway from the mBank group to your store, app, panel or booking system through the API, from PLN 999 (about EUR 220), usually in 2-3 days. Customers pay by BLIK (Poland's mobile payment system), fast transfer or card, every request and notification is signed, an order starts only once the payment is confirmed, and you issue refunds from your own panel.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

## Seven Paynow payment statuses

Paynow documents the whole payment cycle. Each status has its own reaction in your system.

- 01 **NEW**
  Payment accepted, the customer has not picked a method yet. Only when no method was set up front.
  - 10 days unchanged **EXPIRED**
  The validity passed. A payment in NEW or PENDING for 10 days moves here on its own.

- 02 **PENDING**
  Method chosen and fixed. We wait for the customer to finish paying.
  - not authorised **REJECTED**
  The buyer did not authorise it. The order stays open for another attempt.
  - payment error **ERROR**
  A problem during payment. We show the customer what next and log the event.

- 03 **CONFIRMED**
  Processed, the money reached the recipient. We start fulfilling the order.

- **ABANDONED**: The buyer retried a failed payment. The new one has a new id and is tied to the order by its number.

## Tests that simulate failures

Paynow's test environment has codes that trigger specific behaviour. We use them to check paths you cannot trigger in a live store.

| Sandbox input | What happens | What we test |
| --- | --- | --- |
| BLIK 222222 | The payment stays in PENDING. | The waiting screen, and that the order is not fulfilled before confirmation. |
| BLIK 333334 | Authorisation fails on an expired code. | The customer message and the retry. |
| BLIK 444444 | NEW for 20 seconds, then ERROR. | The status change and error handling in your panel. |
| Transfer of 9,999.99 PLN | The payment fails. | The return page after a failed payment. |

For the tests you open a separate Paynow test account, or we use the public test keys.

## Payment built into your system, not beside it

A ready Paynow plugin is enough only when payment ends with a status change in the store platform itself. When payment is part of an app, a panel or a booking, we write an API integration that handles every status, refund and retry.

We install it, add the keys from the Paynow panel and check it with test payments.

A Paynow integration in your code, with signatures, protection against double payments and every status handled.

- 01 A ready plugin

- 02 An API integration

When

- The store runs on a platform Paynow has a plugin for.

- Payment ends with a status change in the platform itself.

- Payment happens in an app, a client panel or a booking system.

- You want BLIK or a card on your own page with no redirect (white label).

- You need payment links, refunds from your panel or a marketplace.

### A ready plugin

When

- The store runs on a platform Paynow has a plugin for.

- Payment ends with a status change in the platform itself.

We install it, add the keys from the Paynow panel and check it with test payments.

### An API integration

When

- Payment happens in an app, a client panel or a booking system.

- You want BLIK or a card on your own page with no redirect (white label).

- You need payment links, refunds from your panel or a marketplace.

A Paynow integration in your code, with signatures, protection against double payments and every status handled.

## What flows between your system and Paynow

Each kind of data has its direction and its trigger.

**Your system** **Paynow**

### Payment

the customer clicks "Pay"

amount, order number, description, buyer email

### Status change

every payment status change

a notification to the address set in the Paynow panel

### Status on demand

the customer returns, or no notification came

a status query by payment id

### Refund

a decision in your panel

a refund and its status, with an option to cancel

### Payment methods

showing the checkout

available methods for your own picker

## How we roll out Paynow in a custom-built store: 5 steps

A typical Paynow rollout in a custom-built store.

Scenario

00 / 05

Brief

- **Store**: Custom code, orders in a database, an admin panel
- **Methods**: BLIK on the shop page and fast transfers
- **After payment**: An email to the customer, an invoice, handover to shipping
- **Refunds**: From the shop panel, without signing in to Paynow

Steps

- 01 Keys and sandbox

- 02 Payment and signatures

- 03 Sandbox scenarios

- 04 Refunds from the panel

- 05 Production

Step 01 of 05

Keys and sandbox

You register a Paynow test account and we plug the keys into the shop's test environment.

Step 02 of 05

Payment and signatures

We build payment creation with a signature and Idempotency-Key, and notification handling with a signature check.

Step 03 of 05

Sandbox scenarios

With the test codes we walk through PENDING, rejection and error, plus a payment retry.

Step 04 of 05

Refunds from the panel

We add full or partial refunds and their status on the order.

Step 05 of 05

Production

After your sign-off we switch the address and keys to production and check the first real payment.

Result

Every payment shows its Paynow status on the order, and the order only moves after CONFIRMED.

## Terms from the Paynow documentation

Words that come up during the rollout.

- **Api-Key**: The key that identifies the shop in requests. From the Paynow panel, separate for sandbox and production.
- **Signature-Key**: The secret for HMAC signatures. It never leaves the server.
- **Idempotency-Key**: A unique request value. A resent request with the same key creates no second payment.
- **externalId**: Your order id, which ties payments together, retries included.
- **White label**: A payment with no redirect: the customer picks a method and pays in your interface.
- **Payment recovery**: Retrying a payment in PENDING, REJECTED or ERROR. It needs the ABANDONED status handled.

## Common questions about Paynow

The main questions about Paynow: account, cost, timing, refunds and code.

**Do I need an mBank account?**

Yes, you need a Paynow merchant account, which mBank offers. Paynow sets the agreement terms, which you check when opening the account. We only need the sandbox and production keys from it.

**How long does it take?**

Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.

**How much does a Paynow integration cost?**

A Paynow integration through the API costs from PLN 999 (about EUR 220) under our [API and integrations](https://vulcode.com/en/services/api-integrations) service, and the rollout usually takes 2-3 days. The figure depends on how many systems we connect, which payment methods and refunds we handle and what should happen on an error. You pay the transaction commission separately, directly to Paynow. The quote is free and comes back within an hour.

**What if the customer closes the page after paying?**

The status arrives as a notification to your server, so the order changes anyway. The customer's return confirms nothing.

**Can a failed payment be retried?**

Yes, Paynow then creates a new payment tied to the order. The option has to be on in the panel and the ABANDONED status handled.

**Does Paynow support marketplaces?**

Yes, Paynow has a solution for marketplaces. Before quoting we check with you whether your sales model fits it.

**Can an order move before the payment is confirmed?**

No. The order moves only after the CONFIRMED status, when the money has reached the recipient. Every other status is recorded on the order, and the customer sees what to do next.

**Can I issue refunds from my own panel?**

Yes. You order a full or partial refund in the store panel, without signing in to Paynow, and its status shows on the order. A refund can also be cancelled.

**How do you check the integration before launch?**

In the Paynow test environment. With test BLIK codes and a transfer of the test amount we trigger waiting, rejection and error, and a scenario passes only when the customer and the panel see what we expect. The production keys go in after your sign-off.

**Will the Paynow integration code be mine?**

Yes. Once the work is accepted and paid in full, the economic copyright in the Paynow integration code passes to you and you get the repository with run instructions. Open source libraries keep their own licences.

**What if Paynow changes its API?**

We adjust the integration to Paynow's changes: within the 90 days of support included after launch, later under a [maintenance](https://vulcode.com/en/services/website-maintenance) plan or as a separate short order. We follow Paynow's change notices and tell you in advance what needs fixing.

## Sources

Technical details come from the Paynow developer portal.

- [Integration: sandbox, signatures, notifications](https://docs.paynow.pl/docs/v3/integration)

- [Payments and statuses](https://docs.paynow.pl/docs/v3/payments)

- [Refunds](https://docs.paynow.pl/docs/v3/refunds)

- [White label payment](https://docs.paynow.pl/docs/v3/white-label-payment)

## Related pages

The other gateways and a comparison that helps you choose.

- [**Online payments** A comparison of Polish payment gateways.](https://vulcode.com/en/services/integrations/polish-payments)

- [**BLIK** BLIK by code, by alias and in recurring payments.](https://vulcode.com/en/services/integrations/blik)

- [**PayU** PayU through REST API 2.1, with cards and instalments.](https://vulcode.com/en/services/integrations/payu)

- [**Online stores** A custom-built store with payments.](https://vulcode.com/en/services/online-stores)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## More on this in our blog

- [BLIK fees in Polish payment gateways: Przelewy24, PayU, Tpay, Paynow and Stripe Five gateways charge in three ways: a percentage plus a per-transaction fee, a lower percentage with a monthly package, or a percentage alone. We put the standard BLIK rates side by side and show which gateway wins at which basket size.](https://vulcode.com/en/blog/polish-payment-gateways-compared)
