Google Standard Payments Google Hosted VirtualCards API

  • Google hosts Virtual Cards services, accessible via REST Resource: gsp.virtual-cards-v1.

  • Developers are encouraged to utilize Google-provided client libraries for seamless integration.

  • The service offers a Discovery Document for describing and consuming Google Standard Payments APIs, aiding in building client libraries and tools.

  • Service endpoints are provided for production and sandbox environments, facilitating API interaction.

  • Key methods include echo for testing and transactionEventNotification for updating Google about Virtual Card transactions.

This includes services hosted by Google for Virtual Cards.

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming Google Standard Payments APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • Prod: https://vgw.googleapis.com/gsp
  • Sandbox: https://vgw.sandbox.google.com/gsp
Methods
echo POST /virtual-cards-v1/echo/:PIAID
Echos back a string sent from the client.
transactionEventNotification POST /virtual-cards-v1/transactionEventNotification/:PIAID
Notify Google of transaction event that has occurred for an enrollment in Virtual Cards.