API Migration
Current source does not register the old route POST /api/v1/order/create-transaction.
It also does not register the old compatibility route POST /payments/epusdt/v1/order/create-transaction.
Replace old integrations with one of these live routes
| Use case | Current live route |
|---|---|
| Native JSON API (recommended) | POST /payments/gmpay/v1/order/create-transaction |
| Redirect / EPay-style flow | GET/POST /payments/epay/v1/order/create-transaction/submit.php |
Important migration changes
- Every incoming order request must identify the merchant with
pid. - Signature verification uses the
secret_keyof the matchingapi_keysrow, not an old global route-specific key. - Supported networks/tokens are admin-driven, so query
/payments/gmpay/v1/configand readdata.supported_assetsinstead of assuming a fixed list. - EPay defaults now come from admin settings (
epay.default_token,epay.default_currency,epay.default_network), not from deprecated env keys likeepay_pid/epay_key.
