Onerway
Payment methods

Akulaku

Accept one-time Akulaku purchases through the Direct API or Checkout with customer details supplied in advance, and confirm the result on your server.

Basic information

Customers verify their Akulaku account, review the available repayment options, and confirm the purchase on the provider’s hosted flow.

  • Integration paths: Direct API, Checkout
  • Transaction type: One-time payment
  • lpmsInfo.lpmsType: AKULAKU
Customer country/regionOrder currency
🇮🇩 IDIDR

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

This guide covers enabled Akulaku configurations. 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 apply to enable Akulaku, contact Onerway to confirm that it can be enabled for your merchant account and application.

Before you begin

Complete Setup and confirm that Akulaku 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.

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. 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 Direct flow described here requires the customer’s actual billing country to be ID. The billing and shipping objects must still satisfy the API field conditions.

Start the payment

This is a one-time purchase in the Onerway request: use subProductType=DIRECT and txnType=SALE. Do not create a subscription or supply Onerway installment parameters merely because the customer selects a repayment plan on the provider’s page.

Direct API

  1. 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, and paymentMode=WEB. Set lpmsType=AKULAKU in lpmsInfo, encoded as a JSON string.
  2. Supply the customer details prepared above in billingInformation, and follow the API requirements for shippingInformation. Encode both as JSON strings. Include products, notification and return URLs, and merchant-collected end-user IP, browser, and device information in txnOrderMsg. Keep product and order currencies consistent, with product amounts, discounts, and shipping fees adding up to orderAmount.
    Select the request example “Redirect local payment request (illustrative)”. It uses Bancontact / BE / EUR to show the shared structure. Replace the method with AKULAKU, use IDR for this flow, and supply the actual order, customer name, email, phone, and address details. The example amount does not establish a transaction limit.
  3. Store the returned paymentId and transactionId. When status=R and actionType=QrCode, display the payment QR code on your page using data.codeForm. This is a JSON object, not a JSON string. Select a supported entry from codeDetails: for codeValueType=QRCODE and displayType=TEXT, generate a QR code from codeValue; for displayType=IMAGE, display the image at the returned codeValue URL. Do not assume a fixed number or order of entries. If expireTime is returned, use it to determine when the code expires. The illustrative redirect response is not the QR-code response for this flow.
  4. Ask the customer to scan the displayed QR code and follow the Akulaku instructions. Scanning or completing verification does not confirm payment. For other actions or states, follow Local payment integration. Do not repeatedly create the same order while waiting. 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.

  1. On your server, call Create checkout payment with productType=ALL, subProductType=DIRECT, and txnType=SALE. To show only Akulaku, set lpmsInfo.lpmsType to AKULAKU, 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, include the billing details listed above, and add this method’s lpmsInfo if you want to select only Akulaku. 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

Customers follow Akulaku’s instructions to sign in and complete the requested verification, check the purchase amount, and review the available repayment options and charges. They confirm the purchase and complete any initial payment required by the current flow. Your application does not collect Akulaku passwords, PINs, or verification codes.

Akulaku determines eligibility and the options available for the purchase. Do not promise approval, a fixed term, or interest-free repayment. Selecting a plan, completing verification, or returning to your site does not confirm payment. The customer’s subsequent repayments are handled with the provider; your server uses the Onerway payment result to decide when to fulfill the purchase.

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 Akulaku test procedure with Onerway, then follow Sandbox testing:

  1. Test each path you use with IDR and the customer details prepared above. For the Direct API, use a customer whose actual billing country is ID, and confirm that the returned QR code is displayed correctly and leads to the Akulaku payment flow when scanned. Check each returned code representation your integration supports and handle expireTime when provided. For Checkout, confirm that the first redirectUrl opens Checkout and that Akulaku is available.
  2. Check the purchase details and available repayment options on the Akulaku page. Complete the agreed verification and purchase test, including any required initial payment, then confirm the result on your server. Selecting a plan alone does not pass the successful-payment check.
  3. Test a customer leaving before authorization, unsuccessful verification or purchase, 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.