After completing the onboarding review and signing the contract, your merchant status becomes "Activated," and you can obtain the account information and keys required for integration in the Merchant Portal. Onerway provides three integration methods: Checkout, SDK, and API. You can choose the most suitable method for your business needs.

| Field | Description |
|---|---|
| Merchant No | Your unique merchant identifier, used for identity recognition in API requests |
| Merchant Name | Your company/merchant name |
| Login Email | Merchant Portal login email |
| Status | Current merchant status (Not Activated/Activated) |
| Secret Type | Key type (e.g., SHA256) |
| Secret Key | Key for signature verification, please keep it safe |
| Registration Time | Account registration time |
Important: The
Secret Keyis an important credential for making API calls. Please keep it safe and do not disclose it to others.
Before starting technical integration, please ensure you have prepared the following information:
| Required Information | Location | Purpose |
|---|---|---|
| Merchant No | Settings → Business → Merchant details | API request identity |
| Secret Key | Settings → Business → Merchant details | Request signature verification |
| appId | Settings → Payment Settings → App Management | Application identifier |
| Domain Whitelist | Contact technical support to add | Request source verification |
Onerway provides three integration methods. Please choose according to your business needs:
| Integration Method | Complexity | Applicable Scenarios | Detailed Documentation |
|---|---|---|---|
| Checkout Mode | Low | Quick launch, no need to handle sensitive card information | Checkout Integration Guide |
| SDK Mode | Medium | Embed payment in your own pages, customize UI | SDK Integration Guide |
| API Direct | High | Highly customized, complex business logic | API Integration Guide |
If you're not sure which method to choose, it is recommended to start with Checkout mode. You can upgrade to other modes as needed later.
| Configuration | Value |
|---|---|
| API Domain | https://sandbox-api.onerway.com |
| Merchant Portal | https://sandbox-merchant.onerway.com |
| Configuration | Value |
|---|---|
| API Domain | https://api.onerway.com |
| Merchant Portal | https://merchant.onerway.com |
Recommendation: Complete all testing in the sandbox environment first, then switch to the production environment after confirming everything is correct. When switching, you need to change the domain and corresponding merchant information (merchant number, key, appId).
All API requests require signature verification. Onerway uses the SHA256 algorithm for signing.
Secret KeysignString = merchantNo + orderNo + amount + currency
signature = SHA256(signString + secretKey)
For specific signing rules, please refer to Onerway API DocumentationPayments API
Onerway provides Apifox online testing tools, including sample requests for common API interfaces, allowing you to quickly verify API calls.
Click to Access Apifox Testing ToolsPayments API
To receive asynchronous notifications such as payment results, you need to configure Webhooks:
Processing After Receiving Notifications:
Q: Can the Secret Key be reset?
A: Yes. If the key is leaked or needs to be changed, please contact technical support to reset the key. After resetting, please update the key configuration in your system promptly.
Q: Are the sandbox and production environment keys the same?
A: No. The sandbox and production environments are completely independent, each with its own merchant number and key. Please pay attention to use them correctly.
Q: How do I get the appId?
A: After the onboarding review is approved, the system will automatically create an application. You can view the appId in Settings → Payment Settings → App Management.
Q: What should I do if the API request fails with a signature error?
A: Please check the following:
Q: What test cards can be used for sandbox testing?
A: Please refer to the test card list in the API documentation, or contact technical support for test card information.