Pular para o conteúdo

Catálogo de Eventos Webhook

Esta página lista todos os eventos webhook aos quais você pode se inscrever na Wink. Para instruções de configuração, veja o Guia de Integração Webhook ou a página de gerenciamento de Webhooks.

  1. Navegue até Aplicações > Webhooks no seu portal.
  2. Crie um webhook e selecione os eventos que deseja receber — ou deixe a lista vazia para receber todos os eventos.
  3. A Wink envia um HTTP POST assinado para seu endpoint toda vez que o evento ocorre. Veja Integração Webhook para o envelope, cabeçalhos, verificação de assinatura e tentativas.

Esta tabela é gerada a partir do catálogo de eventos da plataforma no momento da build, então ela sempre corresponde à API. Tipos de eventos marcados como entregues linkam para sua página de referência na API de Webhooks, que documenta o corpo JSON exato (WebhookEnvelope com um object específico do evento), os cabeçalhos Wink-* e a política de tentativas. Tipos de eventos que não são entregues existem internamente (pagamentos, razão contábil, sincronização de channel-manager, …) mas atualmente não são enviados aos assinantes webhook.

Destinatários indica quem recebe um evento: SUPPLIER (o hotel), AFFILIATE (um revendedor com um canal de vendas ativo para o hotel), AGENT (a agência de viagens que fez a reserva) ou SELF (a entidade gestora sobre a qual o evento trata). Cada destinatário recebe a mesma estrutura de carga útil; detalhes específicos do papel estão por trás da URL links.self da carga útil.

account.*

EventoDescriçãoEntregueDestinatários
account.details.updatedThe account's details changed.não entregue
account.managers.updateThe account's manager list changed.✓ entregueSELF
account.task.completeAn onboarding task was completed.não entregue
account.task.createAn onboarding task was created for the account.não entregue
account.task.removeAn onboarding task was removed.não entregue
account.task.tax_id.completeThe tax-id onboarding task was completed.não entregue
account.task.updateAn onboarding task was updated.não entregue
account.under_reviewThe account was placed under review.não entregue

activity.*

EventoDescriçãoEntregueDestinatários
activity.createdAn activity was created.✓ entregueAFFILIATE, SUPPLIER
activity.deletedAn activity was deleted.✓ entregueAFFILIATE, SUPPLIER
activity.updatedAn activity was updated.✓ entregueAFFILIATE, SUPPLIER

add_on.*

EventoDescriçãoEntregueDestinatários
add_on.createdAn add-on was created.✓ entregueAFFILIATE, SUPPLIER
add_on.deletedAn add-on was deleted.✓ entregueAFFILIATE, SUPPLIER
add_on.updatedAn add-on was updated.✓ entregueAFFILIATE, SUPPLIER

booking.*

EventoDescriçãoEntregueDestinatários
booking.cancelledA booking was cancelled.✓ entregueAFFILIATE, AGENT, SUPPLIER
booking.createA booking was created (confirmed).✓ entregueAFFILIATE, AGENT, SUPPLIER
booking.failedA booking attempt failed.✓ entregueAFFILIATE, AGENT, SUPPLIER
booking.funds.availableFunds for a booking became available for payout.✓ entregueAFFILIATE, AGENT, SUPPLIER
booking.funds.ledgeredFunds for a booking were added to the ledger.✓ entregueAFFILIATE, AGENT, SUPPLIER
booking.initialize.completeA booking initialisation completed.não entregue
booking.initialize.requestA booking initialisation (checkout) was requested.não entregue
booking.payout.completeA payout for a booking completed.não entregue
booking.payout.createA payout for a booking was created.não entregue
booking.processingA booking is being processed.não entregue
booking.refund.errorA booking was refunded because of a processing error.não entregue
booking.refund.fullA booking was fully refunded.✓ entregueAFFILIATE, AGENT, SUPPLIER
booking.refund.partialA booking was partially refunded.✓ entregueAFFILIATE, AGENT, SUPPLIER
booking.refund.requestA refund was requested for a booking.✓ entregueAFFILIATE, AGENT, SUPPLIER
booking.review.createdA guest submitted a review for a booking.✓ entregueSUPPLIER
booking.review.respondedThe hotel responded to a guest review.✓ entregueAFFILIATE, AGENT, SUPPLIER
booking.sync.failedA booking-to-channel-manager synchronisation failed.não entregue
booking.sync.runA booking-to-channel-manager synchronisation run started.não entregue

