---
title: "google-pay/set-my-google-pay"
method: POST
path: "/google-pay/set-my-google-pay"
tags: ["Digital Wallet Endpoints"]
---

# google-pay/set-my-google-pay

`POST /google-pay/set-my-google-pay`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/google-pay/set-my-google-pay`
- Auth: none declared

This endpoint allows you to identify a Google Pay credit card as belonging to the VoPay account holder. Optionally, you can use this endpoint to identify a Google Pay credit card as being the VoPay account holder's default Google Pay credit card. Note, a VoPay account can only have one default Google Pay credit card.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `GooglePayToken` string, required: Google Pay token
  - `ClientAccountID` string: Client Account ID
  - `SetAsDefault` boolean: Identify credit card as default Google Pay credit card

## Response `200`

- object
  - `Success` boolean, required: true if the request was successful, false if it failed
  - `ErrorMessage` string, required: Contains a description of the error if the request failed
  - `GooglePayToken` string, required: Google Pay token
  - `IsDefault` boolean, required: Is this the VoPay account holder's default Google Pay credit card

---

[API](https://skmtc.dev/vopay/apis/payment-methods.md) - [All operations](https://skmtc.dev/vopay/apis/payment-methods/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/payment-methods/revisions/b566c8002410?raw)
