Blik payments

Provider: PayU

../../../_images/blik_1.jpg

Creating a standard payment

The merchant generates a standard request for set_transaction. In the payment section the aa_id is set to the ID of the Blik payment channel. The Blik payment channel ID is provided by USP team. Creating transaction asynchronous, and after sending the set_transaction request there is only returned a status if the request has been accepted or not. If the request is accepted, the transaction is processed.

Payment using code collected on merchant’s page (without redirect)

There is now also an option for user to provide BLIK code directly on merchant’s page. This code then has be passed along with “set_transaction” request and is further provided to payment agent when creating order. User does not have to be redirected to his bank’s page to provide BLIK code and is directly prompted to confirm transaction on his mobile phone. Thus, the whole flow becomes simplified. To achieve this, you should sent standard request to set_transaction method with “blik_code” in config as below:

../../../_images/blik_2.jpg
Payment with Blik’s code.
1
2
3
4
5
6
7
8
"payment": {
    "channel_id": <blik-channel-id>,
    "amount": "0",
    "currency": "PLN",
    "config": {
        blik_code": <blik-code-provided-by-user>
    }
},