Google Standard Payments Google Hosted One Time Payment Codes API
Stay organized with collections
Save and categorize content based on your preferences.
This includes services hosted by Google for One Time Payment Codes.
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 |
acceptRemittanceStatement |
POST /one-time-payment-code-v1/acceptRemittanceStatement/:PIAID
Tells Google that the statement indicated in this request will be paid. |
acceptRemittanceStatementWithModifications |
POST /one-time-payment-code-v1/acceptRemittanceStatementWithModifications/:PIAID
Tells Google that the statement indicated in this request will be paid after modifications are made to the statement such as fee to VAT reclassification. |
echo |
POST /one-time-payment-code-v1/echo/:PIAID
Echos back the clientMessage passed in. |
referenceNumberPaidNotification |
POST /one-time-payment-code-v1/referenceNumberPaidNotification/:PIAID
Notify Google that a customer completed payment of a reference number. |
remittanceStatementDetails |
POST /one-time-payment-code-v1/remittanceStatementDetails/:PIAID
Returns transaction detail information about a remittance statement. |
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 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-02-28 UTC."],[[["\u003cp\u003eGoogle hosts services for One Time Payment Codes, accessible via REST Resource \u003ccode\u003egsp.one-time-payment-code-v1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eGoogle-provided client libraries are recommended for interacting with the service; however, a discovery document and service endpoints are available for custom integrations.\u003c/p\u003e\n"],["\u003cp\u003eThe service offers functionalities such as accepting remittance statements, handling modifications, echoing client messages, processing payment notifications, and providing remittance statement details.\u003c/p\u003e\n"],["\u003cp\u003eService endpoints are provided for both production (\u003ccode\u003ehttps://vgw.googleapis.com/gsp\u003c/code\u003e) and sandbox (\u003ccode\u003ehttps://vgw.sandbox.google.com/gsp\u003c/code\u003e) environments.\u003c/p\u003e\n"],["\u003cp\u003eAll service URIs are relative to the respective service endpoint and utilize methods like POST for various functionalities.\u003c/p\u003e\n"]]],["Google hosts services for One Time Payment Codes, accessible via a REST resource. Interactions are facilitated through client libraries or custom libraries using a provided Discovery Document, specifying the API structure. The service offers production and sandbox endpoints. Key actions include `acceptRemittanceStatement` and `acceptRemittanceStatementWithModifications` to confirm payments, `referenceNumberPaidNotification` to signal completed payments, `remittanceStatementDetails` for transaction data, and `echo` to reflect back the message received. All methods use POST requests.\n"],null,["This includes services hosted by Google for One Time Payment Codes.\n\n- [REST Resource: gsp.one-time-payment-code-v1](#gsp.one-time-payment-code-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\nDiscovery 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/one-time-payment-code-v1/google-one-time-payment-code-api/open-api-spec.json](/static/pay/one-time-payment-code-v1/google-one-time-payment-code-api/open-api-spec.json)\n\nService 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- Prod: `https://vgw.googleapis.com/gsp`\n- Sandbox: `https://vgw.sandbox.google.com/gsp`\n\n| Methods ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [acceptRemittanceStatement](/pay/one-time-payment-code-v1/google-one-time-payment-code-api/acceptRemittanceStatement) | `POST /one-time-payment-code-v1/acceptRemittanceStatement/`[:PIAID](/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Tells Google that the statement indicated in this request will be paid. |\n| [acceptRemittanceStatementWithModifications](/pay/one-time-payment-code-v1/google-one-time-payment-code-api/acceptRemittanceStatementWithModifications) | `POST /one-time-payment-code-v1/acceptRemittanceStatementWithModifications/`[:PIAID](/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Tells Google that the statement indicated in this request will be paid after modifications are made to the statement such as fee to VAT reclassification. |\n| [echo](/pay/one-time-payment-code-v1/google-one-time-payment-code-api/echo) | `POST /one-time-payment-code-v1/echo/`[:PIAID](/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Echos back the `clientMessage` passed in. |\n| [referenceNumberPaidNotification](/pay/one-time-payment-code-v1/google-one-time-payment-code-api/referenceNumberPaidNotification) | `POST /one-time-payment-code-v1/referenceNumberPaidNotification/`[:PIAID](/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Notify Google that a customer completed payment of a reference number. |\n| [remittanceStatementDetails](/pay/one-time-payment-code-v1/google-one-time-payment-code-api/remittanceStatementDetails) | `POST /one-time-payment-code-v1/remittanceStatementDetails/`[:PIAID](/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Returns transaction detail information about a remittance statement. |"]]