Order and Pay
Apply a Payment
Changed onAdd a payment to an existing order.
post/o/op/1/pay
Request
- Base URLhttps://api.trial.lsk.lightspeed.app
- AuthOAuth 2Authorization code: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/authToken URL: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token scopes: orders-api
Request body
Example request
{
"iKaccountIdentifier": "A1234.56",
"thirdPartyPaymentReference": "12345678901234",
"endpointId": "MY-AWESOME-ENDPOINT-ID",
"businessLocationId": 45454565682155,
"taskTtlInMs": 60000,
"deviceId": 12345678980,
"paymentMethod": "OOPAYMENT",
"paymentAmount": 20.06,
"tipAmount": 2.5,
"targetPrinterProfileId": 1773881235
}Response
accepted
Example response
{
"status": "ok"
}Changes
- info
added the new optional request property
- info