Un objeto event
representa un evento ocurrido en tu cuenta de comercio.
El objeto event
event
Atributos
id string
Identificador único del objeto.
object string
Indica el tipo de objeto. Valor siempre será event
.
live boolean
Indica si el objeto existe en modo live o modo test.
related_object string
Tipo de objeto relacionado al evento.
related_id string
ID del objeto relacionado al evento.
type enum
Tipo de evento ocurrido.
Posibles valores |
---|
checkout.created |
checkout.paid |
checkout.canceled |
checkout.refunded |
payment.created |
payment.authorized |
payment.captured |
payment.failed |
payment.canceled |
payment.refunded |
loan.created |
loan.failed |
loan.canceled |
loan.authorized |
loan.disputed |
loan.refunded |
dispute.created |
dispute.under_review |
dispute.won |
dispute.lost |
dispute.needs_response |
dispute.charge_refunded |
subscription.created |
subscription.trialing |
subscription.activated |
subscription.past_due |
subscription.unpaid |
subscription.canceled |
subscription.suspended |
invoice.created |
invoice.draft |
invoice.open |
invoice.retrying |
invoice.paid |
invoice.uncollectible |
invoice.void |
mandate.activated |
mandate.created |
mandate.deactivated |
created_at datetime
Fecha de creación del objeto en formato ISO 8601. En huso horario UTC.
updated_at datetime
Fecha de actualización del objeto en formato ISO 8601. En huso horario UTC.