This document is a developer guide for game developers on the STOVE store (studio.onstove.com).
- Overview
- Common Information
- API Details
- Game Withdrawal Request API
- Game Withdrawal Complete API
- Game Withdrawal Cancel API
- Implementation Guidelines
- Processing Flow
The Game Withdrawal feature is not a complete STOVE service withdrawal, but rather deletes only the user information linked to the current game within the STOVE platform.\
- STOVE Platform integrated account is maintained
- Server authentication tokens and character information for the specific game are deleted
- If using the STOVE Cash system, character-owned currency is also deleted
- Character recovery is possible within 30 days after withdrawal (currency cannot be recovered)\
Note: For the member_no field, GUID-based games should use the guid value, and MemberNo-based games should use the member_no value.
Server Domains
- Used By: Game Withdrawal Request, Game Withdrawal Cancel
- Format:
Bearer {User_Access_Token} - Validity: 6 hours
- Acquisition Method: Obtained by Game Client through STOVE SDK Login
- ⚠️ Critical Notes:
- Never cache or store on the server
- Must be retrieved in real-time when needed
- Using stored tokens in batch jobs will cause expiration errors\
- Used By: Game Withdrawal Complete
- Format:
Bearer {API_Access_Token} - Acquisition Method: Server authentication token issued by the platform (auth/v5/server_token)
Method: DELETE
Endpoint: /stove-terms/v3.0/agree
Makes the user withdraw immediately or changes them to withdrawal request status (grace period status).
{
"code": 0,
"message": "OK"
}
curl --location --request DELETE 'https://api.onstove.com/stove-terms/v3.0/agree?service_id=GAME_IND&delete_yn=N' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {USER_ACCESS_TOKEN}' \
--header 'caller-id: GAME_IND_SERVER'
Method: DELETE
Endpoint: /stove-terms/v3.0/withdraw/complete
Completes withdrawal for users in withdrawal request status (grace period status).
- Called from game company’s batch server
- Batch processing of users whose grace period has expired
- Can process up to 100 users at once
Note: Only members with pending withdrawal requests will be withdrawn. Others are ignored.
{
"code": 0,
"message": "OK",
"value": {
"fail_user_list": [211104564, 211104565]
}
}
curl --location --request DELETE 'https://api.onstove.com/stove-terms/v3.0/withdraw/complete?service_id=GAME_IND&member_nos=20070509783,20070509784' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {API_ACCESS_TOKEN}' \
--header 'caller-id: GAME_IND_SERVER'
Method: DELETE
Endpoint: /stove-terms/v3.0/withdraw/cancel
Users can cancel their game withdrawal grace period status. After cancellation, they can play the game normally.
{
"code": 0,
"message": "OK",
"value": {
"service_id": "GAME_IND"
}
}
curl --location --request DELETE 'https://api.onstove.com/stove-terms/v3.0/withdraw/cancel?service_id=GAME_IND' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {USER_ACCESS_TOKEN}' \
--header 'caller-id: GAME_IND_SERVER'
⚠️ Critical
Since User Access Token is only valid for 6 hours:
- ❌ Never cache
- ❌ Never store on server
- ✅ Retrieve in real-time when needed
- ✅ Use real-time tokens in batch jobs, not stored ones\
Must be implemented to prevent user mistakes:
- Warning Notice: Clearly state what will be deleted upon withdrawal
- Final Confirmation: Withdrawal intention re-confirmation popup\
- Managed by each game’s own policy
- Character recovery is possible within 30 days after withdrawal completion
- Recommend not deleting user data immediately
- Recommended order: DB flag change → Backup → Deletion\
- Game withdrawal deletes all character information across all worlds
- If only specific world deletion is needed: Call STOVE character deletion API individually\
When using game withdrawal in GUID-based games:
- New GUID issued upon re-registration after withdrawal
- Difficult to identify same user (possible metric distortion)
- Alternative: Consider implementing “account withdrawal” feature using STOVE character deletion API\
When implementing grace period for withdrawal:
- When operating individual worlds (not using common server)
- Cross-server synchronization is essential for withdrawal cancellations
1. User: Selects withdrawal menu in-game
2. Game Client: Displays warning notice popup
3. User: Confirms final withdrawal
4. Game Client → Game Server: Withdrawal request
5. Game Server → STOVE API: DELETE /agree (delete_yn=Y)
6. STOVE: Process immediate withdrawal
7. Game Server: Change user data flag
8. User: Receives withdrawal completion notice
[Withdrawal Request]
1. User: Selects withdrawal menu in-game
2. Game Client: Warning notice + Grace period notice
3. User: Confirms withdrawal request
4. Game Server → STOVE API: DELETE /agree (delete_yn=N)
5. STOVE: Change to withdrawal request status
6. Game Server: Change user data flag (scheduled for withdrawal)
[Game Entry During Grace Period]
1. User: Attempts to login to game
2. Game Server: Checks withdrawal request status
3. Game Client: Displays withdrawal cancellation notice popup
4. User: Selects withdrawal cancellation
5. Game Server → STOVE API: DELETE /withdraw/cancel
6. STOVE: Restore to normal status
7. Game Server: Restore user data flag
[Withdrawal Completion]
1. Game Batch Server: Query users with expired grace period
2. Game Batch Server → STOVE API: DELETE /withdraw/complete
3. STOVE: Process withdrawal completion
4. Game Batch Server: Backup and delete user data
1. STOVE Batch Server: Automatically detect users with expired grace period
2. STOVE: Automatically process withdrawal completion
3. Game Server: Detect withdrawal completion via webhook or periodic polling
4. Game Server: Backup and delete user data
- Server authentication tokens
- STOVE character information (all worlds)
- STOVE currency (cannot be recovered)
- STOVE Platform integrated account
- MemberNo-based games: member_no (GUID-based games get new GUID)
- Characters: Recovery possible within 30 days (CS request required)
- Currency: Cannot be recovered
Implementation methods and policies must be discussed with business/planning personnel before application.
If you have any questions, please contact us on Discord or by email at store.support@smilegate.com.