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.

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.