Digital Wallet Endpoints

google-pay/set-my-google-pay

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.

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

Request body application/x-www-form-urlencoded

AccountIDstring required

Your account ID

Keystring required

API key for the account

Signaturestring required

Hashed signature for the request

GooglePayTokenstring required

Google Pay token

ClientAccountIDstring

Client Account ID

SetAsDefaultboolean

Identify credit card as default Google Pay credit card

Response

Successboolean required

true if the request was successful, false if it failed

ErrorMessagestring required

Contains a description of the error if the request failed

GooglePayTokenstring required

Google Pay token

IsDefaultboolean required

Is this the VoPay account holder's default Google Pay credit card

Example response

{
  "Success": true,
  "GooglePayToken": "ACBDF-GAFSHD-AHBS-123456",
  "IsDefault": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.