Skip to content

Shop Protocol (Pokemon Bank)

Yannik Marchand edited this page Feb 21, 2022 · 1 revision

NEX Protocols > Shop (200)

This protocol is only seen in Pokemon Bank.

Method ID Method Name
1 GetItems
2 GetChallengeBlob
3 GetRivToken
4 GetRivTokenByItemId
5 GetItemRights
6 VerifyAndRegisterTicket
7 DebugSetExpireTime
8 PrincipalIDToSupportNumber
9 SupportNumberToPrincipalID
10 GetGameServerTime

(1) GetItems

Request

This method does not take any parameters.

Response

Type Name
List<ShopItem> pItems

(2) GetChallengeBlob

Request

This method does not take any parameters.

Response

Type Name
Buffer pChallengeBlob

(3) GetRivToken

Request

Type Name
String itemCode
qBuffer refereneId

Response

Type Name
String pRivToken

(4) GetRivTokenByItemId

Request

Type Name
Uint32 itemId

Response

Type Name
String pRivToken

(5) GetItemRights

Request

Type Name
qBuffer ticketEnvelope

Response

Type Name
List<ShopItemRights> pItemRights

(6) VerifyAndRegisterTicket

Request

Type Name
qBuffer ticketEnvelope
DateTime purchasedTime

Response

Type Name
DateTime expireTime

(7) DebugSetExpireTime

Request

Type Name
DateTime expireTime

Response

This method does not return anything.

(8) PrincipalIDToSupportNumber

Request

Type Name
Uint32 pid

Response

Type Name
String supportNumber

(9) SupportNumberToPrincipalID

Request

Type Name
String supportNumber

Response

Type Name
Uint32 pid

(10) GetGameServerTime

Request

This method does not take any parameters.

Response

Type Name
DateTime pServerTime

Types

ShopItem (Structure)

Type Name
Uint32 itemId
qBuffer referenceId
String serviceName
String itemCode

ShopItemRights (Structure)

Type Name
qBuffer referenceId
Sint8 itemType
Uint32 attribute
Clone this wiki locally