API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

Resource types

  1. Eventticketclass
  2. Eventticketobject
  3. Flightclass
  4. Flightobject
  5. Giftcardclass
  6. Giftcardobject
  7. Issuer
  8. Jwt
  9. Loyaltyclass
  10. Loyaltyobject
  11. Offerclass
  12. Offerobject
  13. Permissions
  14. Transitclass
  15. Transitobject

Eventticketclass

For Eventticketclass Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /eventTicketClass/resourceId/addMessage Adds a message to the event ticket class referenced by the given class ID.
get GET  /eventTicketClass/resourceId Returns the event ticket class with the given class ID.
insert POST  /eventTicketClass Inserts an event ticket class with the given ID and properties.
list GET  /eventTicketClass Returns a list of all event ticket classes for a given issuer ID.

Required query parameters: issuerId

patch PATCH  /eventTicketClass/resourceId Updates the event ticket class referenced by the given class ID. This method supports patch semantics.
update PUT  /eventTicketClass/resourceId Updates the event ticket class referenced by the given class ID.

Eventticketobject

For Eventticketobject Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /eventTicketObject/resourceId/addMessage Adds a message to the event ticket object referenced by the given object ID.
get GET  /eventTicketObject/resourceId Returns the event ticket object with the given object ID.
insert POST  /eventTicketObject Inserts an event ticket object with the given ID and properties.
list GET  /eventTicketObject Returns a list of all event ticket objects for a given class ID.

Required query parameters: classId

patch PATCH  /eventTicketObject/resourceId Updates the event ticket object referenced by the given object ID. This method supports patch semantics.
update PUT  /eventTicketObject/resourceId Updates the event ticket object referenced by the given object ID.

Flightclass

For Flightclass Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /flightClass/resourceId/addMessage Adds a message to the flight class referenced by the given class ID.
get GET  /flightClass/resourceId Returns the flight class with the given class ID.
insert POST  /flightClass Inserts an flight class with the given ID and properties.
list GET  /flightClass Returns a list of all flight classes for a given issuer ID.

Required query parameters: issuerId

patch PATCH  /flightClass/resourceId Updates the flight class referenced by the given class ID. This method supports patch semantics.
update PUT  /flightClass/resourceId Updates the flight class referenced by the given class ID.

Flightobject

For Flightobject Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /flightObject/resourceId/addMessage Adds a message to the flight object referenced by the given object ID.
get GET  /flightObject/resourceId Returns the flight object with the given object ID.
insert POST  /flightObject Inserts an flight object with the given ID and properties.
list GET  /flightObject Returns a list of all flight objects for a given class ID.

Required query parameters: classId

patch PATCH  /flightObject/resourceId Updates the flight object referenced by the given object ID. This method supports patch semantics.
update PUT  /flightObject/resourceId Updates the flight object referenced by the given object ID.

Giftcardclass

For Giftcardclass Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /giftCardClass/resourceId/addMessage Adds a message to the gift card class referenced by the given class ID.
get GET  /giftCardClass/resourceId Returns the gift card class with the given class ID.
insert POST  /giftCardClass Inserts a gift card class with the given ID and properties.
list GET  /giftCardClass Returns a list of all gift card classes for a given issuer ID.

Required query parameters: issuerId

patch PATCH  /giftCardClass/resourceId Updates the gift card class referenced by the given class ID. This method supports patch semantics.
update PUT  /giftCardClass/resourceId Updates the gift card class referenced by the given class ID.

Giftcardobject

For Giftcardobject Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /giftCardObject/resourceId/addMessage Adds a message to the gift card object referenced by the given object ID.
get GET  /giftCardObject/resourceId Returns the gift card object with the given object ID.
insert POST  /giftCardObject Inserts a gift card object with the given ID and properties.
list GET  /giftCardObject Returns a list of all gift card objects for a given class ID.

Required query parameters: classId

patch PATCH  /giftCardObject/resourceId Updates the gift card object referenced by the given object ID. This method supports patch semantics.
update PUT  /giftCardObject/resourceId Updates the gift card object referenced by the given object ID.

Issuer

For Issuer Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
get GET  /issuer/resourceId Returns the issuer referenced by the given issuer ID.
insert POST  /issuer Inserts an issuer with the given properties.
list GET  /issuer Lists all issuers shared to the caller of this API.
patch PATCH  /issuer/resourceId Updates the issuer referenced by the given issuer ID. This method supports patch semantics.
update PUT  /issuer/resourceId Updates the issuer referenced by the given issuer ID.

