Google Standard Payments Payment Integrator Hosted VirtualCards API
Stay organized with collections
Save and categorize content based on your preferences.
This includes services hosted by Payment Integrators for VirtualCards.
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:
https://www.integratorhost.example.com/integrator-base-path
Methods |
echo |
POST /virtual-cards-v1/echo
Echos back a string sent from the client. |
enroll |
POST /virtual-cards-v1/enroll
Enrolls a card in Virtual Cards. |
getTransactions |
POST /virtual-cards-v1/getTransactions
Retrieves a list of transactions for the given enrollment in Virtual Cards. |
retrieveVirtualCardNumber |
POST /virtual-cards-v1/retrieveVirtualCardNumber
Retrieves a virtual card number for a card enrolled in Virtual Cards. |
sendOtp |
POST /virtual-cards-v1/sendOtp
Request to the vendor to send an OTP to the user. |
unenroll |
POST /virtual-cards-v1/unenroll
Informs the integrator that an enrollment is over. |
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."],[[["\u003cp\u003eThis service outlines how Payment Integrators can utilize Virtual Cards APIs.\u003c/p\u003e\n"],["\u003cp\u003eGoogle provides client libraries for easy integration, but custom libraries can also be used with the provided specifications.\u003c/p\u003e\n"],["\u003cp\u003eA Discovery Document and service endpoint are provided for interacting with the Virtual Cards APIs.\u003c/p\u003e\n"],["\u003cp\u003eAvailable methods include enrolling, retrieving virtual card numbers, getting transactions, sending OTPs, and managing enrollments.\u003c/p\u003e\n"]]],["Payment Integrators host services for VirtualCards, accessible via the `https://www.integratorhost.example.com/integrator-base-path` endpoint. Key actions include: echoing strings (`/virtual-cards-v1/echo`), enrolling cards (`/virtual-cards-v1/enroll`), retrieving transactions (`/virtual-cards-v1/getTransactions`), obtaining virtual card numbers (`/virtual-cards-v1/retrieveVirtualCardNumber`), sending OTPs (`/virtual-cards-v1/sendOtp`), and unenrolling cards (`/virtual-cards-v1/unenroll`). A Discovery Document, `/pay/virtual-cards-v1/payment-integrator-virtual-cards-api/open-api-spec.json`, provides a machine-readable API specification. Google client libraries are recommended for service interaction.\n"],null,["# Google Standard Payments Payment Integrator Hosted VirtualCards API\n\nThis includes services hosted by Payment Integrators for VirtualCards.\n\n- [REST Resource: integrator-base-path.virtual-cards-v1](#integrator-base-path.virtual-cards-v1)\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) 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:\n\n- [/pay/virtual-cards-v1/payment-integrator-virtual-cards-api/open-api-spec.json](/static/pay/virtual-cards-v1/payment-integrator-virtual-cards-api/open-api-spec.json)\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_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:\n\n- `https://www.integratorhost.example.com/integrator-base-path`\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| [echo](/pay/virtual-cards-v1/payment-integrator-virtual-cards-api/echo) | `POST /virtual-cards-v1/echo` Echos back a string sent from the client. |\n| [enroll](/pay/virtual-cards-v1/payment-integrator-virtual-cards-api/enroll) | `POST /virtual-cards-v1/enroll` Enrolls a card in Virtual Cards. |\n| [getTransactions](/pay/virtual-cards-v1/payment-integrator-virtual-cards-api/getTransactions) | `POST /virtual-cards-v1/getTransactions` Retrieves a list of transactions for the given enrollment in Virtual Cards. |\n| [retrieveVirtualCardNumber](/pay/virtual-cards-v1/payment-integrator-virtual-cards-api/retrieveVirtualCardNumber) | `POST /virtual-cards-v1/retrieveVirtualCardNumber` Retrieves a virtual card number for a card enrolled in Virtual Cards. |\n| [sendOtp](/pay/virtual-cards-v1/payment-integrator-virtual-cards-api/sendOtp) | `POST /virtual-cards-v1/sendOtp` Request to the vendor to send an OTP to the user. |\n| [unenroll](/pay/virtual-cards-v1/payment-integrator-virtual-cards-api/unenroll) | `POST /virtual-cards-v1/unenroll` Informs the integrator that an enrollment is over. |"]]