Skip to Content
API reference · Webhooks

Event types

Every event Altruon can send to your webhook endpoint, grouped by resource, and when each one fires.

The type field of the event payload holds one of the values below. You choose which events an endpoint receives when you create it, and you can change the selection later on the Events tab of the endpoint.

Subscription

EventSent when
subscription.createdA subscription is created, including trial signups
subscription.activatedA subscription becomes active, for example at the end of a trial
subscription.pausedA subscription is paused
subscription.resumedA paused subscription is resumed
subscription.cancelledA subscription is canceled
subscription.pre_debit_notification.sentA pre-debit notification was sent to the customer, for example for Pix Automático

Invoice

EventSent when
invoice.createdAn invoice is generated by the billing platform
invoice.paidAn invoice is fully paid
invoice.dunning_startedPayment collection failed and retries (dunning) started
invoice.dunning_exhaustedAll dunning retries failed
invoice.refundedAn invoice is refunded

Payment

EventSent when
payment.processingA payment is being processed by the acquirer
payment.succeededA payment succeeded
payment.failedA payment failed
payment.retry_failedA retry of a recurring payment failed
payment.refundedA payment is refunded

Refund

EventSent when
refund.processingA refund is being processed
refund.succeededA refund succeeded
refund.failedA refund failed

Customer

EventSent when
customer.createdA customer is created
customer.updatedA customer is updated

Checkout session

EventSent when
checkout.session.completedA session completed successfully
checkout.session.expiredA session expired without payment

System

EventSent when
webhook.pingA test event is triggered from the backoffice

webhook.ping is sent by Send test event while you create an endpoint (unsigned) and by Send Test on the endpoint detail page (signed). Test events sent from the backoffice have domain set to "test".