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

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

- [REST Resource: integrator-base-path.refundable-one-time-payment-code-v1](https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api#integrator-base-path.refundable-one-time-payment-code-v1)
- [REST Resource:
  integrator-base-path.refundable-one-time-payment-code-v1.createMandateWithOptionalInstantPayment](https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api#integrator-base-path.refundable-one-time-payment-code-v1.createMandateWithOptionalInstantPayment)

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

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

| Methods ||
|---|---|
| `https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api/asynchronousCapture` | `POST /refundable-one-time-payment-code-v1/asynchronousCapture` Triggers the start of a money movement operation between a customer's account and the integrator. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api/asynchronousRefund` | `POST /refundable-one-time-payment-code-v1/asynchronousRefund` Refunds a portion of or the entire transaction initiated through `generateReferenceNumber`. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api/cancelMandate` | `POST /refundable-one-time-payment-code-v1/cancelMandate` Initiates a mandate cancellation on the user's account with the integrator. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api/cancelReferenceNumber` | `POST /refundable-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/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api/echo` | `POST /refundable-one-time-payment-code-v1/echo` Echos back the `clientMessage` that is passed in. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api/generateReferenceNumber` | `POST /refundable-one-time-payment-code-v1/generateReferenceNumber` Creates a reference number and registers payment information (description, timestamp) with the integrator. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api/refund` | `POST /refundable-one-time-payment-code-v1/refund` Refunds a portion of or the entire transaction initiated through `generateReferenceNumber`. |
| `https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api/remittanceStatementNotification` | `POST /refundable-one-time-payment-code-v1/remittanceStatementNotification` Notifies the integrator of a new remittance statement. |

| Methods ||
|---|---|
| `https://developers.google.com/pay/refundable-one-time-payment-code-v1/payment-integrator-refundable-one-time-payment-code-api/createMandateWithOptionalInstantPayment` | `POST /refundable-one-time-payment-code-v1/createMandateWithOptionalInstantPayment` Initiates a mandate creation on the user's account with the integrator. |