Get payment journal
/payment/journal-entity
With this endpoint you can query the payment details of a rental.
GET https://platform.tier-services.io/data-sharing/tier_utrecht/tomp/payment/journal-entry?id=8950aa4d-c609-4a8c-bf2d-61a58c140fa9'
Query parameters
Field | Content | Note |
---|---|---|
id | ā7b0846ab-8192-4c1b-8b30-454382074e9eā | Required. The id of the booking or leg. |
curl -L -X GET 'https://platform.tier-services.io/data-sharing/tier_utrecht/tomp/payment/journal-entry' \
-H 'x-api-key: API_KEY' \
-H 'api-version: 1.3.0' \
-H 'maas-id: 1324A-DFB3482-32ACD' \
-H 'Accept-Language: en' \
-H 'Content-Type: application/json' \
Click to expand JSON data response
[
{
"invoiceId":"189105c3-afac-4c5b-bd0e-7d101a40efd2",
"journalId":"12a6ccab-0616-4ebc-9c5d-9eb2b0dd4740",
"amount":360,
"amountExVat":283.47,
"currencyCode":"HUF",
"vatRate":0.27,
"invoiceDate":"2022-02-25T13:48:53.140Z"
}
]
Error Responses
When asking for payment information you may encounter a 404
error response.
404 Not Found Error
This error response means that no finished booking was found with the given id.
Click to expand JSON data response
{
"message": "Not Found",
"error": "NotFoundError",
"errorCode": 6001,
"statusCode": 404
}