EVENT GUIDE
airbnb-bookingmanagement-service
Orchestrates booking, payment, calendar, changewsand dispute flows for Airbnb-style short-term rental marketplace...test Handles reservations, approval, Stripe payments, iCal sync, payment records, and the dispute/refund lifecycle with host/guest/admin visibility.
Architectural Design Credit and Contact Information
The architectural design of this microservice is credited to . For inquiries, feedback, or further information regarding the architecture, please direct your communication to:
Email:
We encourage open communication and welcome any questions or discussions related to the architectural aspects of this microservice.
Documentation Scope
Welcome to the official documentation for the
BookingManagement
Service Event descriptions. This guide is dedicated to detailing
how to subscribe to and listen for state changes within the
BookingManagement
Service, offering an exclusive focus on event subscription
mechanisms.
Intended Audience
This documentation is aimed at developers and integrators looking
to monitor
BookingManagement
Service state changes. It is especially relevant for those wishing
to implement or enhance business logic based on interactions with
BookingManagement
objects.
Overview
This section provides detailed instructions on monitoring service events, covering payload structures and demonstrating typical use cases through examples.
Authentication and Authorization
Access to the
BookingManagement
service's events is facilitated through the project's Kafka
server, which is not accessible to the public. Subscription to a
Kafka topic requires being on the same network and possessing
valid Kafka user credentials. This document presupposes that
readers have existing access to the Kafka server.
Additionally, the service offers a public subscription option via REST for real-time data management in frontend applications, secured through REST API authentication and authorization mechanisms. To subscribe to service events via the REST API, please consult the Realtime REST API Guide.
Database Events
Database events are triggered at the database layer, automatically and atomically, in response to any modifications at the data level. These events serve to notify subscribers about the creation, update, or deletion of objects within the database, distinct from any overarching business logic.
Listening to database events is particularly beneficial for those focused on tracking changes at the database level. A typical use case for subscribing to database events is to replicate the data store of one service within another service's scope, ensuring data consistency and syncronization across services.
For example, while a business operation such as "approve
membership" might generate a high-level business event like
membership-approved, the underlying database changes could involve multiple state
updates to different entities. These might be published as
separate events, such as
dbevent-member-updated
and
dbevent-user-updated, reflecting the granular changes at the database level.
Such detailed eventing provides a robust foundation for building responsive, data-driven applications, enabling fine-grained observability and reaction to the dynamics of the data landscape. It also facilitates the architectural pattern of event sourcing, where state changes are captured as a sequence of events, allowing for high-fidelity data replication and history replay for analytical or auditing purposes.
DbEvent reservation-created
Event topic:
airbnb3-bookingmanagement-service-dbevent-reservation-created
This event is triggered upon the creation of a
reservation
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent reservation-updated
Event topic:
airbnb3-bookingmanagement-service-dbevent-reservation-updated
Activation of this event follows the update of a
reservation
data object. The payload contains the updated information under
the
reservation
attribute, along with the original data prior to update, labeled
as
old_reservation
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_reservation:{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
reservation:{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent reservation-deleted
Event topic:
airbnb3-bookingmanagement-service-dbevent-reservation-deleted
This event announces the deletion of a
reservation
data object, covering both hard deletions (permanent removal) and
soft deletions (where the
isActive
attribute is set to false). Regardless of the deletion type, the
event payload will present the data as it was immediately before
deletion, highlighting an
isActive
status of false for soft deletions.
Event payload:
{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent paymentRecord-created
Event topic:
airbnb3-bookingmanagement-service-dbevent-paymentrecord-created
This event is triggered upon the creation of a
paymentRecord
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent paymentRecord-updated
Event topic:
airbnb3-bookingmanagement-service-dbevent-paymentrecord-updated
Activation of this event follows the update of a
paymentRecord
data object. The payload contains the updated information under
the
paymentRecord
attribute, along with the original data prior to update, labeled
as
old_paymentRecord
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_paymentRecord:{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
paymentRecord:{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent paymentRecord-deleted
Event topic:
airbnb3-bookingmanagement-service-dbevent-paymentrecord-deleted
This event announces the deletion of a
paymentRecord
data object, covering both hard deletions (permanent removal) and
soft deletions (where the
isActive
attribute is set to false). Regardless of the deletion type, the
event payload will present the data as it was immediately before
deletion, highlighting an
isActive
status of false for soft deletions.
Event payload:
{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent dispute-created
Event topic:
airbnb3-bookingmanagement-service-dbevent-dispute-created
This event is triggered upon the creation of a
dispute
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent dispute-updated
Event topic:
airbnb3-bookingmanagement-service-dbevent-dispute-updated
Activation of this event follows the update of a
dispute
data object. The payload contains the updated information under
the
dispute
attribute, along with the original data prior to update, labeled
as
old_dispute
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_dispute:{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
dispute:{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent dispute-deleted
Event topic:
airbnb3-bookingmanagement-service-dbevent-dispute-deleted
This event announces the deletion of a
dispute
data object, covering both hard deletions (permanent removal) and
soft deletions (where the
isActive
attribute is set to false). Regardless of the deletion type, the
event payload will present the data as it was immediately before
deletion, highlighting an
isActive
status of false for soft deletions.
Event payload:
{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent sys_reservationPayment-created
Event topic:
airbnb3-bookingmanagement-service-dbevent-sys_reservationpayment-created
This event is triggered upon the creation of a
sys_reservationPayment
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent sys_reservationPayment-updated
Event topic:
airbnb3-bookingmanagement-service-dbevent-sys_reservationpayment-updated
Activation of this event follows the update of a
sys_reservationPayment
data object. The payload contains the updated information under
the
sys_reservationPayment
attribute, along with the original data prior to update, labeled
as
old_sys_reservationPayment
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_sys_reservationPayment:{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
sys_reservationPayment:{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent sys_reservationPayment-deleted
Event topic:
airbnb3-bookingmanagement-service-dbevent-sys_reservationpayment-deleted
This event announces the deletion of a
sys_reservationPayment
data object, covering both hard deletions (permanent removal) and
soft deletions (where the
isActive
attribute is set to false). Regardless of the deletion type, the
event payload will present the data as it was immediately before
deletion, highlighting an
isActive
status of false for soft deletions.
Event payload:
{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent sys_paymentCustomer-created
Event topic:
airbnb3-bookingmanagement-service-dbevent-sys_paymentcustomer-created
This event is triggered upon the creation of a
sys_paymentCustomer
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent sys_paymentCustomer-updated
Event topic:
airbnb3-bookingmanagement-service-dbevent-sys_paymentcustomer-updated
Activation of this event follows the update of a
sys_paymentCustomer
data object. The payload contains the updated information under
the
sys_paymentCustomer
attribute, along with the original data prior to update, labeled
as
old_sys_paymentCustomer
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_sys_paymentCustomer:{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
sys_paymentCustomer:{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent sys_paymentCustomer-deleted
Event topic:
airbnb3-bookingmanagement-service-dbevent-sys_paymentcustomer-deleted
This event announces the deletion of a
sys_paymentCustomer
data object, covering both hard deletions (permanent removal) and
soft deletions (where the
isActive
attribute is set to false). Regardless of the deletion type, the
event payload will present the data as it was immediately before
deletion, highlighting an
isActive
status of false for soft deletions.
Event payload:
{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent sys_paymentMethod-created
Event topic:
airbnb3-bookingmanagement-service-dbevent-sys_paymentmethod-created
This event is triggered upon the creation of a
sys_paymentMethod
data object in the database. The event payload encompasses the
newly created data, encapsulated within the root of the paylod.
Event payload:
{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
DbEvent sys_paymentMethod-updated
Event topic:
airbnb3-bookingmanagement-service-dbevent-sys_paymentmethod-updated
Activation of this event follows the update of a
sys_paymentMethod
data object. The payload contains the updated information under
the
sys_paymentMethod
attribute, along with the original data prior to update, labeled
as
old_sys_paymentMethod
and also you can find the old and new versions of updated-only
portion of the data..
Event payload:
{
old_sys_paymentMethod:{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
sys_paymentMethod:{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},
oldDataValues,
newDataValues
}
DbEvent sys_paymentMethod-deleted
Event topic:
airbnb3-bookingmanagement-service-dbevent-sys_paymentmethod-deleted
This event announces the deletion of a
sys_paymentMethod
data object, covering both hard deletions (permanent removal) and
soft deletions (where the
isActive
attribute is set to false). Regardless of the deletion type, the
event payload will present the data as it was immediately before
deletion, highlighting an
isActive
status of false for soft deletions.
Event payload:
{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
ElasticSearch Index Events
Within the
BookingManagement
service, most data objects are mirrored in ElasticSearch indices,
ensuring these indices remain syncronized with their database
counterparts through creation, updates, and deletions. These
indices serve dual purposes: they act as a data source for
external services and furnish aggregated data tailored to enhance
frontend user experiences. Consequently, an ElasticSearch index
might encapsulate data in its original form or aggregate
additional information from other data objects.
These aggregations can include both one-to-one and one-to-many relationships not only with database objects within the same service but also across different services. This capability allows developers to access comprehensive, aggregated data efficiently. By subscribing to ElasticSearch index events, developers are notified when an index is updated and can directly obtain the aggregated entity within the event payload, bypassing the need for separate ElasticSearch queries.
It's noteworthy that some services may augment another service's
index by appending to the entity’s
extends
object. In such scenarios, an
*-extended
event will contain only the newly added data. Should you require
the complete dataset, you would need to retrieve the full
ElasticSearch index entity using the provided ID.
This approach to indexing and event handling facilitates a modular, interconnected architecture where services can seamlessly integrate and react to changes, enriching the overall data ecosystem and enabling more dynamic, responsive applications.
Index Event reservation-created
Event topic:
elastic-index-airbnb_reservation-created
Event payload:
{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event reservation-updated
Event topic:
elastic-index-airbnb_reservation-created
Event payload:
{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event reservation-deleted
Event topic:
elastic-index-airbnb_reservation-deleted
Event payload:
{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event reservation-extended
Event topic:
elastic-index-airbnb_reservation-extended
Event payload:
{
id: id,
extends: {
[extendName]: "Object",
[extendName + "_count"]: "Number",
},
}
Route Events
Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.
Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.
The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.
Route Event dispute-updated
Event topic :
airbnb3-bookingmanagement-service-dispute-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"GET","action":"get","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-retrived
Event topic :
airbnb3-bookingmanagement-service-reservation-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"GET","action":"get","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event dispute-created
Event topic :
airbnb3-bookingmanagement-service-dispute-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"POST","action":"create","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservations-listed
Event topic :
airbnb3-bookingmanagement-service-reservations-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservations
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservations
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservations","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","reservations":[{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","listingJoins":[{"title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","propertyType":"Enum","propertyType_idx":"Integer","location":"Object"},{},{}],"hostDetails":[{"email":"String","fullname":"String","avatar":"String"},{},{}]},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-created
Event topic :
airbnb3-bookingmanagement-service-reservation-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"create","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-created
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"POST","action":"create","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecords-listed
Event topic :
airbnb3-bookingmanagement-service-paymentrecords-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecords
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecords
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecords","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","paymentRecords":[{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-deleted
Event topic :
airbnb3-bookingmanagement-service-reservation-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-updated
Event topic :
airbnb3-bookingmanagement-service-reservation-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event disputes-listed
Event topic :
airbnb3-bookingmanagement-service-disputes-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
disputes
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
disputes
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"disputes","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","disputes":[{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event dispute-retrived
Event topic :
airbnb3-bookingmanagement-service-dispute-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"GET","action":"get","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpayment-created
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"POST","action":"create","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-updated
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-deleted
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpaymentbyorderid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbyorderid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpaymentbypaymentid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbypaymentid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-started
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-started
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-refreshed
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-refreshed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-calledback
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-calledback
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event paymentcustomerbyuserid-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentcustomerbyuserid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomer
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomer
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomer","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_paymentCustomer":{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentcustomers-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomers-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomers
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomers
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomers","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentCustomers":[{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event paymentcustomermethods-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomermethods-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentMethods
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentMethods
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentMethods","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentMethods":[{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Index Event paymentrecord-created
Event topic:
elastic-index-airbnb_paymentrecord-created
Event payload:
{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event paymentrecord-updated
Event topic:
elastic-index-airbnb_paymentrecord-created
Event payload:
{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event paymentrecord-deleted
Event topic:
elastic-index-airbnb_paymentrecord-deleted
Event payload:
{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event paymentrecord-extended
Event topic:
elastic-index-airbnb_paymentrecord-extended
Event payload:
{
id: id,
extends: {
[extendName]: "Object",
[extendName + "_count"]: "Number",
},
}
Route Events
Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.
Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.
The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.
Route Event dispute-updated
Event topic :
airbnb3-bookingmanagement-service-dispute-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"GET","action":"get","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-retrived
Event topic :
airbnb3-bookingmanagement-service-reservation-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"GET","action":"get","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event dispute-created
Event topic :
airbnb3-bookingmanagement-service-dispute-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"POST","action":"create","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservations-listed
Event topic :
airbnb3-bookingmanagement-service-reservations-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservations
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservations
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservations","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","reservations":[{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","listingJoins":[{"title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","propertyType":"Enum","propertyType_idx":"Integer","location":"Object"},{},{}],"hostDetails":[{"email":"String","fullname":"String","avatar":"String"},{},{}]},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-created
Event topic :
airbnb3-bookingmanagement-service-reservation-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"create","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-created
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"POST","action":"create","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecords-listed
Event topic :
airbnb3-bookingmanagement-service-paymentrecords-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecords
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecords
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecords","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","paymentRecords":[{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-deleted
Event topic :
airbnb3-bookingmanagement-service-reservation-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-updated
Event topic :
airbnb3-bookingmanagement-service-reservation-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event disputes-listed
Event topic :
airbnb3-bookingmanagement-service-disputes-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
disputes
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
disputes
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"disputes","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","disputes":[{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event dispute-retrived
Event topic :
airbnb3-bookingmanagement-service-dispute-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"GET","action":"get","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpayment-created
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"POST","action":"create","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-updated
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-deleted
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpaymentbyorderid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbyorderid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpaymentbypaymentid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbypaymentid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-started
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-started
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-refreshed
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-refreshed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-calledback
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-calledback
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event paymentcustomerbyuserid-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentcustomerbyuserid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomer
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomer
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomer","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_paymentCustomer":{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentcustomers-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomers-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomers
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomers
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomers","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentCustomers":[{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event paymentcustomermethods-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomermethods-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentMethods
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentMethods
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentMethods","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentMethods":[{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Index Event dispute-created
Event topic:
elastic-index-airbnb_dispute-created
Event payload:
{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event dispute-updated
Event topic:
elastic-index-airbnb_dispute-created
Event payload:
{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event dispute-deleted
Event topic:
elastic-index-airbnb_dispute-deleted
Event payload:
{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event dispute-extended
Event topic:
elastic-index-airbnb_dispute-extended
Event payload:
{
id: id,
extends: {
[extendName]: "Object",
[extendName + "_count"]: "Number",
},
}
Route Events
Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.
Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.
The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.
Route Event dispute-updated
Event topic :
airbnb3-bookingmanagement-service-dispute-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"GET","action":"get","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-retrived
Event topic :
airbnb3-bookingmanagement-service-reservation-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"GET","action":"get","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event dispute-created
Event topic :
airbnb3-bookingmanagement-service-dispute-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"POST","action":"create","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservations-listed
Event topic :
airbnb3-bookingmanagement-service-reservations-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservations
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservations
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservations","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","reservations":[{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","listingJoins":[{"title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","propertyType":"Enum","propertyType_idx":"Integer","location":"Object"},{},{}],"hostDetails":[{"email":"String","fullname":"String","avatar":"String"},{},{}]},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-created
Event topic :
airbnb3-bookingmanagement-service-reservation-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"create","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-created
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"POST","action":"create","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecords-listed
Event topic :
airbnb3-bookingmanagement-service-paymentrecords-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecords
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecords
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecords","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","paymentRecords":[{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-deleted
Event topic :
airbnb3-bookingmanagement-service-reservation-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-updated
Event topic :
airbnb3-bookingmanagement-service-reservation-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event disputes-listed
Event topic :
airbnb3-bookingmanagement-service-disputes-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
disputes
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
disputes
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"disputes","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","disputes":[{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event dispute-retrived
Event topic :
airbnb3-bookingmanagement-service-dispute-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"GET","action":"get","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpayment-created
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"POST","action":"create","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-updated
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-deleted
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpaymentbyorderid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbyorderid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpaymentbypaymentid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbypaymentid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-started
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-started
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-refreshed
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-refreshed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-calledback
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-calledback
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event paymentcustomerbyuserid-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentcustomerbyuserid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomer
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomer
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomer","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_paymentCustomer":{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentcustomers-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomers-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomers
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomers
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomers","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentCustomers":[{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event paymentcustomermethods-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomermethods-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentMethods
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentMethods
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentMethods","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentMethods":[{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Index Event sys_reservationpayment-created
Event topic:
elastic-index-airbnb_sys_reservationpayment-created
Event payload:
{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event sys_reservationpayment-updated
Event topic:
elastic-index-airbnb_sys_reservationpayment-created
Event payload:
{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event sys_reservationpayment-deleted
Event topic:
elastic-index-airbnb_sys_reservationpayment-deleted
Event payload:
{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event sys_reservationpayment-extended
Event topic:
elastic-index-airbnb_sys_reservationpayment-extended
Event payload:
{
id: id,
extends: {
[extendName]: "Object",
[extendName + "_count"]: "Number",
},
}
Route Events
Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.
Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.
The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.
Route Event dispute-updated
Event topic :
airbnb3-bookingmanagement-service-dispute-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"GET","action":"get","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-retrived
Event topic :
airbnb3-bookingmanagement-service-reservation-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"GET","action":"get","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event dispute-created
Event topic :
airbnb3-bookingmanagement-service-dispute-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"POST","action":"create","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservations-listed
Event topic :
airbnb3-bookingmanagement-service-reservations-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservations
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservations
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservations","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","reservations":[{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","listingJoins":[{"title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","propertyType":"Enum","propertyType_idx":"Integer","location":"Object"},{},{}],"hostDetails":[{"email":"String","fullname":"String","avatar":"String"},{},{}]},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-created
Event topic :
airbnb3-bookingmanagement-service-reservation-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"create","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-created
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"POST","action":"create","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecords-listed
Event topic :
airbnb3-bookingmanagement-service-paymentrecords-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecords
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecords
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecords","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","paymentRecords":[{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-deleted
Event topic :
airbnb3-bookingmanagement-service-reservation-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-updated
Event topic :
airbnb3-bookingmanagement-service-reservation-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event disputes-listed
Event topic :
airbnb3-bookingmanagement-service-disputes-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
disputes
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
disputes
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"disputes","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","disputes":[{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event dispute-retrived
Event topic :
airbnb3-bookingmanagement-service-dispute-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"GET","action":"get","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpayment-created
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"POST","action":"create","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-updated
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-deleted
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpaymentbyorderid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbyorderid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpaymentbypaymentid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbypaymentid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-started
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-started
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-refreshed
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-refreshed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-calledback
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-calledback
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event paymentcustomerbyuserid-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentcustomerbyuserid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomer
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomer
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomer","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_paymentCustomer":{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentcustomers-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomers-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomers
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomers
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomers","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentCustomers":[{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event paymentcustomermethods-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomermethods-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentMethods
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentMethods
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentMethods","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentMethods":[{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Index Event sys_paymentcustomer-created
Event topic:
elastic-index-airbnb_sys_paymentcustomer-created
Event payload:
{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event sys_paymentcustomer-updated
Event topic:
elastic-index-airbnb_sys_paymentcustomer-created
Event payload:
{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event sys_paymentcustomer-deleted
Event topic:
elastic-index-airbnb_sys_paymentcustomer-deleted
Event payload:
{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event sys_paymentcustomer-extended
Event topic:
elastic-index-airbnb_sys_paymentcustomer-extended
Event payload:
{
id: id,
extends: {
[extendName]: "Object",
[extendName + "_count"]: "Number",
},
}
Route Events
Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.
Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.
The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.
Route Event dispute-updated
Event topic :
airbnb3-bookingmanagement-service-dispute-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"GET","action":"get","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-retrived
Event topic :
airbnb3-bookingmanagement-service-reservation-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"GET","action":"get","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event dispute-created
Event topic :
airbnb3-bookingmanagement-service-dispute-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"POST","action":"create","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservations-listed
Event topic :
airbnb3-bookingmanagement-service-reservations-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservations
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservations
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservations","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","reservations":[{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","listingJoins":[{"title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","propertyType":"Enum","propertyType_idx":"Integer","location":"Object"},{},{}],"hostDetails":[{"email":"String","fullname":"String","avatar":"String"},{},{}]},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-created
Event topic :
airbnb3-bookingmanagement-service-reservation-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"create","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-created
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"POST","action":"create","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecords-listed
Event topic :
airbnb3-bookingmanagement-service-paymentrecords-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecords
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecords
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecords","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","paymentRecords":[{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-deleted
Event topic :
airbnb3-bookingmanagement-service-reservation-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-updated
Event topic :
airbnb3-bookingmanagement-service-reservation-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event disputes-listed
Event topic :
airbnb3-bookingmanagement-service-disputes-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
disputes
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
disputes
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"disputes","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","disputes":[{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event dispute-retrived
Event topic :
airbnb3-bookingmanagement-service-dispute-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"GET","action":"get","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpayment-created
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"POST","action":"create","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-updated
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-deleted
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpaymentbyorderid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbyorderid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpaymentbypaymentid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbypaymentid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-started
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-started
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-refreshed
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-refreshed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-calledback
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-calledback
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event paymentcustomerbyuserid-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentcustomerbyuserid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomer
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomer
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomer","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_paymentCustomer":{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentcustomers-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomers-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomers
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomers
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomers","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentCustomers":[{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event paymentcustomermethods-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomermethods-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentMethods
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentMethods
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentMethods","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentMethods":[{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Index Event sys_paymentmethod-created
Event topic:
elastic-index-airbnb_sys_paymentmethod-created
Event payload:
{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event sys_paymentmethod-updated
Event topic:
elastic-index-airbnb_sys_paymentmethod-created
Event payload:
{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event sys_paymentmethod-deleted
Event topic:
elastic-index-airbnb_sys_paymentmethod-deleted
Event payload:
{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}
Index Event sys_paymentmethod-extended
Event topic:
elastic-index-airbnb_sys_paymentmethod-extended
Event payload:
{
id: id,
extends: {
[extendName]: "Object",
[extendName + "_count"]: "Number",
},
}
Route Events
Route events are emitted following the successful execution of a route. While most routes perform CRUD (Create, Read, Update, Delete) operations on data objects, resulting in route events that closely resemble database events, there are distinctions worth noting. A single route execution might trigger multiple CRUD actions and ElasticSearch indexing operations. However, for those primarily concerned with the overarching business logic and its outcomes, listening to the consolidated route event, published once at the conclusion of the route's execution, is more pertinent.
Moreover, routes often deliver aggregated data beyond the primary database object, catering to specific client needs. For instance, creating a data object via a route might not only return the entity's data but also route-specific metrics, such as the executing user's permissions related to the entity. Alternatively, a route might automatically generate default child entities following the creation of a parent object. Consequently, the route event encapsulates a unified dataset encompassing both the parent and its children, in contrast to individual events triggered for each entity created. Therefore, subscribing to route events can offer a richer, more contextually relevant set of information aligned with business logic.
The payload of a route event mirrors the REST response JSON of the route, providing a direct and comprehensive reflection of the data and metadata communicated to the client. This ensures that subscribers to route events receive a payload that encapsulates both the primary data involved and any additional information deemed significant at the business level, facilitating a deeper understanding and integration of the service's functional outcomes.
Route Event dispute-updated
Event topic :
airbnb3-bookingmanagement-service-dispute-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"GET","action":"get","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-retrived
Event topic :
airbnb3-bookingmanagement-service-reservation-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"GET","action":"get","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event dispute-created
Event topic :
airbnb3-bookingmanagement-service-dispute-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"POST","action":"create","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservations-listed
Event topic :
airbnb3-bookingmanagement-service-reservations-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservations
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservations
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservations","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","reservations":[{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID","listingJoins":[{"title":"String","amenityIds":"ID","hostId":"ID","mainPhoto":"String","photos":"String","address":"String","propertyType":"Enum","propertyType_idx":"Integer","location":"Object"},{},{}],"hostDetails":[{"email":"String","fullname":"String","avatar":"String"},{},{}]},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-created
Event topic :
airbnb3-bookingmanagement-service-reservation-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"create","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecord-created
Event topic :
airbnb3-bookingmanagement-service-paymentrecord-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecord
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecord
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecord","method":"POST","action":"create","appVersion":"Version","rowCount":1,"paymentRecord":{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentrecords-listed
Event topic :
airbnb3-bookingmanagement-service-paymentrecords-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
paymentRecords
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
paymentRecords
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"paymentRecords","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","paymentRecords":[{"id":"ID","reservationId":"ID","stripeChargeId":"String","payoutAmountHost":"Double","paymentIntentId":"String","currency":"String","cityTax":"Double","refundAmount":"Double","amountPaid":"Double","paymentStatus":"Enum","paymentStatus_idx":"Integer","platformFee":"Double","paymentDate":"Date","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservation-deleted
Event topic :
airbnb3-bookingmanagement-service-reservation-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservation-updated
Event topic :
airbnb3-bookingmanagement-service-reservation-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event disputes-listed
Event topic :
airbnb3-bookingmanagement-service-disputes-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
disputes
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
disputes
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"disputes","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","disputes":[{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event dispute-retrived
Event topic :
airbnb3-bookingmanagement-service-dispute-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
dispute
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
dispute
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"dispute","method":"GET","action":"get","appVersion":"Version","rowCount":1,"dispute":{"id":"ID","reportedAt":"Date","reservationId":"ID","raisedBy":"ID","adminId":"ID","issueType":"String","description":"Text","relatedPaymentId":"ID","resolutionStatus":"Enum","resolutionStatus_idx":"Integer","resolvedAt":"Date","refundApproved":"Boolean","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpayment-created
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-created
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"201","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"POST","action":"create","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-updated
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-updated
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-deleted
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-deleted
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"DELETE","action":"delete","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":false,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayments2-listed
Event topic :
airbnb3-bookingmanagement-service-reservationpayments2-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayments
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayments
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayments","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_reservationPayments":[{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event reservationpaymentbyorderid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbyorderid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpaymentbypaymentid-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpaymentbypaymentid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment2-retrived
Event topic :
airbnb3-bookingmanagement-service-reservationpayment2-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_reservationPayment
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_reservationPayment
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_reservationPayment","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_reservationPayment":{"id":"ID","ownerId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"String","statusLiteral":"String","redirectUrl":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event reservationpayment-started
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-started
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-refreshed
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-refreshed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"PATCH","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event reservationpayment-calledback
Event topic :
airbnb3-bookingmanagement-service-reservationpayment-calledback
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
reservation
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
reservation
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"reservation","method":"POST","action":"update","appVersion":"Version","rowCount":1,"reservation":{"id":"ID","listingId":"ID","approvalType":"Enum","approvalType_idx":"Integer","bookingStatus":"Enum","bookingStatus_idx":"Integer","hostId":"ID","checkOut":"Date","guestId":"ID","checkIn":"Date","currency":"String","guestCount":"Integer","totalPrice":"Double","iCalExportUrl":"String","disputeStatus":"Enum","disputeStatus_idx":"Integer","bookingPoliciesSnapshot":"Object","iCalImportSource":"String","cancellationPolicySnapshot":"Object","_paymentConfirmation":"Enum","_paymentConfirmation_idx":"Integer","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},"paymentResult":{"paymentTicketId":"ID","orderId":"ID","paymentId":"String","paymentStatus":"Enum","paymentIntentInfo":"Object","statusLiteral":"String","amount":"Double","currency":"String","success":true,"description":"String","metadata":"Object","paymentUserParams":"Object"}}
Route Event paymentcustomerbyuserid-retrived
Event topic :
airbnb3-bookingmanagement-service-paymentcustomerbyuserid-retrived
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomer
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomer
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomer","method":"GET","action":"get","appVersion":"Version","rowCount":1,"sys_paymentCustomer":{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"}}
Route Event paymentcustomers-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomers-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentCustomers
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentCustomers
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentCustomers","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentCustomers":[{"id":"ID","userId":"ID","customerId":"String","platform":"String","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Route Event paymentcustomermethods-listed
Event topic :
airbnb3-bookingmanagement-service-paymentcustomermethods-listed
Event payload:
The event payload, mirroring the REST API response, is structured
as an encapsulated JSON. It includes metadata related to the API
as well as the
sys_paymentMethods
data object itself.
The following JSON included in the payload illustrates the fullest
representation of the
sys_paymentMethods
object. Note, however, that certain properties might be excluded
in accordance with the object's inherent logic.
{"status":"OK","statusCode":"200","elapsedMs":126,"ssoTime":120,"source":"db","cacheKey":"hexCode","userId":"ID","sessionId":"ID","requestId":"ID","dataName":"sys_paymentMethods","method":"GET","action":"list","appVersion":"Version","rowCount":"\"Number\"","sys_paymentMethods":[{"id":"ID","paymentMethodId":"String","userId":"ID","customerId":"String","cardHolderName":"String","cardHolderZip":"String","platform":"String","cardInfo":"Object","isActive":true,"recordVersion":"Integer","createdAt":"Date","updatedAt":"Date","_owner":"ID"},{},{}],"paging":{"pageNumber":"Number","pageRowCount":"NUmber","totalRowCount":"Number","pageCount":"Number"},"filters":[],"uiPermissions":[]}
Copyright
All sources, documents and other digital materials are copyright of .
About Us
For more information please visit our website: .
. .