# Google Standard Payments Google Hosted Refundable One Time Payment Codes API

This includes services hosted by Google for Refundable One Time Payment Codes.

- [REST Resource: gsp.refundable-one-time-payment-code-v2](https://developers.google.com/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api#gsp.refundable-one-time-payment-code-v2)

To 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.

### Discovery document

A [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:

- [/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/open-api-spec.json](https://developers.google.com/static/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/open-api-spec.json)

### Service endpoint

A [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:

- Prod: `https://vgw.googleapis.com/gsp`
- Sandbox: `https://vgw.sandbox.google.com/gsp`

| Methods ||
|---|---|
| `https://developers.google.com/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/acceptRemittanceStatement` | `POST /refundable-one-time-payment-code-v2/acceptRemittanceStatement/https://developers.google.com/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. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/echo` | `POST /refundable-one-time-payment-code-v2/echo/https://developers.google.com/pay/refundable-one-time-payment-code-v2/reference/glossary#payment_integrator_account_id` Echos back a string sent from the client. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/referenceNumberPaidNotification` | `POST /refundable-one-time-payment-code-v2/referenceNumberPaidNotification/https://developers.google.com/pay/refundable-one-time-payment-code-v2/reference/glossary#payment_integrator_account_id` Notify Google that a customer completed payment of a reference number. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/refundResultNotification` | `POST /refundable-one-time-payment-code-v2/refundResultNotification/https://developers.google.com/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. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v2/google-refundable-one-time-payment-code-api/remittanceStatementDetails` | `POST /refundable-one-time-payment-code-v2/remittanceStatementDetails/https://developers.google.com/pay/refundable-one-time-payment-code-v2/reference/glossary#payment_integrator_account_id` Returns transaction detail information about a remittance statement. |