Onerway
API Reference

API overview

Review V3 beneficiary and transfer APIs, and webhook documentation.

Review V3 beneficiary and transfer APIs, and webhook documentation.

Example values are illustrative; replace them with the beneficiary and payment details for your integration.

Start with V3 setup to prepare the environment, ApiKey and server-side requests.

API domains

EnvironmentV3 API domain
Sandboxhttps://sandbox-transfer-api.onerway.com
Productionhttps://transfer-api.onerway.com

Integration steps and result handling

  1. Confirm the payment scenario: query available methods using the destination country, account currency and entity type. Use the response to determine availability for the merchant.
  2. Prepare beneficiary details: query field rules for the same scenario, then populate the applicable individual or business details and account branch. Returned options apply to that scenario.
  3. Validate and save the beneficiary: validation does not save the beneficiary or replace account checks during creation. When editing, omitted fields retain their current values; empty values do not clear stored details.
  4. Prepare and validate the payment: supply the beneficiaryId of a saved beneficiary. Select sourceAmount or targetAmount according to chargeBearer. Validation does not reserve funds or lock an exchange rate.
  5. Submit the payment: use a unique requestId within the merchant. Acceptance does not establish receipt of funds. If the outcome is unclear, query with the original requestId before considering another payment.
  6. Track the result: use payment details, the list or callbacks. S means successful, F means failed and RETURNED means returned. Update the original transaction after a return and inspect payoutStatusReason. An electronic receipt URL can be queried for a successful payment.

Date-time values use Beijing time (UTC+8). Date-only fields such as birth and identity-document dates use their stated format without a time-zone offset.

Beneficiaries

Transfers

Webhooks

See Webhooks and signature verification for the common V3 notification envelope, source IP allowlist, signature verification and acknowledgement requirements. Refer to the following API reference for event-specific business fields and examples:

Enums