List manual ledger entries
const url = 'https://api.wink.travel/api/administration/ledger/manual-entries?accountIdentifier=&page=0&size=20';const options = {method: 'GET', headers: {'Wink-Version': '2.0'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.wink.travel/api/administration/ledger/manual-entries?accountIdentifier=&page=0&size=20' \ --header 'Wink-Version: 2.0'Returns paginated ledger entries tagged as manually created. Optionally filtered by account identifier.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Optional TripPay account identifier to filter results
Zero-based page number
Example
0Number of results per page
Example
20Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
Ledger keeps track of all incoming and outgoing funds for a certain account.
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
The ID of the account to be credited / debited
The display name of the account to be credited / debited
A short description of the line item
The source of this ledger entry. E.g. Booking contract identifier. Also related to fundsType.
What the referenceIdentifier above relates to
Type of funds.
Whether the entry is CREDIT or DEBIT
The account type
The account usage type
Note: A debit should be a negative amount
object
Any relevant metadata that needs to go with the entry
object
Example
[ null]Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}