Onerway
Get Started

Overview

This section describes each business scenario — concepts, lifecycle and result notifications — independently of how you integrate. Decide what you are doing first, then which endpoint to call.

Scenarios · This page is the entry point of the business-scenarios section. API parameters live in the API Reference; event and status semantics live in Events and status.

Scenario quick reference

ScenarioTypical businessKey endpoints
AccountsOnboard users, open currency accounts and virtual accountsPOST /api/v2/kyc/business
POST /api/v2/currency-accounts/open
POST /api/v2/virtual-account/open
Inbound and creditingA payer transfers to the virtual account; you match it and it is creditedPOST /api/v2/deposit/match
Refunds and returnsReturn an uncredited inbound payment to the payerPOST /api/v2/refund/apply
Additional materialsKYC or a transaction asks for more documentsPOST /api/v2/upload/file
two RFI submission endpoints

Settlement and payout are out of scope here. Their result event is EMFIN.SETTLE_RESULT, described in Events and status; the flow is not expanded.

Get these four apart first

Four things that are not the same

  • Inbound notice ≠ credit. EMFIN.RECHARGE means the bank payment was booked. Crediting happens only after you submit the match, so the balance has not changed yet.
  • 20000 ≠ final state. respCode=20000 means the request was processed successfully (accepted); whether the business step succeeded comes from events.
  • Credit success ≠ settlement. A credit changes the user balance; settlement moves funds to the merchant on a cycle. Different events.
  • Currency account ≠ virtual account. The currency account decides which currencies the user can hold; the virtual account is the bank account used to collect. Collection only uses an available virtual account.

How to use this documentation

  1. Find your scenario. Use the table above instead of inferring the business from API endpoints.
  2. Read the scenario page. Concepts and choices, then lifecycle and notifications, then edge cases: decide first, code second.
  3. Build against the diagram. Each scenario page ends with a developer view that maps steps to endpoints and key fields; field-level detail and error codes stay in the API Reference.

Out of scope

  • Settlement and payout: only the result event is described, not the flow.
  • Internal verification, screening and review rules: not visible through the API, so they are not documented as promises.
  • Field definitions, error codes and rate limits: see the API Reference.