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

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

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/one-time-payment-code-v1/google-one-time-payment-code-api/open-api-spec.json](https://developers.google.com/static/pay/one-time-payment-code-v1/google-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/one-time-payment-code-v1/google-one-time-payment-code-api/acceptRemittanceStatement` | `POST /one-time-payment-code-v1/acceptRemittanceStatement/https://developers.google.com/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id` Tells Google that the statement indicated in this request will be paid. |
| `https://developers.google.com/pay/one-time-payment-code-v1/google-one-time-payment-code-api/acceptRemittanceStatementWithModifications` | `POST /one-time-payment-code-v1/acceptRemittanceStatementWithModifications/https://developers.google.com/pay/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. |
| `https://developers.google.com/pay/one-time-payment-code-v1/google-one-time-payment-code-api/echo` | `POST /one-time-payment-code-v1/echo/https://developers.google.com/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id` Echos back the `clientMessage` passed in. |
| `https://developers.google.com/pay/one-time-payment-code-v1/google-one-time-payment-code-api/referenceNumberPaidNotification` | `POST /one-time-payment-code-v1/referenceNumberPaidNotification/https://developers.google.com/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id` Notify Google that a customer completed payment of a reference number. |
| `https://developers.google.com/pay/one-time-payment-code-v1/google-one-time-payment-code-api/referenceNumberPaymentStatusNotification` | `POST /one-time-payment-code-v1/referenceNumberPaymentStatusNotification/https://developers.google.com/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id` **RECOMMENDED**: Notifies Google of the status of a reference number payment. |
| `https://developers.google.com/pay/one-time-payment-code-v1/google-one-time-payment-code-api/remittanceStatementDetails` | `POST /one-time-payment-code-v1/remittanceStatementDetails/https://developers.google.com/pay/one-time-payment-code-v1/reference/glossary#payment_integrator_account_id` Returns transaction detail information about a remittance statement. |