Google Standard Payments Google Hosted Redirect Payment Token API
Stay organized with collections
Save and categorize content based on your preferences.
This includes services hosted by Google for Redirect Payment Tokens.
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
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 Redirect Payment Tokens, accessible via REST Resource \u003ccode\u003egsp.redirect-payment-token-v1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eGoogle-provided client libraries are recommended for using this service, but a discovery document and service endpoints are available for custom integrations.\u003c/p\u003e\n"],["\u003cp\u003eThe service offers methods such as \u003ccode\u003eacceptRemittanceStatement\u003c/code\u003e, \u003ccode\u003eecho\u003c/code\u003e, \u003ccode\u003egeneratePaymentTokenRedirectCompleteNotification\u003c/code\u003e, and \u003ccode\u003eremittanceStatementDetails\u003c/code\u003e for managing redirect payments.\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 specified service endpoints and include methods for managing remittance statements, echoing client messages, and handling redirect payment notifications.\u003c/p\u003e\n"]]],["Google hosts services for Redirect Payment Tokens, accessible via client libraries or custom libraries using the provided Discovery Document. The service endpoint is `https://vgw.googleapis.com/gsp` for production and `https://vgw.sandbox.google.com/gsp` for sandbox. Key actions include: `acceptRemittanceStatement` (to confirm payment), `echo` (for message verification), `generatePaymentTokenRedirectCompleteNotification` (to notify redirect payment status), and `remittanceStatementDetails` (to retrieve transaction details). These methods are all `POST` requests.\n"],null,["# Google Standard Payments Google Hosted Redirect Payment Token API\n\nThis includes services hosted by Google for Redirect Payment Tokens.\n\n- [REST Resource: gsp.redirect-payment-token-v1](#gsp.redirect-payment-token-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/redirect-payment-token-v1/google-redirect-payment-token-api/open-api-spec.json](/static/pay/redirect-payment-token-v1/google-redirect-payment-token-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- Prod: `https://vgw.googleapis.com/gsp`\n- Sandbox: `https://vgw.sandbox.google.com/gsp`\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [acceptRemittanceStatement](/pay/redirect-payment-token-v1/google-redirect-payment-token-api/acceptRemittanceStatement) | `POST /redirect-payment-token-v1/acceptRemittanceStatement/`[:PIAID](/pay/redirect-payment-token-v1/reference/glossary#payment_integrator_account_id) Tells Google that the statement indicated in this request will be paid. |\n| [echo](/pay/redirect-payment-token-v1/google-redirect-payment-token-api/echo) | `POST /redirect-payment-token-v1/echo/`[:PIAID](/pay/redirect-payment-token-v1/reference/glossary#payment_integrator_account_id) Echos back the `clientMessage` passed in. |\n| [generatePaymentTokenRedirectCompleteNotification](/pay/redirect-payment-token-v1/google-redirect-payment-token-api/generatePaymentTokenRedirectCompleteNotification) | `POST /redirect-payment-token-v1/generatePaymentTokenRedirectCompleteNotification/`[:PIAID](/pay/redirect-payment-token-v1/reference/glossary#payment_integrator_account_id) Notify Google of the status of a redirect payment. |\n| [remittanceStatementDetails](/pay/redirect-payment-token-v1/google-redirect-payment-token-api/remittanceStatementDetails) | `POST /redirect-payment-token-v1/remittanceStatementDetails/`[:PIAID](/pay/redirect-payment-token-v1/reference/glossary#payment_integrator_account_id) Returns transaction detail information about a remittance statement. |"]]