Pay-easy
Basic information
Customers follow the hosted page’s available options to pay through online banking or at a supported ATM.
- Integration paths: Direct API, Checkout
- Transaction type: One-time payment
lpmsInfo.lpmsType:PayEasy
| Customer country/region | Order currency |
|---|---|
| 🇯🇵 JP | JPY |
The customer country/region is the billingInformation.country value in the payment request.
This guide covers enabled configurations and applies when you collect the customer’s billing name, katakana name, email, phone number, and country before starting payment, as described in Before you begin. Before using another market or order currency, confirm the enabled scope for your merchant account and application with Onerway, then check the current order with List available payment methods.
Before you begin
Complete Setup and confirm that Pay-easy is enabled. Also confirm transaction limits, the applicable payment validity period, settlement arrangements, and the test procedure. For amount formatting, see Currency and amount validation.
Collect the customer details for this flow and submit them in billingInformation; use the customer’s actual billing country. Follow the API conditions for shipping information. Configure your server notification URL and customer return URL, and store the mapping between your order and the Onerway identifiers.
For this flow, include the collected firstName, lastName, jpFirstName, jpLastName, email, country, and phone in billingInformation. Use katakana for the Japanese name fields and a local phone number of 10–11 digits, without a country code, spaces, or hyphens. Supply the matching phoneCountryCode as digits without +. Follow the billing field definitions for 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=PayEasyinlpmsInfo, 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 withPayEasy, use JPY 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
When locking Checkout to this method, first call List available payment methods for the current order and confirm that the method is returned. 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 Pay-easy, setlpmsInfo.lpmsTypetoPayEasy, sendinglpmsInfoas a JSON string. If you omitlpmsInfo, the customer chooses from the methods available for the order. - Supply the required billing, shipping, product, return URL, and notification URL fields. Encode
billingInformationandshippingInformationas JSON strings. Keep product and order currencies consistent, and ensure that product amounts, discount entries, and shipping fees add up toorderAmount.
Select the request example “Unified Checkout with all available payment methods”. Replace the order and customer details, use JPY for this flow, include the billing details listed above, and add this method’slpmsInfoif you want to select only Pay-easy. Remove the example’scardInfoobject for this flow. The example shows the shared Checkout request structure. - Select the response example “Unified Checkout session created”. Store the returned
paymentIdandtransactionIdagainst your order, then redirect the customer’s browser toredirectUrl. The initialstatus=Umeans that payment has not been completed. - Checkout handles the payment page and subsequent customer interaction. When the customer reaches
returnUrl, display the result retrieved from your server. For request authentication, redirects, and return handling, see Checkout integration.
Customer actions and final result
Customers select online banking or ATM payment from the options offered on the current hosted page:
- Online banking: Select an available bank, log in on the bank’s page, check the payment information, and complete the required authentication and payment authorization. Your application does not collect online-banking credentials or one-time passwords.
- ATM: Save the payment number shown on the hosted page, then follow its instructions to complete payment at a supported ATM. Your application does not generate this payment number.
Customers should follow any payment deadline displayed on the hosted page.
Customers may leave before completing payment. Obtaining a payment number, logging in to the bank, opening the payment page, or returning to your site does not confirm payment. Keep the order awaiting confirmation until your server retrieves the result.
Process the order using a signature-verified payment result webhook. If no notification has arrived or you need to check the result, call Query payments with the stored paymentId. Fulfill the order only after your server confirms a successful payment. For verification, acknowledgement, idempotency, and query fallback, see Webhooks.
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 Pay-easy test procedure with Onerway, then follow Sandbox testing:
- Test each path you use with JPY and the customer details prepared above. For the Direct API, confirm that the returned redirect opens the provider’s payment page. For Checkout, confirm that the first
redirectUrlopens Checkout and that Pay-easy is available before proceeding to the provider’s page. - Test the enabled options you intend to use. For online banking, check bank selection and complete the agreed authentication and authorization test. For ATM payment, check the payment number, amount, and any displayed deadline, then complete the agreed payment test. Confirm the result on your server; obtaining a payment number or reaching the bank page does not pass the successful-payment check.
- Test an ATM payment number issued but not yet paid, a customer leaving before payment, failed authentication or payment, and a return before a final result, as applicable to the enabled options. If a deadline is displayed, test the agreed expiry handling. Verify query fallback when no notification has arrived and idempotent handling of duplicate notifications.
- For go-live acceptance, retain the notification and acknowledgement for the same order. Query the payment status and check that it matches the notification. Check production enablement, notification and return URLs, limits, and validity periods. Test refunds separately if they are enabled.
Konbini
Accept one-time Konbini payments through the Direct API or Checkout with customer details supplied in advance, then confirm receipt on your server.
SafetyPay Online
Accept one-time SafetyPay Online payments through the Direct API or Checkout with customer details supplied in advance, and confirm the bank-payment result on your server.