BLIK(PayLater)
BLIK Pay Later allows customers in Poland to complete payments using the pay-later option offered through participating banking applications. After the payment request is created, redirect the customer to the returned pay_url to authorize and complete the payment.
Endpoint
POST https://gateway-test.pagsmile.com/trade/pay
Headers
Content-Type
string
Yes
Fixed value: application/json; charset=UTF-8.
Authorization
string
Yes
Basic authentication using Base64(app_id:security_key).
Request body
app_id
string
Yes
Use the App ID assigned by Pagsmile.
Merchant application ID.
out_trade_no
string
Yes
Maximum length: 64 characters. Must be unique for the merchant application.
Merchant order number.
method
string
Yes
Fixed value: BLIKPayLater.
Payment method.
order_currency
string
Yes
Fixed value: PLN.
Payment currency.
order_amount
decimal
Yes
Minimum: 0.01 PLN; maximum: 50,000.00 PLN. Supports up to two decimal places.
Payment amount.
subject
string
Yes
Maximum length: 128 characters.
Payment subject or order title.
content
string
No
Maximum length: 255 characters.
Payment description or order details.
timestamp
string
Yes
Format: yyyy-MM-dd HH:mm:ss.
Time at which the request is sent.
notify_url
string
Yes
Must be a valid URL
Merchant endpoint that receives asynchronous payment notifications.
buyer_id
string
Yes
Maximum length: 128 characters.
Merchant-side customer ID.
customer.name
string
Yes
Must not be empty. Provide the customer's full name.
Name of the customer making the payment.
Request example
Response example
Complete the payment
Redirect the customer to the complete
pay_urlreturned by Pagsmile.Allow the customer to authorize the payment using the instructions displayed on the redirected page or in the supported banking application.
Use the payment notification or the Payin Detail API to determine the final payment status.
Last updated