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-v1/acceptRemittanceStatement/:PIAID
Tells Google that the statement indicated in this request will be paid. |
acceptRemittanceStatementWithModifications |
POST /refundable-one-time-payment-code-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. |
captureResultNotification |
POST /refundable-one-time-payment-code-v1/captureResultNotification/:PIAID
Notify Google of the result of a capture after an asynchronousCapture method call has been made. |
echo |
POST /refundable-one-time-payment-code-v1/echo/:PIAID
Echos back the clientMessage passed in. |
inquiryNotification |
POST /refundable-one-time-payment-code-v1/inquiryNotification/:PIAID
Notifies Google of a request for inquiry into a transaction. |
referenceNumberPaidNotification |
POST /refundable-one-time-payment-code-v1/referenceNumberPaidNotification/:PIAID
Notify Google that a customer completed payment of a reference number. |
refundResultNotification |
POST /refundable-one-time-payment-code-v1/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-v1/remittanceStatementDetails/:PIAID
Returns transaction detail information about a remittance statement. |
Methods |
create |
POST /refundable-one-time-payment-code-v1/createMandateResultNotification/:PIAID
Notify Google of the result of a mandate creation after a createMandateWithOptionalInstantPayment method call has been made. |
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-16 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-05-16 UTC."],[[["\u003cp\u003eThis documentation details Google's services for Refundable One Time Payment Codes, recommending the use of Google-provided client libraries for interaction.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the provided Discovery Document to understand and integrate with the Google Standard Payments APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe service has distinct production and sandbox endpoints for real-world and testing environments, respectively.\u003c/p\u003e\n"],["\u003cp\u003eVarious methods are available through the service, such as accepting remittance statements, handling inquiries, and processing refund notifications, all accessible via specific API endpoints.\u003c/p\u003e\n"],["\u003cp\u003eAll API requests should be directed to the service endpoint \u003ccode\u003ehttps://vgw.googleapis.com/gsp\u003c/code\u003e for production and \u003ccode\u003ehttps://vgw.sandbox.google.com/gsp\u003c/code\u003e for sandbox environments.\u003c/p\u003e\n"]]],["Google hosts services for Refundable One Time Payment Codes, accessible via a REST resource. Client libraries are recommended, but custom libraries can use the provided discovery document. The service uses `https://vgw.googleapis.com/gsp` (prod) and `https://vgw.sandbox.google.com/gsp` (sandbox) endpoints. Key actions include: accepting remittance statements, accepting statements with modifications, echoing messages, sending inquiry/payment/refund notifications, and retrieving remittance statement details. All actions are done with a POST method.\n"],null,["This includes services hosted by Google for Refundable One Time Payment Codes.\n\n- [REST Resource: gsp.refundable-one-time-payment-code-v1](#gsp.refundable-one-time-payment-code-v1)\n- [REST Resource:\n gsp.refundable-one-time-payment-code-v1.createMandateResultNotification](#gsp.refundable-one-time-payment-code-v1.createMandateResultNotification)\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\nDiscovery 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-v1/google-refundable-one-time-payment-code-api/open-api-spec.json](/static/pay/refundable-one-time-payment-code-v1/google-refundable-one-time-payment-code-api/open-api-spec.json)\n\nService 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-v1/google-refundable-one-time-payment-code-api/acceptRemittanceStatement) | `POST /refundable-one-time-payment-code-v1/acceptRemittanceStatement/`[:PIAID](/pay/refundable-one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Tells Google that the statement indicated in this request will be paid. |\n| [acceptRemittanceStatementWithModifications](/pay/refundable-one-time-payment-code-v1/google-refundable-one-time-payment-code-api/acceptRemittanceStatementWithModifications) | `POST /refundable-one-time-payment-code-v1/acceptRemittanceStatementWithModifications/`[:PIAID](/pay/refundable-one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) 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. |\n| [captureResultNotification](/pay/refundable-one-time-payment-code-v1/google-refundable-one-time-payment-code-api/captureResultNotification) | `POST /refundable-one-time-payment-code-v1/captureResultNotification/`[:PIAID](/pay/refundable-one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Notify Google of the result of a capture after an `asynchronousCapture` method call has been made. |\n| [echo](/pay/refundable-one-time-payment-code-v1/google-refundable-one-time-payment-code-api/echo) | `POST /refundable-one-time-payment-code-v1/echo/`[:PIAID](/pay/refundable-one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Echos back the `clientMessage` passed in. |\n| [inquiryNotification](/pay/refundable-one-time-payment-code-v1/google-refundable-one-time-payment-code-api/inquiryNotification) | `POST /refundable-one-time-payment-code-v1/inquiryNotification/`[:PIAID](/pay/refundable-one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Notifies Google of a request for inquiry into a transaction. |\n| [referenceNumberPaidNotification](/pay/refundable-one-time-payment-code-v1/google-refundable-one-time-payment-code-api/referenceNumberPaidNotification) | `POST /refundable-one-time-payment-code-v1/referenceNumberPaidNotification/`[:PIAID](/pay/refundable-one-time-payment-code-v1/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-v1/google-refundable-one-time-payment-code-api/refundResultNotification) | `POST /refundable-one-time-payment-code-v1/refundResultNotification/`[:PIAID](/pay/refundable-one-time-payment-code-v1/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-v1/google-refundable-one-time-payment-code-api/remittanceStatementDetails) | `POST /refundable-one-time-payment-code-v1/remittanceStatementDetails/`[:PIAID](/pay/refundable-one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Returns transaction detail information about a remittance statement. |\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [create](/pay/refundable-one-time-payment-code-v1/google-refundable-one-time-payment-code-api/createMandateResultNotification) | `POST /refundable-one-time-payment-code-v1/createMandateResultNotification/`[:PIAID](/pay/refundable-one-time-payment-code-v1/reference/glossary#payment_integrator_account_id) Notify Google of the result of a mandate creation after a `createMandateWithOptionalInstantPayment` method call has been made. |"]]