PayNow

ON_CHARGEBACK_LIFECYCLE

Triggered when a chargeback moves through its lifecycle: opened, escalated, needs a response, under review, won, lost, closed or prevented

Payload
bodyobjectRequired
idstringRequired
The Flake ID of the Chargeback
created_atstringRequired
Indicates when the Chargeback was opened
currencystringRequired
The ISO-4217 Currency Code of the disputed amount
customer_idstringRequired
The Flake ID of the Customer associated with the Chargeback
disputed_amountintegerRequired
The disputed amount, represented in cents
occurred_atstringRequired
Indicates when this lifecycle step was recorded
order_idstringRequired
The Flake ID of the Order associated with the Chargeback
payment_idstringRequired
The Flake ID of the disputed Payment
reasonstringRequired
The reason given for the Chargeback
sequenceintegerRequired
Increases by one with every lifecycle event of this Chargeback. Ignore an event whose sequence is not higher than the last one you processed
stagestringRequired
The stage of the Chargeback after this event: inquiry or claim
statusstringRequired
The status of the Chargeback after this event: needs_response, under_review, won, lost, closed or prevented
store_idstringRequired
The Flake ID of the Store associated with the Chargeback
transitionstringRequired
The lifecycle step that triggered this event: opened, escalated, needs_response, under_review, won, lost, closed or prevented
closed_atstringOptional
Indicates when the Chargeback was closed, if it is closed
previous_stagestringOptional
The stage of the Chargeback before this event. Null when the Chargeback was opened
previous_statusstringOptional
The status of the Chargeback before this event. Null when the Chargeback was opened
response_deadline_atstringOptional
Indicates when a response to the Chargeback is due, if one is required
event_idstringRequired
The ID of the Webhook Event
event_typeenumRequired
The type of webhook event
Possible enum values
  • ON_ORDER_COMPLETED
  • ON_REFUND
  • ON_CHARGEBACK
  • ON_CHARGEBACK_CLOSED
  • ON_CHARGEBACK_LIFECYCLE
  • ON_DELIVERY_ITEM_ADDED
  • ON_DELIVERY_ITEM_ACTIVATED
  • ON_DELIVERY_ITEM_USED
  • ON_DELIVERY_ITEM_REVOKED
  • ON_DELIVERY_ITEM_EXPIRED
  • ON_DELIVERY_ITEM_RENEWED
  • ON_SUBSCRIPTION_ACTIVATED
  • ON_SUBSCRIPTION_RENEWED
  • ON_SUBSCRIPTION_CANCELED
  • ON_DISCORD_ACCOUNT_LINKED_TO_CHECKOUT
  • ON_CONNECTED_USER_REGISTERED
  • ON_CONNECTED_USER_BECAME_PAYABLE
  • ON_CONNECTED_USER_BECAME_UNPAYABLE
  • ON_CONNECTED_USER_PAYOUT_CREATED
  • ON_CONNECTED_USER_PAYOUT_COMPLETED
  • ON_CONNECTED_USER_TRANSACTION_INSERTED
  • ON_CONNECTED_USER_TRUST_STATUS_CHANGED
  • ON_TRIAL_ACTIVATED
  • ON_TRIAL_COMPLETED
  • ON_TRIAL_CANCELED
  • ON_PURCHASE_FOLLOW_UP_ATTEMPT_EMAIL_SENT
  • ON_PURCHASE_FOLLOW_UP_ATTEMPT_SUCCEEDED
  • ON_ABANDONED_CHECKOUT_RECOVERY_ATTEMPT_EMAIL_SENT
  • ON_ABANDONED_CHECKOUT_RECOVERY_ATTEMPT_SUCCEEDED
  • ON_PAYMENT_COMPLETED
  • ON_PAYMENT_FAILED
Example payload
{
  "body": {
    "id": "411486491630370816",
    "created_at": "2024-01-25T14:45:00Z",
    "currency": "USD",
    "customer_id": "411486491630370816",
    "disputed_amount": 7500,
    "occurred_at": "2024-03-01T09:12:00Z",
    "order_id": "411486491630370816",
    "payment_id": "411486491630370816",
    "reason": "product_not_received",
    "sequence": 3,
    "stage": "claim",
    "status": "won",
    "store_id": "411486491630370816",
    "transition": "won",
    "closed_at": "2024-03-01T09:12:00Z",
    "previous_stage": "claim",
    "previous_status": "under_review",
    "response_deadline_at": "2024-02-05T23:59:59Z"
  },
  "event_id": "411486491630370816",
  "event_type": "ON_CHARGEBACK_LIFECYCLE"
}