Skip to content

Aggregate funds

GET
/api/managing-entity/{managingEntityIdentifier}/booking/funds
curl --request GET \
--url 'https://api.wink.travel/api/managing-entity//booking/funds?state=&accountFundsOnly=' \
--header 'Authorization: Bearer <token>' \
--header 'Wink-Version: 2.0'

Returns total aggregate funds for the managing entity, optionally filtered by financial state; when accountFundsOnly is true only funds earned by this account as a beneficiary are summed, otherwise the full booking amounts it participated in.

managingEntityIdentifier
required
string
""

Managing entity identifier

state
string
""

Financial state filter

accountFundsOnly
string
""

Return only funds earned by this account as a beneficiary (true), or total booking amounts this account was part of (false). Defaults to false.

Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
object
sourceCurrency
string
internalCurrency
string
displayCurrency
string
sourceAmount
number format: double
internalAmount
number format: double
displayAmount
number format: double
Example generated
{
"sourceCurrency": "example",
"internalCurrency": "example",
"displayCurrency": "example",
"sourceAmount": 1,
"internalAmount": 1,
"displayAmount": 1
}

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}