REST Resource: smarttap

Resource: SmartTap

JSON representation
{
  "kind": string,
  "id": string,
  "merchantId": string,
  "infos": [
    {
      object (IssuerToUserInfo)
    }
  ]
}
Fields
kind
(deprecated)

string

Identifies what kind of resource this is. Value: the fixed string "walletobjects#smartTap".

id

string

The unique identifier for a smart tap. This value should follow the format issuer ID.identifier where the former is issued by Google and latter is the Smart Tap id. The Smart Tap id is a Base64 encoded string which represents the id which was generated by the Google Pay app.

merchantId

string (int64 format)

Smart Tap merchant ID of who engaged in the Smart Tap interaction.

infos[]

object (IssuerToUserInfo)

Communication from merchant to user.

IssuerToUserInfo

JSON representation
{
  "action": enum (Action),
  "url": string,
  "value": string,
  "signUpInfo": {
    object (SignUpInfo)
  }
}
Fields
action

enum (Action)

url

string

Currently not used, consider deprecating.

value

string

JSON web token for action S2AP.

signUpInfo

object (SignUpInfo)

Action

Enums
ACTION_UNSPECIFIED
S2AP
s2ap

Legacy alias for S2AP. Deprecated.

SIGN_UP
signUp

Legacy alias for SIGN_UP. Deprecated.

SignUpInfo

JSON representation
{
  "classId": string
}
Fields
classId

string

ID of the class the user can sign up for.

Methods

insert

Inserts the smart tap.