General ledger
/general-ledger/opening-balances/advanced-deposits/synced-payments-refunds
Retrieve synced payments and refunds that are candidates for advanced deposit opening balances
Authorization
apiKey X-API-Key<token>
API key provided in dashboard
In: header
Query Parameters
reservationsIds?string
comma separated list of reservation ids
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.vrplatform.app/general-ledger/opening-balances/advanced-deposits/synced-payments-refunds"{
"glStartAt": "string",
"defaultRevenueRecognition": "checkIn",
"reservations": [
{
"reservationId": "54c41ef9-5629-4a9c-bb0d-10f615966bd0",
"listingId": "8c73d933-f7ed-437e-9da1-caac95adc1ae",
"confirmationCode": "string",
"guestName": "string",
"checkIn": "string",
"checkOut": "string",
"bookedAt": "string",
"reservationAmount": -9007199254740991,
"payment": -9007199254740991,
"refund": -9007199254740991,
"transactions": [
{
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"transactionLineId": "fd65f0e1-e58a-476a-86fa-780d3071bfee",
"date": "string",
"uniqueRef": "string",
"description": "string",
"amount": -9007199254740991,
"direction": "payment"
}
]
}
]
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"links": {
"docs": "string",
"schema": "string"
},
"issues": [
{
"message": "string",
"path": [
"string"
],
"schema": "string"
}
],
"context": null
}