Antom, leading provider of tailored payment solutions

Pre-front solution

Note: This page has been deprecated and is no longer maintained or updated. Visit https://docs.antom.com/ for the latest content.
In standard integration experiences, buyers are required to redirect to a payment method page to complete certain actions, such as selecting a specific bank payment method, entering payment details, or scanning/copying payment passwords. The following best practices guide you in presenting bank lists, payment details, QR codes, or payment passwords on your page, reducing the need for page redirection during the payment process and improving the buyer experience.

Bank pre-front solution

In a standard integration solution, buyers need to select a specific online banking option on the payment method page before being redirected to the online banking page. However, this process can be time-consuming and often leads to higher buyer drop-off rates. The bank pre-front solution allows buyers to directly redirect to the bank page after selecting a bank on the merchant page, rather than redirecting to the Antom intermediate page to select a specific bank and then redirect to the bank, which optimizes the payment experience of online banking.

User experience

This pre-front capability supports integration on web, WAP, and app platforms. The following figure compares the user experience between the standard solution and the optimized solution for a buyer using the Przelewy24 payment method on the merchant's app platform.
Standard Solution
Optimized Solution
Merchant page: Select a payment method.
Antom intermediate page: Select a specific bank.
Bank page: Complete the payment.
Merchant page: Select a payment method and specific bank.
Bank page: Complete the payment.
  Table 1. Comparison of user experience between standard solution and bank pre-front solution
The differences between the standard solution and the optimized solution:
  • Standard Solution: Buyers need to redirect to an intermediate Przelewy24 page to select a specific bank.
  • Optimized Solution: Buyers can directly select a bank on the merchant's page, eliminating the need to redirect to an intermediate Przelewy24 page and reducing buyer drop-off.

Integration considerations

The integration steps for this solution are consistent with the standard integration process, requiring only minor adjustments to the input and output parameters of the API.
  • When calling the consult API to obtain the list of payment methods, for payment methods that support bank pre-front solution, the supportBanks list is returned in the paymentOptionDetail field. Taking the payment method Przelewy24 as an example, the available bank list for this payment method will be displayed in the sub-parameters bankIdentifierCode and bankShortName of paymentOptionDetail.supportBanks. Additionally, you can contact Antom Technical Support to obtain the corresponding logo.
  • When calling the pay API, you need to pass the payment method and specify the bank. For example, for the Przelewy24 payment method, if the buyer selects ING Bank Śląski as the bank under the Przelewy24 channel, you need to include the following parameters in the input of the pay API:
  • paymentMethod.paymentMethodType: P24
  • paymentMethod.paymentMethodMetaData.bankIdentifierCode: 49
The following is the code sample:
json
"paymentMethod": {
        "paymentMethodType": "P24",
        "paymentMethodMetaData": {
            "bankIdentifierCode": "49"
        }
    }

Supported payment methods

