Instruction

When you create a purchase, you’ll be given a checkout_url to redirect the buyer to the payment page. To automatically redirect customers to a specific bank, you need to add the following parameters to the URL:

?preferred=<FPX>&fpx_bank_code=<Bank Code>

You will have to set two options. The first one is <FPX> and the second one is <Bank Code>.

FPX Type List

For the <FPX> option, the available choices are:

TypeValue
FPX B2C(Standard FPX) fpx
FPX B2B1(FPX for Business/Corporate Account) fpx_b2b1

Bank Code List

As for the <Bank Code>, the following options are available:

Bank NameValue (Bank Code)
Affin BankABB0233
Alliance Bank (Personal)ABMB0212
AGRONetAGRO01
AmBankAMBB0209
Bank IslamBIMB0340
Bank MuamalatBMMB0341
Bank RakyatBKRM0602
Bank Of ChinaBOCM01
BSNBSN0601
CIMB BankBCBB0235
Hong Leong BankHLB0224
HSBC BankHSBC0223
KFHKFH0346
Maybank2EMBB0228
Maybank2uMB2U0227
OCBC BankOCBC0229
Public BankPBB0233
RHB BankRHB0218
Standard CharteredSCB0216
UOB BankUOB0226

Examples

Here is a comprehensive example of a URL for the FPX payment option:

Real-World scenario

This is how it appears in a real-world scenario: