Service Regions and API Addresses
OpenPaaS services are deployed by region. Before calling an Open API, confirm the service region of your game and use the corresponding base URL (BASE_URL).
Regional Addresses
| Service Region | Base URL (BASE_URL) |
|---|---|
| Mainland China | https://cn-cpapi.sudbiz.cloud |
| Southeast Asia | https://sea-cpapi.sudbiz.cloud |
| Europe | https://eu-cpapi.sudbiz.cloud |
| Russia | https://ru-000-cpapi.sudop.biz |
The base URL includes https:// and the domain name, excludes the API path, and has no trailing /.
Constructing a Request URL
Each Open API document lists the request method and API path under "HTTPS Call". To make a request, prepend the base URL for your game's service region to the API path and include the required query parameters.
For example, the API path for Query Payment Order is:
POST /v1/pay/order/query?access_token=ACCESS_TOKENFor Mainland China, the complete request URL is:
POST https://cn-cpapi.sudbiz.cloud/v1/pay/order/query?access_token=ACCESS_TOKENFor Southeast Asia, the complete request URL is:
POST https://sea-cpapi.sudbiz.cloud/v1/pay/order/query?access_token=ACCESS_TOKENACCESS_TOKEN is the API call credential. See Obtain the API Call Credential. Request parameters are defined separately in each API document.
Encryption and Signature
Process actual requests according to Server API Signature and Encryption (Chinese). The address field in the AAD includes the protocol and domain name; use the actual regional request URL without query parameters when calculating it.
Webhook Callback Addresses
The regional base URLs on this page apply to calls from the Game SVR to SUD Open APIs.
Webhook callback addresses are provided by the Game SVR and configured in the SUD OP console. They do not use the regional base URLs on this page. See Webhook for request formats.
