AI-generated Key Takeaways
-
SmartTap is a resource that facilitates communication between merchants and users during contactless interactions, containing information such as merchant ID and user data.
-
IssuerToUserInfo objects within SmartTap resources store communication details, including actions to be taken and relevant data like URLs or JSON web tokens.
-
Actions within SmartTap interactions can include Secure NFC pairing (S2AP) or user sign-up, directing specific functionalities.
-
SignUpInfo objects provide details about potential user sign-up options associated with the SmartTap interaction, such as class IDs for registration.
-
SmartTap resources can be inserted using the
insertmethod, enabling the creation of new SmartTap instances.
Resource: SmartTap
| JSON representation |
|---|
{
"kind": string,
"id": string,
"merchantId": string,
"infos": [
{
object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
id |
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 |
Smart Tap merchant ID of who engaged in the Smart Tap interaction. |
infos[] |
Communication from merchant to user. |
IssuerToUserInfo
| JSON representation |
|---|
{ "action": enum ( |
| Fields | |
|---|---|
action |
|
url |
Currently not used, consider deprecating. |
value |
JSON web token for action S2AP. |
signUpInfo |
|
Action
| Enums | |
|---|---|
ACTION_UNSPECIFIED |
|
S2AP |
|
s2ap |
Legacy alias for |
SIGN_UP |
|
signUp |
Legacy alias for |
SignUpInfo
| JSON representation |
|---|
{ "classId": string } |
| Fields | |
|---|---|
classId |
ID of the class the user can sign up for. |
Methods |
|
|---|---|
|
Inserts the smart tap. |