Mobile App Push Provisioning

Generate Google Pay OPC

Changed on

This endpoint is used to generate a Google Pay OPC for a card, please refer to Google Documentation for more information on how to make use of this endpoint. https://developers.google.com/pay/issuers/apis/push-provisioning/android

post/cards/{cardId}/opc

Request

Path parameters

cardIdstring uuid required

Headers

Accept-Versionstring required

Specifies the API version to use for this request.

Request body

provider'google' required

Provider of the payment method, currently only Google Pay is supported

clientWalletAccountIDstring required

The unique identifier for the client's wallet account, obtained using getActiveWalletId() from the Google Tap and Pay Android API.

clientDeviceIDstring required

The unique identifier for the client's device, obtained using getStableHardwareId() from the Google Tap and Pay Android API.

forceIdentityCheckboolean

Indicate if you would like the user to be forced to do identity verification, can be used for high risk transactions. Currently not supported, and will be always true.

serverSessionIDstring

Minted by a Google server and handed to the app by the SDK.

Response

Google Pay OPC generated successfully

opcstring required
last4string required
googleOpaquePaymentCardstring

The PGP-encrypted FPAN payload that saves the card to the user's Google Account. Returned only when serverSessionID was in the request.

Changes

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status