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

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

- [REST Resource: integrator-base-path.one-time-payment-code-v1](https://developers.google.com/pay/one-time-payment-code-v1/payment-integrator-one-time-payment-code-api#integrator-base-path.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/payment-integrator-one-time-payment-code-api/open-api-spec.json](https://developers.google.com/static/pay/one-time-payment-code-v1/payment-integrator-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:

- `https://www.integratorhost.example.com/integrator-base-path`

| Methods ||
|---|---|
| `https://developers.google.com/pay/one-time-payment-code-v1/payment-integrator-one-time-payment-code-api/cancelReferenceNumber` | `POST /one-time-payment-code-v1/cancelReferenceNumber` Cancels a reference number by invalidating it in the integrators system and preventing future payments. |
| `https://developers.google.com/pay/one-time-payment-code-v1/payment-integrator-one-time-payment-code-api/echo` | `POST /one-time-payment-code-v1/echo` Echos back the `clientMessage` that is passed in. |
| `https://developers.google.com/pay/one-time-payment-code-v1/payment-integrator-one-time-payment-code-api/generateReferenceNumber` | `POST /one-time-payment-code-v1/generateReferenceNumber` Creates a reference number and registers payment information (description, timestamp) with the integrator. |
| `https://developers.google.com/pay/one-time-payment-code-v1/payment-integrator-one-time-payment-code-api/remittanceStatementNotification` | `POST /one-time-payment-code-v1/remittanceStatementNotification` Notifies the integrator of a new remittance statement. |