AI-generated Key Takeaways
-
Google hosts services for Redirect Payment Tokens, accessible via REST Resource
gsp.redirect-payment-token-v1
. -
Google-provided client libraries are recommended for using this service, but a discovery document and service endpoints are available for custom integrations.
-
The service offers methods such as
acceptRemittanceStatement
,echo
,generatePaymentTokenRedirectCompleteNotification
, andremittanceStatementDetails
for managing redirect payments. -
Service endpoints are provided for both production (
https://vgw.googleapis.com/gsp
) and sandbox (https://vgw.sandbox.google.com/gsp
) environments. -
All service URIs are relative to the specified service endpoints and include methods for managing remittance statements, echoing client messages, and handling redirect payment notifications.
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
Methods | |
---|---|
acceptRemittanceStatement |
POST /redirect-payment-token-v1/acceptRemittanceStatement/:PIAID Tells Google that the statement indicated in this request will be paid. |
echo |
POST /redirect-payment-token-v1/echo/:PIAID Echos back the clientMessage passed in. |
generatePaymentTokenRedirectCompleteNotification |
POST /redirect-payment-token-v1/generatePaymentTokenRedirectCompleteNotification/:PIAID Notify Google of the status of a redirect payment. |
remittanceStatementDetails |
POST /redirect-payment-token-v1/remittanceStatementDetails/:PIAID Returns transaction detail information about a remittance statement. |