---
title: "Apply a Payment"
method: POST
path: "/o/op/1/pay"
tags: ["Order and Pay"]
---

# Apply a Payment

`POST /o/op/1/pay`

Add a payment to an existing order.

## Request body

- ApeStandalonePayment — Payment to apply to an existing order.
  - `iKaccountId` integer
  - `iKaccountIdentifier` string — The ID of the account to apply this payment to.
  - `thirdPartyPaymentReference` string, required — A unique external reference provided for this order. This value will be sent back in the webhook.
  - `endpointId` string, required — Endpoint ID for a unique webhook that has been created using [the webhook endpoint](https://api-docs.lsk.lightspeed.app/operation/operation-apecreatewebhookoo).
  - `businessLocationId` integer, required — The unique identifier for the business location.
  - `taskTtlInMs` integer — Maximum time to attempt delivery of this payment to the POS. In milliseconds. The minimum value is 60000ms (1 minute).
  - `staffId` integer — The ID of the employee responsible for this payment.
  - `deviceId` integer — POS device to specifically receive this payment. If left null then all POS devices may receive the payment but only one will process it.
  - `paymentMethod` string — Payment method code as configured by the merchant.
  - `paymentAmount` number, required — The total amount of the payment without tips.
  - `tipAmount` number — The tip amount, if any.
  - `targetPrinterProfileId` integer — The printer profile id to use for printing the receipt for this payment. If not provided, the default active printer profile for the business location will be used.

## Response `200`

accepted

- ApePaymentSubmissionResponse — Acknowledgement that the payment was accepted for delivery to the POS.
  - `status` string — The response.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/lightspeed/apis/lightspeed-restaurant-k-series-api.md) · [All operations](https://skmtc.net/lightspeed/apis/lightspeed-restaurant-k-series-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightspeed/lightspeed-restaurant-k-series-api/versions/fd2e31cf57dd/schema)
