Authenticate with the AutoLeap Partner API to obtain access tokens.
All other endpoints require a valid access token.
Overview
The AutoLeap API uses the REST standard, which means you interact with it by making requests over HTTP.
A request usually includes:
- An HTTP method (like
GETorPOST) - A path (the address of the resource)
- Optional headers and parameters (in the path, query string, or request body)
When you send a request, the API responds with:
- A status code (to indicate success or failure)
- Response headers
- Sometimes a response body with useful data
The API reference describes the method, path, and parameters for each endpoint, and includes sample requests and responses you can use as a guide.
The location identifier used to scope the query. Shows data for all locations in the company if no locationId is provided.
Start of the payment creation date range. Accepts ISO 8601 format (e.g., YYYY-MM-DDThh:mm:ssZ) or date-only (YYYY-MM-DD).
End of the payment creation date range. Accepts ISO 8601 format (e.g., YYYY-MM-DDThh:mm:ssZ) or date-only (YYYY-MM-DD).
Start of the payment last updated date range. Accepts ISO 8601 format (e.g., YYYY-MM-DDThh:mm:ssZ) or date-only (YYYY-MM-DD).
End of the payment last updated date range. Accepts ISO 8601 format (e.g., YYYY-MM-DDThh:mm:ssZ) or date-only (YYYY-MM-DD).
Defines the sort order of results.
• ASC — Ascending order (default).
• DESC — Descending order.
Number of records to return per page. Maximum value: 100. If a higher value is provided, the API defaults to 100.
- Productionhttps://partnerapi.myautoleap.com/v2/payments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://partnerapi.myautoleap.com/v2/payments?companyId=string&locationId=string&paymentDateStart=2019-08-24T14%3A15%3A22Z&paymentDateEnd=2019-08-24T14%3A15%3A22Z&updatedDateStart=2019-08-24T14%3A15%3A22Z&updatedDateEnd=2019-08-24T14%3A15%3A22Z&sort=createdDate&sortDirection=ASC&size=10&page=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "content": [ { … } ], "pageable": { "sort": { … }, "offset": 0, "pageSize": 10, "pageNumber": 0, "paged": true, "unpaged": false }, "totalPages": 1, "totalElements": 1, "last": true, "size": 10, "number": 0, "first": true, "sort": { "unsorted": false, "sorted": true, "empty": false }, "numberOfElements": 1, "empty": false }