v3

latestOpenAPI 3.0.3Apache 2.02026-07-312637031.3 MB
Digital Wallet Tokens

Create digital wallet token provision request for Google Pay

post/cards/{card_id}/digital_wallet_tokens/googlepay

Path parameters

card_idstring uuid required

The unique identifier of a card

Example:7d943c51-e4ff-4e57-9558-08cab6b963c7

Headers

Idempotency-Keystring
Example:7d943c51-e4ff-4e57-9558-08cab6b963c7

An idempotency key is an arbitrary unique value generated by client to detect subsequent retries of the same request. It is recommended that a UUID or a similar random identifier be used as an idempotency key. A different key must be used for each request, unless it is a retry.

Request body

device_idstring required

The user’s Android device ID; the device’s unique identifier.

device_type'MOBILE_PHONE' | 'TABLET' | 'WATCH' required

The type of device into which the digital wallet token will be provisioned.

provisioning_app_versionstring required

Version of the application making the provisioning request.

wallet_account_idstring required

The user’s Google wallet account ID.

Response

Digital wallet token provision request data

card_idstring uuid

The unique identifier of a card

created_timestring date-time
last_modified_timestring date-time

Example response

{
  "card_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
  "created_time": "2010-05-06T12:23:34.321Z",
  "last_modified_time": "2010-05-06T12:23:34.321Z",
  "push_tokenize_request_data": {
    "network": "mastercard",
    "user_address": {
      "address_line_1": "100 Main St.",
      "address_line_2": "Suite 99",
      "city": "New York",
      "country_code": "US",
      "postal_code": "49633",
      "state": "NY"
    }
  }
}