Returns the Google opaque payment card (OPC) needed for Unified Android Push Provisioning. It lets Google save the card to the user's Google account. The OPC is an encrypted payload containing the card details: do not parse or modify it, and pass it unchanged to Google's SDK.
Use this together with Push provisioning for Google Pay, which returns the issuer OPC. For Unified Android Push Provisioning, see the Digital wallets guide.
This API is not available for sandbox testing.
Security
UserToken or ClientCredentialsToken
Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.
Example:f47ac10b-58cc-4372-a567-0e02b2c3d479
POST
- UserToken
- ClientCredentialsToken
curl -i -X POST \
https://twcard.wise.com/twcard-data/v1/push-provisioning/encrypted-payload/google-opc \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-External-Correlation-Id: f47ac10b-58cc-4372-a567-0e02b2c3d479' \
-H 'x-tw-twcard-card-token: a3f90c98-1cd1-4488-9050-2e32c696f8fa' \
-d '{
"googleServerSessionId": "d1c3b8e2-5f0a-4c7e-9a41-6b2f7e8d9c10"
}'Google OPC for Google Pay.
Headers
Echoed back when X-External-Correlation-Id was included in the request. Learn more.
Example:"f47ac10b-58cc-4372-a567-0e02b2c3d479"
Response
{ "googleOpc": "eyJraWQiOiIwQk..." }