Jwt

For Jwt Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
insert POST  /jwt Inserts the given JSON web token for the issuer referenced inside.

Loyaltyclass

For Loyaltyclass Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /loyaltyClass/resourceId/addMessage Adds a message to the loyalty class referenced by the given class ID.
get GET  /loyaltyClass/resourceId Returns the loyalty class with the given class ID.
insert POST  /loyaltyClass Inserts a loyalty class with the given ID and properties.
list GET  /loyaltyClass Returns a list of all loyalty classes for a given issuer ID.

Required query parameters: issuerId

patch PATCH  /loyaltyClass/resourceId Updates the loyalty class referenced by the given class ID. This method supports patch semantics.
update PUT  /loyaltyClass/resourceId Updates the loyalty class referenced by the given class ID.

Loyaltyobject

For Loyaltyobject Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /loyaltyObject/resourceId/addMessage Adds a message to the loyalty object referenced by the given object ID.
get GET  /loyaltyObject/resourceId Returns the loyalty object with the given object ID.
insert POST  /loyaltyObject Inserts a loyalty object with the given ID and properties.
list GET  /loyaltyObject Returns a list of all loyalty objects for a given class ID.

Required query parameters: classId

modifylinkedofferobjects POST  /loyaltyObject/resourceId/modifyLinkedOfferObjects Add (and remove) linked offer objects, specified by ID, to the loyalty object referenced by the resource ID.
patch PATCH  /loyaltyObject/resourceId Updates the loyalty object referenced by the given object ID. This method supports patch semantics.
update PUT  /loyaltyObject/resourceId Updates the loyalty object referenced by the given object ID.

Offerclass

For Offerclass Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /offerClass/resourceId/addMessage Adds a message to the offer class referenced by the given class ID.
get GET  /offerClass/resourceId Returns the offer class with the given class ID.
insert POST  /offerClass Inserts an offer class with the given ID and properties.
list GET  /offerClass Returns a list of all offer classes for a given issuer ID.

Required query parameters: issuerId

patch PATCH  /offerClass/resourceId Updates the offer class referenced by the given class ID. This method supports patch semantics.
update PUT  /offerClass/resourceId Updates the offer class referenced by the given class ID.

Offerobject

For Offerobject Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /offerObject/resourceId/addMessage Adds a message to the offer object referenced by the given object ID.
get GET  /offerObject/resourceId Returns the offer object with the given object ID.
insert POST  /offerObject Inserts an offer object with the given ID and properties.
list GET  /offerObject Returns a list of all offer objects for a given class ID.

Required query parameters: classId

patch PATCH  /offerObject/resourceId Updates the offer object referenced by the given object ID. This method supports patch semantics.
update PUT  /offerObject/resourceId Updates the offer object referenced by the given object ID.

Permissions

For Permissions Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
get GET  /permissions/resourceId Returns the permissions for the issuer referenced by the given issuer ID.
update PUT  /permissions/resourceId Updates the permissions for the issuer referenced by the given issuer ID.

Transitclass

For Transitclass Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /transitClass/resourceId/addMessage Adds a message to the transit class referenced by the given class ID.
get GET  /transitClass/resourceId Returns the transit class with the given class ID.
insert POST  /transitClass Inserts an transit class with the given ID and properties.
list GET  /transitClass Returns a list of all transit classes for a given issuer ID.

Required query parameters: issuerId

patch PATCH  /transitClass/resourceId Updates the transit class referenced by the given class ID. This method supports patch semantics.
update PUT  /transitClass/resourceId Updates the transit class referenced by the given class ID.

Transitobject

For Transitobject Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/walletobjects/v1, unless otherwise noted
addmessage POST  /transitObject/resourceId/addMessage Adds a message to the transit object referenced by the given object ID.
get GET  /transitObject/resourceId Returns the transit object with the given object ID.
insert POST  /transitObject Inserts an transit object with the given ID and properties.
list GET  /transitObject Returns a list of all transit objects for a given class ID.

Required query parameters: classId

patch PATCH  /transitObject/resourceId Updates the transit object referenced by the given object ID. This method supports patch semantics.
update PUT  /transitObject/resourceId Updates the transit object referenced by the given object ID.

Enviar comentários sobre…

Google Pay for Passes