Google Standard Payments Google Hosted Refundable One Time Payment Codes API
Stay organized with collections
Save and categorize content based on your preferences.
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. |
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 Refundable One Time Payment Codes, accessible via REST Resource \u003ccode\u003egsp.refundable-one-time-payment-code-v2\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers 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.\u003c/p\u003e\n"],["\u003cp\u003eThe service endpoints for production and sandbox environments are \u003ccode\u003ehttps://vgw.googleapis.com/gsp\u003c/code\u003e and \u003ccode\u003ehttps://vgw.sandbox.google.com/gsp\u003c/code\u003e, respectively.\u003c/p\u003e\n"],["\u003cp\u003eSeveral methods, including \u003ccode\u003eacceptRemittanceStatement\u003c/code\u003e, \u003ccode\u003eecho\u003c/code\u003e, \u003ccode\u003ereferenceNumberPaidNotification\u003c/code\u003e, \u003ccode\u003erefundResultNotification\u003c/code\u003e, and \u003ccode\u003eremittanceStatementDetails\u003c/code\u003e, are available for managing refundable one-time payment codes.\u003c/p\u003e\n"],["\u003cp\u003eEach method utilizes specific POST requests to designated endpoints relative to the service endpoint and includes a Payment Integrator Account ID (PIAID).\u003c/p\u003e\n"]]],["Google hosts services for Refundable One Time Payment Codes, accessible via the `gsp.refundable-one-time-payment-code-v2` REST resource. A Discovery Document describes the API, and service endpoints for production (`https://vgw.googleapis.com/gsp`) and sandbox (`https://vgw.sandbox.google.com/gsp`) are provided. Key actions include using `POST` requests to: `acceptRemittanceStatement`, `echo`, `referenceNumberPaidNotification`, `refundResultNotification`, and `remittanceStatementDetails` via their respective endpoints. Client libraries are recommended for API interaction.\n"],null,["# Google Standard Payments Google Hosted Refundable One Time Payment Codes API\n\nThis includes services hosted by Google for Refundable One Time Payment Codes.\n\n- [REST Resource: gsp.refundable-one-time-payment-code-v2](#gsp.refundable-one-time-payment-code-v2)\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/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/open-api-spec.json](/static/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-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/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/acceptRemittanceStatement) | `POST /refundable-one-time-payment-code-v2/acceptRemittanceStatement/`[:PIAID](/pay/refundable-one-time-payment-code-v2/reference/glossary#payment_integrator_account_id) Tells Google that the statement indicated in this request will be paid. |\n| [echo](/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/echo) | `POST /refundable-one-time-payment-code-v2/echo/`[:PIAID](/pay/refundable-one-time-payment-code-v2/reference/glossary#payment_integrator_account_id) Echos back a string sent from the client. |\n| [referenceNumberPaidNotification](/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/referenceNumberPaidNotification) | `POST /refundable-one-time-payment-code-v2/referenceNumberPaidNotification/`[:PIAID](/pay/refundable-one-time-payment-code-v2/reference/glossary#payment_integrator_account_id) Notify Google that a customer completed payment of a reference number. |\n| [refundResultNotification](/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/refundResultNotification) | `POST /refundable-one-time-payment-code-v2/refundResultNotification/`[:PIAID](/pay/refundable-one-time-payment-code-v2/reference/glossary#payment_integrator_account_id) Notify Google of the result of a refund after a `refund` method call has been made. |\n| [remittanceStatementDetails](/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/remittanceStatementDetails) | `POST /refundable-one-time-payment-code-v2/remittanceStatementDetails/`[:PIAID](/pay/refundable-one-time-payment-code-v2/reference/glossary#payment_integrator_account_id) Returns transaction detail information about a remittance statement. |"]]