Request Google Payload

The Request Google Payload endpoint enables you to share a customer's Google wallet information with Thredd.

You can create a Google Wallet by making a POST request to the Request Google Payload endpoint. For example:

/v1/Provisioning/{publicToken}/googlewallet

The POST body should include the details of the token's Google Wallet. The below is an example of what the body should look like.

{
  "clientWalletProvider": "string",
  "clientWalletAccountID": "string",
  "clientDeviceID": "string",
  "clientAppID": "string",
  "billing": {
    "line1": "32 Eastern Drive",
    "line2": "Thurcroft",
    "city": "Sheffield",
    "countrySubdivision": "South Yorkshire",
    "postalCode": "S25 1AA",
    "country": "GBR"
  }
}

👍

Note

If the billing object is left blank then the address associated with the publicToken for the card will be used instead.

If successful, a 200 response is returned with details of the card and cardholder. See the below example:

{
  "opaquePaymentCard": "ew0KICAiRnVuZGluZ0FjY291bnRJbmZvIjogew0KICAgICJFbmNyeXB0ZWRQYXlsb2FkIjogew0KICAgICAgIlB1YmxpY0tleUZpbmdlcnByaW50IjogIjc2MUIwMDNDMUVBREUzQTU0OTBFNTAwMEQzNzg4N0JBQTVFNkVDMEUyMjZDMDc3MDZFNTk5NDUxRkMwMzJBNzkiLA0KICAgICAgIkVuY3J5cHRlZEtleSI6ICJEODlFNzlDMEMwRUU2NkI3OTE2M0NBQzIxMzhCQkQ0NjA1M0UwQ0NFQkUyMUI5RkE2NjJBNkFCMjVGNUJFRjA2MDA1QjdEMDY5OTBDQTcxQUY3MDA0RTFBQUY3REU5QURGRDE2ODI1MzNGNEU2NzA4MzQ4QkM3NjNDMTFCRDcwODAwMDE0OTRGRTZBRTJENjEzNjREMzI5NURCOEI1RUVGOTU4RDlGMEMwRjM3QTlDMjAwRjVERTVFNzgyRTlCRjUxQkIwODFEMjBBMkNGN0I4MDA0QzUyQkY2NEI4OUIxQzYyRkRBMUM1MTdBMEM3N0Y2QUNFRUVGMUI4RUUyQkQ4RTg2RTFDQUM3N0NGNUQwMjMyQ0QwMENEOEMwNzc5QUMzMTcxNTdGQzIzRUFDREQ3QTI4ODlBNDdBNEJEOEJBNUJDRDYxRj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"1234",
  "name": "Joe Bloggs",
  "network": "Mastercard",
  "address": {
    "line1": "32 Eastern Drive",
    "line2": "Thurcroft",
    "city": "Sheffield",
    "countrySubdivision": "South Yorkshire",
    "postalCode": "S25 1AA",
    "country": "GBR"
  }
}

📘

Information