channel-manager.*

EventoDescriçãoEntregueDestinatários
channel-manager.updateA channel manager pushed an update.não entregue
channel-manager.update.availabilityA channel manager pushed an availability update.não entregue
channel-manager.update.rateA channel manager pushed a rate update.não entregue

email.*

EventoDescriçãoEntregueDestinatários
email.correspondenceAn email correspondence was recorded.não entregue

internal.*

EventoDescriçãoEntregueDestinatários
internal.payment.failedA payment failed (internal).não entregue
internal.payment.processingA payment is processing (internal).não entregue
internal.payment.succeededA payment succeeded (internal).não entregue

ledger.*

EventoDescriçãoEntregueDestinatários
ledger.entry.createA ledger entry was created.não entregue

managing_entity.*

EventoDescriçãoEntregueDestinatários
managing_entity.account_representative.updatedThe account representative changed.não entregue
managing_entity.agent.email.notificationAn email notification was sent to the account's agent.não entregue
managing_entity.agent.updatedThe account's travel-agent details changed.não entregue
managing_entity.city.updatedThe account's address or city changed.✓ entregueSELF
managing_entity.createdA managing entity (account) was created.✓ entregueSELF
managing_entity.deletedThe account was deleted.✓ entregueSELF
managing_entity.information.updatedThe account's general information changed.✓ entregueSELF
managing_entity.logo.updatedThe account's logo changed.✓ entregueSELF
managing_entity.managed_by.updatedThe entity managing this account on its behalf changed.✓ entregueSELF
managing_entity.manager.acceptedAn invited manager accepted the invitation.não entregue
managing_entity.manager.addedA manager was added to the account.✓ entregueSELF
managing_entity.manager.email.notificationAn email notification was sent to an account manager.não entregue
managing_entity.manager.invitedA manager was invited to the account.✓ entregueSELF
managing_entity.manager.owner.setThe account owner was set.✓ entregueSELF
managing_entity.manager.rejectedAn invited manager rejected the invitation.não entregue
managing_entity.manager.removedA manager was removed from the account.✓ entregueSELF
managing_entity.name.updatedThe account's display name changed.não entregue
managing_entity.place_id.updatedThe account's Google Place ID changed.✓ entregueSELF
managing_entity.profile_picture.updatedThe account's profile picture changed.✓ entregueSELF
managing_entity.status.updatedThe account's platform status changed (e.g. approved, suspended).✓ entregueSELF
managing_entity.subscription.changedThe account's platform subscription changed.não entregue
managing_entity.subscription.invoice.changedThe status of a subscription invoice changed.✓ entregueSELF
managing_entity.subscription.provisionedA platform subscription was provisioned for the account.✓ entregueSELF
managing_entity.unique_id.updatedThe account's short unique id changed.✓ entregueSELF
managing_entity.url_name.updatedThe account's URL name (slug) changed.✓ entregueSELF

master_rate.*

EventoDescriçãoEntregueDestinatários
master_rate.createdA master rate was created.✓ entregueAFFILIATE, SUPPLIER
master_rate.deletedA master rate was deleted.✓ entregueAFFILIATE, SUPPLIER
master_rate.updatedA master rate was updated.✓ entregueAFFILIATE, SUPPLIER

meeting_room.*

EventoDescriçãoEntregueDestinatários
meeting_room.createdA meeting room was created.✓ entregueAFFILIATE, SUPPLIER
meeting_room.deletedA meeting room was deleted.✓ entregueAFFILIATE, SUPPLIER
meeting_room.updatedA meeting room was updated.✓ entregueAFFILIATE, SUPPLIER

