Master Data Reference of GS2-Money2
{
"version": "2024-06-20",
"storeContentModels": [
{
"name": "[string]Store Content Model Name",
"metadata": "[string?]Metadata",
"appleAppStore": {
"productId": "[string?]Product ID"
},
"googlePlay": {
"productId": "[string?]Product ID"
}
}
]
}
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
version | ✓ | 2024-06-20 | Format version of master data | |||
storeContentModels | List<StoreContentModel> | ~ 1000 items | Content of the store platform |
StoreContentModel
Content of the store platform
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
storeContentModelId | string | ✓ | ~ 1024 chars | Content Model GRN | ||
name | string | ✓ | ~ 128 chars | Store Content Model Name | ||
metadata | string | ~ 1024 chars | Metadata | |||
appleAppStore | AppleAppStoreContent | Apple AppStore Content | ||||
googlePlay | GooglePlayContent | Google Play Content |
Receipt
Receipt of store platform
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
Store | enum [ “AppleAppStore”, “GooglePlay”, “fake” ] | ✓ | ~ 128 chars | Store | ||
TransactionID | string | ✓ | ~ 1024 chars | Transaction ID | ||
Payload | string | ✓ | ~ 1048576 chars | Payload |
PlatformSetting
Platform Setting
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
appleAppStore | AppleAppStoreSetting | Apple AppStore Setting | ||||
googlePlay | GooglePlaySetting | Google Play Setting | ||||
fake | FakeSetting | Fake(Unity Editor) Setting |
AppleAppStoreSetting
Apple AppStore Setting
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
bundleId | string | ~ 1024 chars | Apple AppStore Bundle ID |
GooglePlaySetting
Google Play Setting
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
packageName | string | ~ 5120 chars | Package Name to be distributed on Google Play | |||
publicKey | string | ~ 5120 chars | Public key used for signature verification |
FakeSetting
Fake Setting for Debug
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
acceptFakeReceipt | enum [ “Accept”, “Reject” ] | ✓ | “Reject” | ~ 128 chars | Able to make a payment with a fake receipt output by UnityEditor |
WalletSummary
Wallet Status
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
paid | int | ✓ | 0 | ~ 2147483646 | Count of Paid | |
free | int | ✓ | 0 | ~ 2147483646 | Count of Free | |
total | int | ✓ | 0 | ~ 2147483646 | Count of Total |
DepositTransaction
Deposit Transaction
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
price | float | ✓ | ~ 100000.0 | Purchase Price | ||
currency | string | {price} > 0 | ✓ | ~ 8 chars | Currency Code | |
count | int | ✓ | ~ 2147483646 | Count | ||
depositedAt | long | Deposit Date |
VerifyReceiptEvent
Deposit Event
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
contentName | string | ✓ | ~ 128 chars | Store Content Model Name | ||
platform | enum [ “AppleAppStore”, “GooglePlay”, “fake” ] | ✓ | ~ 128 chars | Store Platform | ||
appleAppStoreVerifyReceiptEvent | AppleAppStoreVerifyReceiptEvent | Apple AppStore Verify Receipt Event | ||||
googlePlayVerifyReceiptEvent | GooglePlayVerifyReceiptEvent | Google Play Verify Receipt Event |
DepositEvent
Deposit Event
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
slot | int | ✓ | ~ 100000000 | Slot Number | ||
depositTransactions | List<DepositTransaction> | [] | ~ 1000 items | List of deposit transactions | ||
status | WalletSummary | ✓ | Wallet Status |
WithdrawEvent
Withdraw Event
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
slot | int | ✓ | ~ 100000000 | Slot Number | ||
withdrawDetails | List<DepositTransaction> | [] | ~ 1000 items | List of details of the withdrawn wallet | ||
status | WalletSummary | ✓ | Wallet Status |
AppleAppStoreVerifyReceiptEvent
Apple AppStore Receipt
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
environment | enum [ “sandbox”, “production” ] | ✓ | ~ 128 chars | Environment |
GooglePlayVerifyReceiptEvent
Google Play Receipt Verification Event
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
purchaseToken | string | ~ 4096 chars | Purchase Token |
AppleAppStoreContent
Content of Apple AppStore
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
productId | string | ~ 1024 chars | Product ID |
GooglePlayContent
Content of Google Play
Type | Condition | Require | Default | Limitation | Description | |
---|---|---|---|---|---|---|
productId | string | ~ 1024 chars | Product ID |