Recurring

BLIK supports recurring payments, and we streamline this process for you with Payment agreements.

BLIK provides a flexible and automated solution designed for merchants managing subscription or usage based payments. Learn more.

❗️

Maximum amount

The maximum amount of a single recurring payment charge is 2,000 PLN.

Create the payment agreement

To create a BLIK payment agreement, provide the following information when calling our payment agreements endpoint:

Data Field

Description

paymentMethod

BLIK

amount.value

The amount to be paid in the smallest units of the currency used.

amount.currency

PLN

conumer.name

Full name of the consumer.

consumer.country

The country of residence of the consumer.

consumer.client.ip

The IP of the consumers browser or HTTP client. This is required for the MULTI_FACTOR payment flow.

consumer.client.userAgent

The user agent of the consumer or HTTP client. This is required for the MULTI_FACTOR payment flow.

authenticationSettings: REDIRECT settings.returnUrl

Specify the URL to which the consumer should be redirected after completing the payment. This is required for the REDIRECT payment flow.

You can also include the initialPaymentCharge object in this agreement creation call to immediately initiate the first payment without making a separate call. If you include this object, you'll need to specify:

  • The exact amount.value and amount.currency of the first payment

If you don't include an initialPaymentCharge during agreement creation, you'll need to make a separate API call to /v1/payment-agreements/{agreement_id}/payment-charges to create the first charge.

Request

POST /v1/payment-agreements

{
  "paymentMethod": "BLIK",
  "consumer": {
    "name": "John Smith",
    "country": "PL",
    "client": {
     "ip": "11.22.22.33",
     "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"
    }
  },
  "authenticationSettings": [
    {
      "type": "REDIRECT",
      "settings": {
        "returnUrl": "https://www.webshop.com/order-results-page"
      }
    }
  ]
}
{
  "paymentMethod": "BLIK",
  "consumer": {
    "name": "John Smith",
    "country": "PL",
    "client": {
     "ip": "11.22.22.33",
     "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"
    }
  },
  "authenticationSettings": [
    {
      "type": "REDIRECT",
      "settings": {
        "returnUrl": "https://www.webshop.com/order-results-page"
      }
    }
  ],
  "initialPaymentCharge": {
    "amount": {
      "value": 1000,
      "currency": "PLN"
    }
  }
}

Response

You'll receive our standard payment charge response with the available authentication methods:

TBC
TBC

Pick the desired authentication method