Bualuang iBanking
Basic information
The customer follows the payment instructions to review and confirm payment through Bualuang iBanking.
- Integration paths: Direct API, Checkout
- Transaction type: One-time payment
lpmsInfo.lpmsType:BUALUANG_IBANKING
| Customer country/region | Order currency |
|---|---|
| 🇹🇭 TH | THB |
The customer country/region is the billingInformation.country value in the payment request.
This guide applies to enabled merchants that collect the customer's billing and contact details before creating the payment, as described in Before you start. Before using another market or order currency, confirm the scope enabled for your merchant and application with Onerway, and use List Available Payment Methods to check the current order.
Before you start
Complete Integration Setup and confirm that Bualuang iBanking is enabled, along with the applicable transaction limits, payment expiry, settlement arrangements, and test procedure. See Currency and Amount Validation for amount formatting.
For the flow described here, collect the customer's billing first and last name, email address, actual country, and phone number before creating the payment. Confirm any additional customer information required by your enabled configuration with Onerway. Supply shipping details according to the API conditions for your chosen integration path. Configure notification and return URLs, and retain a mapping between your order and the Onerway payment identifiers.
Supply the collected firstName, lastName, email, country, phoneCountryCode, and phone in billingInformation. Follow the public API format: phoneCountryCode contains digits without +, and phone contains the local number without its country code. This guide supplies these details in advance; it does not rely on the payment page collecting missing information. The billing and shipping objects must still satisfy the API field conditions.
Start the payment
Direct API
- Check List available payment methods for the current order. After the customer selects this method, call Create direct transaction from your server with
productType=LPMS,subProductType=DIRECT,txnType=SALE, andpaymentMode=WEB. SetlpmsType=BUALUANG_IBANKINGinlpmsInfo, encoded as a JSON string. - Supply the customer details prepared above in
billingInformation, and follow the API requirements forshippingInformation. Encode both as JSON strings. Include products, notification and return URLs, and merchant-collected end-user IP, browser, and device information intxnOrderMsg. Keep product and order currencies consistent, with product amounts, discounts, and shipping fees adding up toorderAmount.
Select the request example “Redirect local payment request (illustrative)”. It uses Bancontact / BE / EUR to show the shared structure. Replace the method withBUALUANG_IBANKING, use THB for this flow, and supply the actual order, customer name, email, phone, and address details. The example amount does not establish a transaction limit. - Store the returned
paymentIdandtransactionId. Whenstatus=RandactionType=RedirectURL, redirect the customer’s browser toredirectUrl. The response example “Redirect local payment response (illustrative)” shows this shape. For other actions or states, follow Local payment integration. Do not repeatedly create the same order while waiting. - The provider’s page guides the customer through payment. When the customer returns to your site, display the result retrieved from your server. See Request authentication for authentication.
Checkout
If you offer only this method, first call List Available Payment Methods and check that it is returned for the current order. When Checkout displays all available methods, Onerway performs this filtering.
- On your server, call Create Checkout Payment with
productType=ALL,subProductType=DIRECT, andtxnType=SALE. To show only Bualuang iBanking, setlpmsInfo.lpmsTypetoBUALUANG_IBANKING, sendinglpmsInfoas a JSON string. If you omitlpmsInfo, the customer chooses from the methods available for the order. - Supply billing, shipping, goods, return URL, and notification URL fields as required by the API. Both
billingInformationandshippingInformationare JSON strings. Goods and order currencies must match, and goods amounts, discounts, and shipping charges must totalorderAmount.
Select the request example Unified Checkout with all available payment methods. Replace its order and customer data, use THB for this flow, and include the billing details listed above. Add this method'slpmsInfoif you want to show only Bualuang iBanking. RemovecardInfofrom the example for this flow. The example demonstrates the shared Checkout request structure. - Select the response example Unified Checkout session created. Save the returned
paymentIdandtransactionIdagainst your order, then redirect the customer's browser toredirectUrl. The initialstatus=Umeans the payment is unpaid. - Checkout presents the payment page and guides the customer through the next steps. When the customer returns to
returnUrl, display the order result obtained from your server. See Checkout Integration for request authentication, redirects, and return handling.
Customer steps and final result
The customer follows the payment instructions to enter Bualuang iBanking, logs in to the bank, reviews the payment details, and confirms payment as requested by the bank. Follow the instructions shown for that payment; your application should not collect the customer’s banking credentials or verification codes.
The customer may leave before completing verification or payment. Opening the bank payment page, completing verification, or returning to your website does not establish that payment succeeded. Keep the order pending until your server obtains the result.
Process the verified Payment Result notification on your server. If a notification is missing or the result needs checking, use the saved paymentId with Query Payments. Fulfil the order only after server-side confirmation of success. See Webhooks for signature verification, acknowledgement, idempotency, and query fallback.
Refunds and disputes
Confirm the refund capabilities, restrictions, and dispute process applicable to your merchant with Onerway. If refunds are enabled, follow Refunds.
Testing and go-live
Confirm the test environment and available Bualuang iBanking test procedure with Onerway, then use Sandbox Testing to verify:
- Test each path you use with THB and the customer details prepared above. For the Direct API, confirm that the returned redirect opens the payment page. For Checkout, confirm that the first
redirectUrlopens Checkout and that Bualuang iBanking is available before proceeding to the bank payment flow. - Check that the hosted flow presents the correct payment details and lets the customer continue with Bualuang iBanking. Complete the agreed bank verification and payment test, then confirm the result on your server. Opening the banking service or completing verification alone does not pass payment acceptance.
- Test leaving before payment, verification or payment failure, and returning before the final result is known. Also test query fallback for a missing notification and idempotent handling of duplicate notifications.
- During go-live acceptance, retain the notification and acknowledgement for the same order and query it once to check that the results agree. Verify production enablement, notification and return URLs, limits, and expiry. Test refunds separately if enabled.
K PLUS
Accept one-time K PLUS payments through the Direct API or Checkout with customer billing details supplied in advance and confirm the result on your server.
Multicaja
Accept one-time Multicaja payments through the Direct API or Checkout with customer details supplied in advance and confirm the bank-transfer result on your server.