v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1398152302.3 KB
genericclass

Inserts a generic class with the given ID and properties.

post/walletobjects/v1/genericClass

Request body

multipleDevicesAndHoldersAllowedStatus'STATUS_UNSPECIFIED' | 'MULTIPLE_HOLDERS' | 'ONE_USER_ALL_DEVICES' | 'ONE_USER_ONE_DEVICE' | 'multipleHolders' | 'oneUserAllDevices' | 'oneUserOneDevice'

Identifies whether multiple users and devices will save the same object referencing this class.

idstring

Required. The unique identifier for the class. This ID must be unique across all from an issuer. This value needs to follow the format issuerID.identifier where issuerID is issued by Google and identifier is chosen by you. The unique identifier can only include alphanumeric characters, ., _, or -.

redemptionIssuersstring[]

Identifies which redemption issuers can redeem the pass over Smart Tap. Redemption issuers are identified by their issuer ID. Redemption issuers must have at least one Smart Tap key configured. The enableSmartTap and object level smartTapRedemptionLevel fields must also be set up correctly in order for a pass to support Smart Tap.

enableSmartTapboolean

Available only to Smart Tap enabled partners. Contact support for additional guidance.

viewUnlockRequirement'VIEW_UNLOCK_REQUIREMENT_UNSPECIFIED' | 'UNLOCK_NOT_REQUIRED' | 'UNLOCK_REQUIRED_TO_VIEW'

View Unlock Requirement options for the generic pass.

Response

Successful response