The following table shows the payment method enumeration values, bank abbreviations, and specific bank enumeration values corresponding to the payment methods supported by the bank pre-front solution.
Payment methods
Payment method enumeration values
Abbreviation of bank name
Specific bank enumeration
paymentMethodType
bankShortName
bankIdentifierCode
FPX
ONLINEBANKING_FPX
Maybank
MYM2U
Bank Islam
MYBISM
RHB Bank
MYRHB
Hong Leong Bank
MYHLB
CIMB Bank
MYCIMBCLICKS
AmBank
MYAMB
Public Bank
MYPBB
Affin Bank
MYABB
Agro Bank
MYAGB
Alliance Bank
MYABMB
Bank Muamalat
MYBMMB
Bank of China
MYBOC
Bank Rakyat
MYBKRM
Bank Simpanan Nasional
MYBSN
HSBC Bank
MYHSBC
Kuwait Finance House
MYKFH
OCBC Bank
MYOCBC
Standard Chartered Bank
MYSCB
UOB Bank
MYUOB
Przelewy24
P24
Santander-Przelew24
20
Pay with Inteligo
26
Płacę z iPKO (PKO BP)
31
BNP Paribas
33
Bank PEKAO S.A
43
Credit Agricole
45
ING Bank Śląski
49
Konto Inteligo
52
Bank PKO BP (iPKO)
53
Santander
54
Toyota Bank
64
Bank PEKAO S.A.
65
Volkswagen Bank
69
Bank Millennium
85
Pay with Alior Bank
88
Nest Bank
90
Credit Agricole
95
Pay with BOŚ
99
Pay with ING
112
Pay with CitiHandlowy
119
Alior - Raty
129
Pay with Plus Bank
131
mBank - Raty
136
e-transfer Pocztowy24
141
Banki Spółdzielcze
143
Bank Nowy BFG S.A.
144
Getin Bank
153
BLIK
154
Noble Pay
158
Pay with IdeaBank
161
NestPrzelew
222
BNP Paribas Płacę z Pl@net
223
mBank - mTransfer
243
P24now
266
mBank (PIS)
270
ING Bank Śląski (PIS)
271
BNP Paribas (PIS)
272
Bank PKO BP (PIS)
274
Santander (PIS)
275
Konto Inteligo (PIS)
279
Alior Bank (PIS)
280
Pay by bank
ONLINEBANKING_YAPILY
monzo_ob
monzo_ob
santander_uksantander_uk
hsbc_ukhsbc_uk
lloyds
lloyds
revolut
revolut
barclaysbarclays
natwest
natwest
nationwide
nationwide
Table 2. Supported payment methods for bank pre-front solution

Payment element pre-front solution

In a standard integration solution, buyers need to navigate to the payment method page to enter payment elements (such as login credentials, dynamic passwords, etc.) before completing the payment. However, this process can be time-consuming and often leads to higher buyer drop-off rates. To avoid this, this solution directly redirects to the payment method page or receives a push notification from the mobile phone after entering the buyer's mobile account, payment password, email address and personal tax number on the merchant page, rather than redirecting to the Antom intermediate page to collect the buyer payment information and then redirect to the payment method page, reducing the need for redirection and minimizing buyer drop-off.

User experience

This pre-front capability also supports integration on web, WAP, and app platforms. The following figure compares the user experience between the standard solution and the optimized solution for a buyer using the Pay-easy payment method on the merchant's app.
Standard Solution
Optimized Solution
Merchant page: Select the payment method.
Antom intermediate page: Enter the buyer information.
Bank page: Complete the payment.
Merchant page: Select the payment method and enter the buyer information.
Bank page: Complete the payment.
Table 3. Comparison of user experience between standard solution and payment element pre-front solution
The differences between the standard solution and the optimized solution:
  • Standard Solution: Buyers need to redirect to an intermediate Antom page to enter their Pay-easy account information.
  • Optimized Solution: Buyers can directly input their account information on the merchant's page, eliminating the need to redirect to an intermediate Antom page and reducing buyer drop-off.

Integration considerations

The integration steps for this solution are consistent with the standard integration process, requiring only minor adjustments to note:
When calling the pay API, you need to specify the payment method and buyer information. For example, for the Pay-easy payment method, if the buyer enters the personal information under the Pay-easy channel on the merchant page, you need to include the following parameters in the pay API.
json
"buyer": {
  "buyerEmail": "gaga@gaga.com",
  "buyerName": {
    "firstName": "lady",
    "lastName": "gaga"
  },
  "buyerPhoneNo": "12345678901"
}

Supported payment methods

The following table shows the payment methods supported by the payment element pre-front solution, the payment elements they collect, the corresponding parameter names for the payment elements, and the best practices for implementing this solution.
Payment methods
Collect payment components
Payment component parameter name
Best practices
OVO
OVO mobile account
  • order.buyer.buyerPhoneNo
