GS2-SerialKey トランザクションアクション
ConsumeAction
Gs2SerialKey:UseByUserId
ユーザIDを指定してシリアルコードを消費
数量指定可能なアクション:いいえ
反転可能なアクション:はい
型 | 説明 | |
---|---|---|
namespaceName | string | ネームスペース名 |
userId | string | #{userId} と設定することでログイン中のユーザーIDに置換されます |
code | string | シリアルコード |
{
"action": "Gs2SerialKey:UseByUserId",
"request": {
"namespaceName": "[string]ネームスペース名",
"userId": "[string]ユーザーID",
"code": "[string]シリアルコード"
}
}
action: Gs2SerialKey:UseByUserId
request:
namespaceName: "[string]ネームスペース名"
userId: "[string]ユーザーID"
code: "[string]シリアルコード"
AcquireAction
Gs2SerialKey:RevertUseByUserId
ユーザIDを指定してシリアルコードを消費
数量指定可能なアクション:いいえ
反転可能なアクション:はい
型 | 説明 | |
---|---|---|
namespaceName | string | ネームスペース名 |
userId | string | #{userId} と設定することでログイン中のユーザーIDに置換されます |
code | string | シリアルコード |
{
"action": "Gs2SerialKey:RevertUseByUserId",
"request": {
"namespaceName": "[string]ネームスペース名",
"userId": "[string]ユーザーID",
"code": "[string]シリアルコード"
}
}
action: Gs2SerialKey:RevertUseByUserId
request:
namespaceName: "[string]ネームスペース名"
userId: "[string]ユーザーID"
code: "[string]シリアルコード"