payee.*

EventoDescriçãoEntregueDestinatários
payee.createA payee was created.não entregue
payee.create.failureCreating a payee failed.não entregue
payee.updateA payee was updated.não entregue
payee.update.failureUpdating a payee failed.não entregue

perk.*

EventoDescriçãoEntregueDestinatários
perk.deletedA perk was deleted.não entregue
perk.updatedA perk was updated.não entregue

property.*

EventoDescriçãoEntregueDestinatários
property.address.updatedA property's address changed.✓ entregueAFFILIATE, SUPPLIER
property.createdA property (hotel) was created.✓ entregueAFFILIATE, SUPPLIER
property.deletedA property was deleted.✓ entregueAFFILIATE, SUPPLIER
property.geolocation.updatedA property's geolocation changed.✓ entregueAFFILIATE, SUPPLIER
property.name.updatedA property's name changed.✓ entregueAFFILIATE, SUPPLIER
property.policy.createdA property policy was created.✓ entregueAFFILIATE, SUPPLIER
property.policy.updatedA property policy changed.✓ entregueAFFILIATE, SUPPLIER
property.profile.updatedA property's profile changed.✓ entregueAFFILIATE, SUPPLIER
property.registeredA property completed registration.✓ entregueAFFILIATE, SUPPLIER
property.services.updatedA property's services/amenities changed.✓ entregueAFFILIATE, SUPPLIER
property.status.updatedA property's platform status changed.✓ entregueAFFILIATE, SUPPLIER
property.updatedA property was updated.não entregue
property.welcome_text.updatedA property's welcome text changed.✓ entregueAFFILIATE, SUPPLIER

rate_modifier.*

EventoDescriçãoEntregueDestinatários
rate_modifier.updatedA rate modifier was updated.não entregue

rate_plan.*

EventoDescriçãoEntregueDestinatários
rate_plan.createdA rate plan was created.✓ entregueAFFILIATE, SUPPLIER
rate_plan.deletedA rate plan was deleted.✓ entregueAFFILIATE, SUPPLIER
rate_plan.updatedA rate plan was updated.✓ entregueAFFILIATE, SUPPLIER

restaurant.*

EventoDescriçãoEntregueDestinatários
restaurant.createdA restaurant was created.✓ entregueAFFILIATE, SUPPLIER
restaurant.deletedA restaurant was deleted.✓ entregueAFFILIATE, SUPPLIER
restaurant.updatedA restaurant was updated.✓ entregueAFFILIATE, SUPPLIER

room_type.*

EventoDescriçãoEntregueDestinatários
room_type.createdA room type was created.✓ entregueAFFILIATE, SUPPLIER
room_type.deletedA room type was deleted.✓ entregueAFFILIATE, SUPPLIER
room_type.updatedA room type was updated.✓ entregueAFFILIATE, SUPPLIER

sales_channel.*

EventoDescriçãoEntregueDestinatários
sales_channel.createdA sales-channel relationship (supplier ↔ reseller) was created.✓ entregueAFFILIATE, SUPPLIER
sales_channel.deletedA sales-channel relationship was deleted.✓ entregueAFFILIATE, SUPPLIER
sales_channel.updatedA sales-channel relationship was updated.✓ entregueAFFILIATE, SUPPLIER

spa.*

EventoDescriçãoEntregueDestinatários
spa.createdA spa was created.✓ entregueAFFILIATE, SUPPLIER
spa.deletedA spa was deleted.✓ entregueAFFILIATE, SUPPLIER
spa.updatedA spa was updated.✓ entregueAFFILIATE, SUPPLIER

special_rate.*

EventoDescriçãoEntregueDestinatários
special_rate.createdA promotion (special rate) was created.✓ entregueAFFILIATE, SUPPLIER
special_rate.deletedA promotion was deleted.✓ entregueAFFILIATE, SUPPLIER
special_rate.updatedA promotion was updated.✓ entregueAFFILIATE, SUPPLIER