Before you start building with Onerway APIs, you need to:
To create a sandbox account, provide your and the where you'll integrate payments. Onerway will typically set up your testing environment within 1–2 business days.
After your sandbox account is ready, log in to the Sandbox Portal to retrieve your API credentials:
Configure the appropriate base URL for your environment:
| Environment | Base URL |
|---|---|
| Sandbox | https://sandbox-acq.onerway.com |
| Production | https://acq.onerway.com |
Example environment variable configuration:
ONERWAY_BASE_URL=https://sandbox-acq.onerway.com