Direct Checkout — Mode: FPX
Returns an FPX (online banking) redirect URL. Customer chooses their bank from the FPX bank list and is redirected to complete payment.
When to Use
▾
Use this mode when:
- Accepting Malaysian online banking payments
- The customer prefers paying via their bank's online portal
How to Use
▾
Endpoint
POST
/v3/payment/online/checkoutStep 1: Get the FPX Bank List
▾
GET /v3/payment/fpx-bank to retrieve the list of supported banks, and let the customer pick their bank.
Step 2: Create a Checkout
▾
Call Hosted Payment Checkout to obtain checkoutId.
Step 3: Request the FPX Redirect URL
▾
POST with type: "URL", method: "FPX_MY", and fpx.bankCode.
Step 4: Redirect the Customer
▾
Send the customer to the returned url to complete payment at their bank.
Request Parameters
▾
Checkout ID from the Hosted Payment Checkout response.
Checkout type. Set to "URL".
Payment method. Set to "FPX_MY".
FPX banking details
FPX bank code from the table above.