Google Standard Payments Google Hosted Refundable One Time Payment Codes API

  • Google hosts services for Refundable One Time Payment Codes, accessible via REST Resource gsp.refundable-one-time-payment-code-v2.

  • Developers are encouraged to utilize Google-provided client libraries when interacting with these services; however, a discovery document and service endpoints are available for custom integrations.

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

  • Several methods, including acceptRemittanceStatement, echo, referenceNumberPaidNotification, refundResultNotification, and remittanceStatementDetails, are available for managing refundable one-time payment codes.

  • Each method utilizes specific POST requests to designated endpoints relative to the service endpoint and includes a Payment Integrator Account ID (PIAID).

This includes services hosted by Google for Refundable 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 /refundable-one-time-payment-code-v2/acceptRemittanceStatement/:PIAID
Tells Google that the statement indicated in this request will be paid.
echo POST /refundable-one-time-payment-code-v2/echo/:PIAID
Echos back a string sent from the client.
referenceNumberPaidNotification POST /refundable-one-time-payment-code-v2/referenceNumberPaidNotification/:PIAID
Notify Google that a customer completed payment of a reference number.
refundResultNotification POST /refundable-one-time-payment-code-v2/refundResultNotification/:PIAID
Notify Google of the result of a refund after a refund method call has been made.
remittanceStatementDetails POST /refundable-one-time-payment-code-v2/remittanceStatementDetails/:PIAID
Returns transaction detail information about a remittance statement.