Google Standard Payments Google Hosted Redirect FOP API

  • Google hosts services for Redirect FOPs, accessible through Google-provided client libraries or by using the provided service endpoints and discovery document.

  • The service endpoints for Redirect FOPs are https://vgw.googleapis.com/gsp for production and https://vgw.sandbox.google.com/gsp for sandbox environments.

  • A discovery document, located at /pay/redirect-fop-v1/google-redirect-fop-api/open-api-spec.json, provides a machine-readable specification for interacting with these APIs.

  • Several methods are available within the Redirect FOPs service, including accepting remittance statements, handling payment notifications, and managing refunds, each with its own specific endpoint and functionality.

This includes services hosted by Google for Redirect FOPs.

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 /redirect-fop-v1/acceptRemittanceStatement/:PIAID
Tells Google that the statement indicated in this request will be paid.
acceptRemittanceStatementWithModifications POST /redirect-fop-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 /v1/echo/:PIAID
Echos back a string sent from the client.
redirectPaymentCompleteNotification POST /redirect-fop-v1/redirectPaymentCompleteNotification/:PIAID
Notify Google of the status of a redirect payment.
refundResultNotification POST /redirect-fop-v1/refundResultNotification/:PIAID
Notify Google of the result of a refund after an asynchronousRefund method call has been made.
remittanceStatementDetails POST /redirect-fop-v1/remittanceStatementDetails/:PIAID
Returns transaction detail information about a remittance statement.