EXTERNAL_HPP_BLIK

Payment Method Identifier: EXTERNAL_HPP_BLIK

This method enables BLIK payments through an external Hosted Checkout Page (HPP). The payment page handles the BLIK flow securely, offloading PCI compliance concerns and simplifying frontend integration.

Required Request Fields

Top-Level Fields

FieldTypeDescription
callbackUrlStringThe server endpoint that receives transaction status updates (webhooks) after payment processing.
successRedirectUrlStringThe URL to which the customer is redirected after completing the payment.
failureRedirectUrlStringThe URL to which the customer is redirected if the payment fails or is declined.

Billing Details (ApmBillingDetails)

FieldTypeDescription
firstNameStringThe customer's given name as it appears on billing records.
lastNameStringThe surname of the customer for identification and billing purposes.
address1StringThe first line of the customer's billing address (e.g., street name).
cityStringThe city associated with the customer's billing address.
countryStringThe two-letter ISO Alpha-2 country code of the billing address.
postalCodeStringThe postal or ZIP code for the customer's billing location.
phoneStringThe customer's contact phone number, including country code if available.
emailStringThe customer's email address used for communication and receipt purposes.

Device Information (Device)

FieldTypeDescription
ipStringThe IP address of the customer's device, captured during the payment request.

Payload Structure

{
  "paymentMethod": "EXTERNAL_HPP_BLIK",
  "paymentType": "BANK_TRANSFER"
}

Fields

FieldTypeRequiredDescription
paymentMethodEnumYesSpecifies the payment method. Must be set to "EXTERNAL_HPP_BLIK" for BLIK transactions.
paymentTypeEnumYesDefines the payment type. Must always be "BANK_TRANSFER" when using BLIK.

All interactions with BLIK (code entry, user authentication, etc.) are managed by the Hosted Checkout Page.

Expected apmResponseData (ExternalHppBlikResponseData)

{
  "paymentMethod": "EXTERNAL_HPP_BLIK",
  "paymentType": "BANK_TRANSFER",
  "actionType": "REDIRECTION",
  "redirectUrl": "https://checkout.example.com/redirect/blik/xyz789",
  "iframeUrl": null,
  "qrData": null,
  "qrDeepLink": null,
  "providerTransactionId": "txn_blik_001"
}

Response Fields

FieldTypeDescription
paymentMethodEnumIndicates the payment method used. For BLIK, this is always EXTERNAL_HPP_BLIK.
paymentTypeEnumSpecifies the type of payment. For BLIK transactions, it is always BANK_TRANSFER.
actionTypeEnumAlways REDIRECTION.
redirectUrlString (nullable)URL to which the customer is redirected to complete the BLIK checkout process.
iframeUrlString (nullable)Always Null.
qrDataString (nullable)Always Null.
qrDeepLinkString (nullable)Always Null.
providerTransactionIdString (nullable)A unique transaction identifier returned by the payment provider for tracking and reconciliation.