Google Standard Payments Google Hosted VirtualCards API
Stay organized with collections
Save and categorize content based on your preferences.
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. |
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["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."]]],["Google hosts services for Virtual Cards, accessible via the `gsp.virtual-cards-v1` REST resource. Client libraries are recommended for API interaction, though custom libraries can be used with the provided Discovery Document, located at `/pay/virtual-cards-v1/google-virtual-cards-api/open-api-spec.json`. The service endpoints are `https://vgw.googleapis.com/gsp` for production and `https://vgw.sandbox.google.com/gsp` for sandbox environments. Key methods include `echo` to return a string and `transactionEventNotification` to notify Google about Virtual Card transaction events.\n"]]