latestOpenAPI 3.0.12026-08-10122864.6 KB

15f03804be72

Push provisioning

(Deprecated) Add a card to a Google Pay wallet

This endpoint is deprecated; please use POST /v1/cards/{card_id}/sca_push_provision/google instead.

post/v1/cards/{card_id}/push_provision/google

Path parameters

card_idstring required

The unique identifier of the customer's card.

Request body

client_app_id'SolarisPushProvisioning'

Unique identifier for the client application. Use the value SolarisPushProvisioning.

client_device_idstring

Stable identifier for a physical Android device. Google refers to this attribute as a Stable hardware ID in their SDK documentation. Use the getStableHardwareId method to retrieve this value.

client_wallet_account_idstring

Unique 24-byte identifier for each instance of a [Android user, Google account] pair. Google computes the ID as a keyed hash of the Android user ID and the Google account ID. The key to this hash lives on Google's servers; the wallet ID is created during user setup as an RPC.

Example request

{
  "client_app_id": "SolarisPushProvisioning",
  "client_device_id": "DeviceIDZIiG3a0DgF4mQfkC",
  "client_wallet_account_id": "Rwt3tJek_k1JxivcwbPHjKDk"
}

Response

Successful result of the operation.

wallet_payloadstring

The Google wallet payload.

Example response

{
  "wallet_payload": "eyJhbGciOiJBMjU2R0NNS1ciLCJjaGFubmVsU2VjdXJpdHlDb250ZXh0IjoiU0hBUkVEX1NFQ1JFVCIsImVuYyI6IkEyNTZHQ00iLCJpYXQiOjE1NjYzMDUyNDIsIml2IjoiLVpMMGF4M0J2b1dRQjJhZyIsImtpZCI6IjhTTU5BWkRZTVFIQUFNNFU3S1ZZMTNDN0NlajVqdEVZbFI1MFhGRTdJd0R4RG9idE0iLCJ0YWciOiJDUW1DaWRFRkdFYkFyV3ViOU5IdkdRIiwidHlwIjoiSk9TRSJ9"
}