Skip to main content

Get accounts

Method GET

https://my.easyweek.io/api/public/v2/locations/{location_uuid}/accounts

Description: This endpoint is utilized to retrieve a list of financial accounts associated with a specific location. It is designed to show where booking-related payments are credited for a location, providing visibility into the financial channels within the platform.

Example Request

curl -i -X GET \
https://my.easyweek.io/api/public/v2/locations/{location_uuid}/accounts \
-H 'Authorization: Bearer <YOUR_SECRET>' \
-H 'Workspace: <YOUR_WORKSPACE>'

Path Parameters

  • location_uuid (string, required): The unique identifier of the location for which the financial accounts list is being retrieved. This UUID ensures that the returned accounts are specific to the location in question.

Example Response

{
"data": [
{
"uuid": "d679011b-f488-4fc4-a436-89b1e6d7e14b",
"name": "Bargeld"
}
]
}

Without pagination