v1
latestOpenAPI 3.1.02026-08-06911,228852.2 KBLightspeed Payments Data
Returns Lightspeed Payments fee and surcharge data for a business location for a specified date range. Results are queried and sorted based on the specified dateType.
Note: Will only return sales created after migration from iKentoo 2.0 to Lightspeed K-Series. See this article for more details.
Path parameters
The unique identifier for the business location.
Query parameters
Start of requested results, in ISO 8601 format.
The date range between 'from' and 'to' cannot exceed 365 days (1 year).
Results queried by the dateType parameter.
End of requested results, in ISO 8601 format.
Results queried by the dateType parameter.
Number of entries to return.
The pagination offset.
The direction to sort the results.
The date used when querying and sorting results.
Payment statuses to filter the result set by.
Response
successful operation
Example response
{
"payments": [
{
"accountFiscId": "A72691.8",
"lightspeedPaymentId": "ad-GJ33PFSCGVG4NFH4",
"uuid": "bc7i2X_CTkeg8qlec66wmg==",
"reference": "RFOOVMIMPSDY",
"createdDate": "2022-09-21T10:11:56Z",
"captureDate": "2022-09-21T10:11:56Z",
"modificationDate": "2022-09-21T10:11:56Z",
"fees": {
"value": "0.00",
"currency": "CAD"
},
"surcharge": {
"value": "0.00",
"currency": "CAD"
}
}
],
"pageSize": 100,
"nextOffset": 100
}