---
title: "Generate Google Pay OPC"
method: POST
path: "/cards/{cardId}/opc"
tags: ["Mobile App Push Provisioning"]
---

# Generate Google Pay OPC

`POST /cards/{cardId}/opc`

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

## Path parameters

- `cardId` string, uuid, required

## Headers

- `Accept-Version` string, required — Specifies the API version to use for this request.

## Request body

- object
  - `provider` 'google', required — Provider of the payment method, currently only Google Pay is supported
  - `clientWalletAccountID` string, required — The unique identifier for the client's wallet account, obtained using getActiveWalletId() from the Google Tap and Pay Android API.
  - `clientDeviceID` string, required — The unique identifier for the client's device, obtained using getStableHardwareId() from the Google Tap and Pay Android API.
  - `forceIdentityCheck` boolean — 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.

## Response `200`

Google Pay OPC generated successfully

- object
  - `opc` string, required
  - `last4` string, required

## Other responses

- `400` — Bad Request
- `404` — Not found

---

[API](https://skmtc.net/reap-global/apis/reap-api.md) · [All operations](https://skmtc.net/reap-global/apis/reap-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/reap-global/reap-api/revisions/525072733e02/schema)
