v1

latestOpenAPI 3.0.02026-07-2640301.0 MB
Digital Wallet Endpoints

google-pay

This endpoint retrieves a list of Google Pay credit cards associated with your VoPay account

get/google-pay

Query parameters

AccountIDstring required

Your account ID

Keystring required

API key for the account

Signaturestring required

Hashed signature for the request

GooglePayTokenstring

When provided, this endpoint will only return the Google Pay credit cards associated with this token

ClientAccountIDstring

When provided, this endpoint will only return Google Pay credit cards associated with this Client Account ID

ClientControlledboolean

When set to true, this endpoint will only return Google Pay credit cards linked to your VoPay account. When set to false, it will return a list of your customer's Google Pay tokens.

Limit integer

Limit the number of records that are returned.

Offset integer

Use this parameter to set the starting point in the dataset.

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

Example response

{
  "Success": true,
  "CreditCards": {
    "0": {
      "CreditCardHolderName": "John Smith",
      "CreditCardNumber": "*****1234",
      "CreditCardExpiryYear": "2023",
      "CreditCardExpiryMonth": "12",
      "CreditCardBrand": "visa",
      "GooglePayToken": "ACBDF-GAFSHD-AHBS-123456",
      "IsDefault": true,
      "ClientAccountID": "ClientAccount1"
    }
  },
  "Pagination": {
    "TotalRecords": "1000",
    "Offset": "1000",
    "Limit": "1000"
  }
}