지원 / Support
home
디스코드 / Discord
home
🧑

Membership Integration

You can check user’s ID (member_no, GUID) using user tokens in web.

Basic Information

GET /member/v3.0/{game_id} Host: https://api.onstove.com (Live) https://api.gate8.com (Sandbox) Content-Type: application/json
JavaScript
복사

Request

Header

Name
Type
Required
Default Value
Example
Description
Authorization
String
Y
Bearer {user_access_token}
User Access Token

Path Variable

Name
Type
Required
Default Value
Example
Description
game_id
String
Y
-
STOVE_GAME
Game ID

Response

Body

Name
Type
Required
Default Value
Example
Description
code
int
Y
0
Response Code
message
String
Y
success
Response Message
value
Object
N
{"aaa":123,"bbb":"abcd"}
Response Value

Value

Name
Type
Required
Default Value
Example
Description
member_no
String
Y
108131345
member_no Platform’s unique ID
guid
String
Y
20000025262
guid Platform’s unqiue ID, for each game
guid in value
guid is generated when the user agrees to Terms and Condition of the game.
If there is a member_no which has not agreed to Terms and Conditiopns, guid cannot be returned

Sample

Request

curl -L -X GET 'https://api.onstove.com/member/v3.0/MVP_SDK_QA' \ -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHBpcmVfdGltZSI6MTY2MzkyNDQwNzQxNywibWVtYmVyX25vIjoyMDAwNTA2MTk4NiwiYXBwbGljYXRpb25fbm8iOjEwMDAyfQ.lVXx2gL-7keAs42wFDZLS-coqkSUFIAli3Opq4Is34K7ZgnpnneHJx15ofczp3Ep0ogEggRm5WNOungptQqdZy3WbNcMg-0-6MDv2x1QG-MseSAxS1hNZ5TLeDx6emSdSkAsqcp1f6kqnqRX1Hp8oTqPB-UKMQOzx91ox5cbF5KnmaKcf6VZ7tUtaDvCSxS1Ec3xda7iQCBrtgT8wmbppdkcSV2Z7AQbpP8gVnX9-I0_ZHpXroz6nzujdK8DUCJqD7cW5R5nTwMedW5pndqzzQ'
Plain Text
복사

Response

Code type : application/json
{ "code": 0, "message": "success", "value": { "member_no": 20005061986, "guid": 200000000397 } }
JSON
복사
Wrong Parameter
{ "code": 40000, "message": "bad request" }
JSON
복사

Return Code

HTTP Status code
Code
Message
Description
200
0
Success
Success
200
40000
bad request
Wrong Parameter - check token - check query parameter
401
40101
Invalid
Invalid Access Token