| Environment | Request URL | Purpose |
|---|---|---|
| Sandbox | https://sandbox-api.onerway.com/tax | Testing and integration |
| Production | https://api.onerway.com/tax | Live business |
| Item | Purpose |
|---|---|
| Merchant No | Identifies the merchant |
| ApiKey | Authenticates API requests |
| Webhook Secret | Validates webhook signatures |
Pass ApiKey in the request header. For complete authentication details, see the Authentication GuideTax API.
{
"respCode": "20000",
"respMsg": "Success",
"data": { ... }
}
See the Webhook Integration GuideTax API for the complete specification.
HMAC-SHA256(webhook_secret, x-timestamp + "." + rawBody)