Onerway
Get Started

Overview

Account balance, account transaction, account statement, and Global Account management services.

Onerway Account is for merchants that need to manage account funds, query balance movements, export statements, and use Global Account capabilities. You can use Account service APIs to query multi-currency balances, trace account transactions, export daily statements, and create or query a Global Account after the required capability is enabled.

For new integrations with account balance, account transaction, and account statement APIs, use the current Account service endpoints. The API Reference sidebar groups the current endpoints by Account balance, Account transaction, Account statement, and Global Account. Deprecated endpoints are not shown as current integration entry points.

Account Model

The current account model distinguishes two main account dimensions. Understanding them is the prerequisite for reading balance fields correctly:

  • Payment Account: holds payment and acquiring funds and their balance movements, such as payment proceeds, settlement, frozen funds, and risk deposit retention. Read it from paymentBalance.
  • Funding Account: holds fund management flows such as inbound funds, transfers, payouts, and card issuing. Funds received by a Global Account usually settle into the Funding account. Read it from fundingBalance.

Pick the balance dimension by your business goal:

Your goalRead
Fund results from payment (acquiring) businesspaymentBalance
Funds for inbound transfers, transfers, payouts, or card issuingfundingBalance
Dashboard or multi-currency overview displaytotalAmount from the balance overview; displayCurrency only affects display, does not change underlying balances, and is not a reconciliation basis
Finance reconciliation or fund investigationDo not rely on totalBalance alone; read it together with the other balance types and account transactions

Capabilities

CapabilityUse caseRecommended entry point
Account balanceQuery balance summaries across currencies or read the balance for one currency.Query account balance overview
Account transactionQuery account balance movement records or look up related records by transaction order number.Query account transactions
Account statementExport daily account statement CSV files for finance reconciliation.Export daily account statement
Global AccountCreate a Global Account and retrieve onboarding details, account status, and notification URL.Create Global Account
Response codesIdentify causes from Account service response codes and decide troubleshooting actions.Response codes

Integration Path

Complete setup

Prepare the Account service base URL, ApiKey, x-timestamp, outbound IP allowlist, and API permissions first. The current Account service base URLs are:

EnvironmentBase URL
Sandboxhttps://sandbox-api.onerway.com/account-server
Productionhttps://api.onerway.com/account-server

The Setup page includes required request headers, the example ApiKey, the 10-minute timestamp window, and the endpoint URL checklist.

Query account balances

After setup, start with the balance APIs to verify account access and currency data.

Query account transactions

Account transactions help explain balance changes and connect account movements with orders, payments, or payout records.

Export account statements

For finance reconciliation or archival, use Export daily account statement to download a CSV file for a specified date. Store files by business date and keep the request parameters with the exported file for later traceability.

Use Global Account

For account opening, collection, or payout scenarios, confirm that the Global Account capability is enabled, then call:

Field Differences

The current account balance, account transaction, and account statement APIs use the Account service response shape:

ItemCurrent Account service endpoints
AuthenticationApiKey header
Replay protection headerx-timestamp
Success response coderespCode = 20000
Response message fieldrespMsg
Error objecterror
Idempotency fieldrequestId, used for safe retry within 10 minutes

Global Account APIs follow the field names shown on their current endpoint pages. Do not mix response envelopes, status codes, or required fields across different endpoints.