| Request Protocol | HTTPS |
|---|---|
| Character Encoding | UTF-8 |
| Region | Entry Point |
|---|---|
| China Region | https://openapi.orionstar.com |
| Europe Region | https://global-openapi.orionstar.com |
| USA Region | https://us-openapi.orionstar.com |
| Japan Region | https://jp-openapi.orionstar.com |
| Common Request Headers | Description |
|---|---|
| Authorization | Used to pass the access token for the API. Please refer to Authentication Methods. |
| Content-Type |
|
| Content-Type | application/json |
|---|---|
| Character Encoding | UTF-8 |
| Parameter | Type | Description |
|---|---|---|
| code | int | Error code. 0 means success, non-zero means failure, Please refer to Error Codes. |
| msg | string | Error description. When there is a failure, a specific error description will be provided. |
| req_id | string | Log tracking ID. When encountering problems that require assistance from OrionStar, please provide this tracking ID value. |
| data | object | Business data object, see below for details Response Body Data Object. |
{ "code": 0, "msg": "", "req_id": "test_req_id", "data": { // Different APIs will have different response body data objects, please refer to the specific API documentation } }