Guide the buyer to input their OVO mobile account on the merchant page, with the suggested message: Manually open the OVO application and complete the payment within 55 seconds.。
BLIK
BLIK 6-digit dynamic password, client device IP address, buyer browser agent
  • paymentMethodMetaData.blikCode
  • env.clientIp
  • env.browserInfo.userAgent
Guide the buyer to input their BLIK code on the merchant page, with the suggested message: How to obtain BLIK code: Please find the BLIK code in the BLIK application; How to pay: Manually open the BLIK application and complete the payment within 15 seconds.
Przelewy24
Buyer's email
  • paymentMethodMetaData.payerEmail
  1. Guide the buyer to input their email on the merchant page or use a previously stored buyer email.
  2. Use the payment API's returned payment method link to redirect the buyer to the payment method page.
Mercado Pago (Brazil)
Brazilian individual tax ID
  • paymentMethodMetaData.cpf
Guide buyers to input Brazilian individual tax ID on the merchant page and manually open the Mercado Pago application to complete the payment.
Mercado Pago
(Brazil, Mexico, Chile, and Peru)
Buyer's email
  • paymentMethodMetaData.payerEmail
Guide buyers to input email on the merchant page and manually open the Mercado Pago application to complete the payment.
BANCOMAT Pay
BANCOMAT Pay mobile account
  • order.buyer.buyerPhoneNo
Guide buyers to input their BANCOMAT Pay mobile account on the merchant page, with the suggested message: Only support the registration of Bancomat Pay in the EU mobile number. The mobile phone format is +39******, and no more than 20 characters.
Pay-easy
Buyer's name, phone number, and email
  • order.buyer.buyerName.firstName
  • order.buyer.buyerName.lastName
  • order.buyer.buyerEmail
  • order.buyer.buyerPhoneNo
Guide buyers to input the personal information on the merchant page: Name, phone number, and email address.
Konbini
Buyer's name, phone number, email, and store name
  • order.buyer.buyerName.firstName
  • order.buyer.buyerName.lastName
  • order.buyer.buyerEmail
  • order.buyer.buyerPhoneNo
  • paymentMethod.paymentMethodMetaData.storeName
Guide buyers to input the personal information on the merchant page: Name, phone number, email address, and store name.
Konbini (7-Eleven)
Buyer's name, phone number, and email
  • order.buyer.buyerName.firstName
  • order.buyer.buyerName.lastName
  • order.buyer.buyerEmail
  • order.buyer.buyerPhoneNo
Guide buyers to input the personal information on the merchant page: Name, phone number, and email address.
MB WAY
Buyer's phone number
  • paymentMethod.paymentMethodMetaData.payerPhoneNo
Guide buyers to input their MB WAY mobile account on the merchant page. The mobile phone format is +35* *********.
Table 4. Supported payment methods for payment element pre-front solution

QR code/password pre-front solution

In a standard integration solution, buyers need to navigate to the payment method page to scan a QR code or enter a payment password to complete the payment. However, this process can be time-consuming and often leads to higher buyer drop-off rates. To mitigate this, you can display the payment QR code or payment password on the merchant's page, reducing the need for redirection and minimizing buyer drop-off.

User experience

This pre-front capability supports integration on web, WAP, and app platforms. The following figure compares the user experience, best practices, and the standard and optimized solutions for a buyer using the AlipayHK payment method on the merchant's web platform for QR code pre-front mode and the bank transfer payment method on the merchant's app platform for password pre-front mode.
Pre-front mode
Standard solution
Optimized solution
Best practices
QR code pre-front solution
  • It is recommended that you specify the orderCodeForm.expireTime parameter to set the timeout period and display the payment QR code expiration countdown on the merchant page.
  • It is recommended that you use a floating layer to display the payment QR code.
  • For payment methods AlipayHK, Alipay, GCash, Touch'n Go eWallet, Kakao Pay, LINE Pay, TrueMoney, you need to present the QR code in a floating layer according to the brand specification and display the " powered by A+" at the bottom of the code page.
  • Payment methods of QRIS, PayNow, and PromptPay have a code-scanning experience on all three platforms (Web, WAP, and App), and you can provide this capability to these payment methods on all three platforms.
  • For other payment methods, it is recommended to display the QR code on the Web only, and use the evoke app payment or password payment experience on the WAP and App.
