Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A maximum of the 50 most recent records will be returned.

Note
Note

Notes:

  • A 404 - Not Found object will be returned if the specified Mobile Wallet :wallet_id does not exist.
  • Android devices can only receive location notifications; they cannot receive scheduled notifications.

Return JSON

Code Block
[
   {
      "wallet_message_id":"abcdef23SDF2",
      "message":{
         "template":"This is the updated message I would like to send.",
         "header":"Header, for Android Pay only.",
         "image_url":"http://www.google.com/wallet.jpg"
      },
      "campaign_ref":{
         "id":"abCDefGHij",
         "type":"Loyalty",
         "url":"/companies/:id/campaigns/wallet/abCDefGHij"
      },
      "filters":[
         {
            "name":"group_code",
            "selector":"starts_with",
            "value":"DEA"
         },
         {
            "name":"providers",
            "selector":"any",
            "value":[
               "Passbook"
            ]
         }
      ],
      "url":"/companies/:id/campaigns/wallet/abCDefGHij/messages/abcdef23SDF2",
      "created_at":"2017-01-15T14:30Z",
      "updated_at":"2017-02-18T19:30Z"
   },
   {
      "wallet_message_id":"abcde123",
      "message":{
         "template":"This is another message.",
         "header":"Header, for Android Pay only.",
         "image_url":"http://www.google.com/wallet.jpg"
      },
      "campaign_ref":{
         "id":"abCDefGHij",
         "type":"Loyalty",
         "url":"/companies/:id/campaigns/wallet/abCDefGHij"
      },
      "filters":[
         {
            "name":"group_code",
            "selector":"starts_with",
            "value":"DEA"
         },
         {
            "name":"providers",
            "selector":"any",
            "value":[
               "Passbook"
            ]
         }
      ],
      "url":"/companies/:id/campaigns/wallet/abCDefGHij/messages/abcde123",
      "created_at":"2017-01-15T14:30Z",
      "updated_at":"2017-02-18T19:30Z"
   }
]

...