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 amountThe 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 |
|---|---|
|
|
| The amount to be paid in the smallest units of the currency used. |
|
|
| Full name of the consumer. |
| The country of residence of the consumer. |
| The IP of the consumers browser or HTTP client. This is required for the |
| The user agent of the consumer or HTTP client. This is required for the |
authenticationSettings: REDIRECT
| Specify the URL to which the consumer should be redirected after completing the payment. This is required for the |
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.valueandamount.currencyof 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:
TBCTBCPick the desired authentication method
Updated 15 days ago