Password pre-front solution
  • It is recommended that you specify the orderCodeForm.expireTime parameter to set the timeout period and display the payment QR code expiration countdown on the merchant page.
  • It is recommended that you use a floating layer to display the payment password. The floating layer supports buyers to copy passwords and provides operation tips for buyers.
Table 5. Comparison of user experience between standard solution and QR Code/Password Pre-Front Solution
The differences between the standard solution and the optimized solution:
  • Standard solution: Buyers need to redirect to an intermediate Antom page to scan the QR code or retrieve the password.
  • Optimized solution: Buyers can directly scan the QR code or retrieve the password on the merchant's page, eliminating the need to redirect to an intermediate Antom page and reducing buyer drop-off.

Integration considerations

Although the integration steps for this solution are consistent with the standard integration process, there are some key differences to note:
In the response of the payment request, you can obtain the payment QR code or payment password through the orderCodeForm.codeDetails.codeValue field. The payment QR code can be provided in text format (displayType = TEXT/MIDDLEIMAGE/SMALLIMAGE/BIGIMAGE). The payment password is provided in TEXT format (When the TEXT type is a link, it means that the QR code needs to be processed separately). You can display the payment QR code or payment password on the merchant's page as needed, and show the expiration time according to the orderCodeForm.expireTime field. When the buyer's payment is completed, the merchant side controls the redirect to the payment result page to ensure that the buyer can check the payment status timely.
The following is a code example:
json
"orderCodeForm": {
    "codeDetails": [
      {
        "codeValue": "5461581653",
        "displayType": "TEXT"
      },
      {
        "codeValue": "https://global.alipay.com/merchant/order/showQrImage.htm?code=https%3A%2F%2Fglobal.alipay.com%2F281002040091leOl1lerj31tHD30nPg8YNIS&picSize=L",
        "displayType": "BIGIMAGE"
      },
      {
        "codeValue": "https://global.alipay.com/merchant/order/showQrImage.htm?code=https%3A%2F%2Fglobal.alipay.com%2F281002040091leOl1lerj31tHD30nPg8YNIS&picSize=M",
        "displayType": "MIDDLEIMAGE"
      },
      {
        "codeValue": "https://global.alipay.com/merchant/order/showQrImage.htm?code=https%3A%2F%2Fglobal.alipay.com%2F281002040091leOl1lerj31tHD30nPg8YNIS&picSize=S",
        "displayType": "SMALLIMAGE"
      },
      {
        "codeValue": "|010555303610000 0000005461581653 0000005461581653 3500",
        "displayType": "TEXT"
      }
    ],
    "expireTime": "2025-03-27T23:26:06-07:00"
  },

Supported payment methods

The following table shows the payment methods supported by the QR code/password pre-front solution and the recommended merchant-side implementation type for this capability.
Pre-front mode
Supported payment methods
Recommended merchant-side implementation type
QR code pre-front solution
QRIS, PayNow, PromptPay, Konbini
Web, WAP, App
AlipayHK, Alipay, GCash, Touch'n Go eWallet,
Kakao Pay, LINE Pay, TrueMoney,
ShopeePay, Pay by bank
Web
Password pre-front solution
Pix
Web, WAP, App
Maybank
BNI
Permata
CIMB Niaga VA
ATM Bersama/Prima/Alto
Bangkok Bank
Siam Commercial Bank
Bank of Ayudhya
Krungthai Bank
Kbank
Government Savings Bank
Table 6. Supported payment methods for QR Code and Password Pre-Front Solution
Note: Pay by bank requires the bank pre-front to be implemented first, after which Antom will return the QR codes for each bank.