Onerway
Get Started

Overview

Activate a Transfer merchant, obtain API credentials, and configure server IP allowlisting.

Before calling Transfer APIs, activate your merchant, obtain credentials, and configure IP allowlisting for the corresponding environment.

Activate a sandbox merchant

  1. Prepare an onboarding email address and contact Onerway for a sandbox merchant. Specify the destination countries, currencies, and payout methods you need.
  2. Use the URL and instructions in the onboarding email to sign in to the merchant portal.
  3. Obtain your sandbox credentials and configure the IP allowlist for the server that calls the APIs in the merchant portal. See integration setup for the steps.

Obtain credentials

Obtain the following credentials in the merchant portal for the corresponding environment:

CredentialPurpose
merchantNoIdentifies the merchant. Use it as required by each endpoint.
API Key of type API_KEYAuthenticates server-side Transfer V3 requests through the ApiKey header.
Notification signing keyVerifies webhook notifications on your server. Use it separately from the API Key.
  • merchantNo: Settings → Merchant → Merchant information — Sandbox · Production.
  • API Key and notification signing key: Developer center → API keys — Sandbox · Production.

Keep both keys on your server. Do not put them in client-side code, mobile app packages, version control, or logs. See integration setup for request authentication, and Webhooks and signature verification for notification verification.

Configure the IP allowlist

Before calling the APIs, add all public outbound IP addresses used by your server under Developer center → IP allowlist in the merchant portal: Sandbox · Production. Do not enter website domains or customer device IP addresses.

Configure sandbox and production separately, even if they use the same outbound IP addresses. Complete production configuration before going live. See integration setup for the detailed steps.

To restrict incoming webhook source IPs, configure your receiving endpoint using the source IP allowlist.

API addresses

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

Append the path shown on the endpoint page to the base URL.

Dates and times

Request, response, and notification timestamps use Beijing time (UTC+08:00). Submit and parse them in the format specified by each field. Date-only fields, such as a date of birth, use yyyy-MM-dd without a time or time-zone suffix.

Read request field requirements

RequirementWhat to check before sending
RequiredProvide the field with every request and follow its format and allowed values
Conditionally requiredCheck the conditions in the field description; provide the field when they apply
OptionalProvide the field when needed; its format and allowed values still apply

Beneficiary information requirements vary by country, currency, payout method, and entity type. First query available payout methods, then query beneficiary field rules for that combination. Use the results together with the endpoint field descriptions to prepare the information. Response fields describe processing results; do not apply request requiredness rules to them.

Before integration

  • Confirm you can access the sandbox merchant portal and have its merchantNo, API Key of type API_KEY, and notification signing key.
  • Confirm the API base URL and that all public outbound IP addresses used by your server are allowlisted in the merchant portal for that environment.
  • Confirm the destination country, currency, payout method, entity type, and required beneficiary information.
  • Prepare the server-side request headers described in integration setup, and use the notification signing key to verify signatures and timestamps as described in Webhooks and signature verification.
  • Plan how to receive and process transfer result notifications, and retain the ability to query results.

Follow the integration flow to create a beneficiary, initiate a transfer, and confirm the result. Test success, failure, and unclear results in the sandbox first. Then check the production URL, credentials, IP allowlist, and notification configuration. Switching environments requires more than changing the domain.