Store API
트랜잭션 API
포인트 및 경험치 관리 API 이 API는 사용자에게 포인트와 경험치를 지급하는 기능을 제공합니다. 사용자는 게임 내에서 특정 활동을 완료함으로써 포인트와 경험치를 받을 수 있습니다.
포인트 지급
사용자에게 포인트를 지급합니다.
Operation
mutation AddPointsToUser($input: AddPointsToUserInput!) {
addPointsToUser(input: $input) {
success
}
}Variables
{
"input": {
"userNo": "사용자 번호",
"point": "포인트",
"referenceType": "레퍼런스 유형",
"referenceId": "레퍼런스 ID"
}
}경험치 지급
사용자에게 경험치를 지급합니다.
Operation
mutation AddExpToUser($input: AddExpToUserInput!) {
addExpToUser(input: $input) {
success
}
}Variables
{
"input": {
"userNo": "사용자 번호",
"literacyExp": "문해력 경험치",
"imaginationExp": "상상력 경험치",
"narrativeExp": "서사력 경험치",
"sociabilityExp": "사회성 경험치",
"referenceType": "레퍼런스 유형",
"referenceId": "레퍼런스 ID"
}
}