Onerway
Payment methods

OVO

Accept one-time OVO payments through Checkout with customer details and the wallet phone number supplied in advance, then confirm the result on your server.

Basic information

Customers open the OVO app or its payment notification and confirm payment in the wallet.

  • Integration path: Checkout
  • Transaction type: One-time payment
  • lpmsInfo.lpmsType: OVO
Customer country/regionOrder currency
🇮🇩 IDIDR

The customer country/region is the billingInformation.country value in the payment request.

This guide covers enabled OVO configurations. It applies when you have collected the customer’s billing name, email, actual country, and the mobile number linked to their OVO wallet before creating the 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 OVO 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.

Confirm the enabled OVO configuration and any additional customer identity requirements with Onerway. Collect the customer’s billing name, email, actual country, and OVO wallet phone number. Follow the Checkout API conditions for shipping information. Configure your notification and return URLs, and store the mapping between your order and the Onerway identifiers.

Start the payment with 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.

Supply the collected firstName, lastName, email, country, phoneCountryCode, and phone in billingInformation. Use the mobile number linked to the customer’s OVO wallet. Put the calling code in phoneCountryCode as digits without +, and the local number without the calling code in phone. Both billing and shipping objects must meet the API field conditions. If your enabled configuration requires an identity number, collect it in the agreed format and supply billingInformation.identityNumber as a string. This flow does not rely on the payment page collecting a missing wallet phone number or required identity details.

  1. On your server, call Create checkout payment with productType=ALL, subProductType=DIRECT, and txnType=SALE. To show only OVO, set lpmsInfo.lpmsType to OVO, sending lpmsInfo as a JSON string. If you omit lpmsInfo, the customer chooses from the methods available for the order.
  2. Supply the required billing, shipping, product, return URL, and notification URL fields. Encode billingInformation and shippingInformation as JSON strings. Keep product and order currencies consistent, and ensure that product amounts, discount entries, and shipping fees add up to orderAmount.
    Select the request example “Unified Checkout with all available payment methods”. Replace the order and customer details, use IDR for this flow, and add this method’s lpmsInfo if you want to select only OVO. Remove the example’s cardInfo object for this flow. The example shows the shared Checkout request structure.
  3. Select the response example “Unified Checkout session created”. Store the returned paymentId and transactionId against your order, then redirect the customer’s browser to redirectUrl. The initial status=U means that payment has not been completed.
  4. 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

After selecting OVO and submitting the payment, customers follow the current payment page to open the OVO app or its payment notification. They check the amount and confirm payment in the wallet. Keep the payment page open until it finishes processing, following any status-check instructions it displays. Your application does not collect OVO PINs or verification codes.

Customers may leave before completing payment. Opening the app, receiving a notification, confirming in the wallet, or returning to your site does not by itself update the merchant order to paid. Keep the order awaiting confirmation until your server retrieves the Onerway 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 OVO test procedure with Onerway, then follow Sandbox testing:

  1. Create an order with IDR and the required customer details. Confirm that redirectUrl opens Checkout and that OVO is available.
  2. Check that the wallet phone number is supplied correctly and that Checkout displays the instructions for continuing in OVO. Complete the agreed app or notification payment test, then confirm the result on your server. Displaying instructions or opening the wallet alone does not pass the successful-payment check.
  3. Test a customer leaving before authorization, failed authentication or payment, and a return to your site before a final result. Verify query fallback when no notification has arrived and idempotent handling of duplicate notifications.
  4. 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.