Skip to main content

Event Types

Meridian fires events for every significant state change in your account. Subscribe to the events that matter to your integration.

Payments​

EventDescription
payment_intent.createdA PaymentIntent was created.
payment_intent.processingA PaymentIntent has entered processing state.
payment_intent.succeededA PaymentIntent was successfully confirmed and captured.
payment_intent.payment_failedA PaymentIntent failed (declined, authentication failed, etc).
payment_intent.canceledA PaymentIntent was canceled.
payment_intent.amount_capturable_updatedThe capturable amount changed.
charge.succeededA charge succeeded.
charge.failedA charge failed.
charge.refundedA charge was refunded (fully or partially).
charge.dispute.createdA dispute was opened on a charge.
charge.dispute.closedA dispute was resolved.

Customers​

EventDescription
customer.createdA new customer was created.
customer.updatedA customer was updated.
customer.deletedA customer was deleted.

Subscriptions​

EventDescription
customer.subscription.createdA subscription was created.
customer.subscription.updatedA subscription was updated (plan change, quantity change, etc).
customer.subscription.deletedA subscription was canceled.
customer.subscription.trial_will_endA trial will end in 3 days.
customer.subscription.pausedA subscription was paused.
customer.subscription.resumedA paused subscription was resumed.

Invoices​

EventDescription
invoice.createdAn invoice was created.
invoice.finalizedAn invoice was finalized (no longer editable).
invoice.paidAn invoice was paid.
invoice.payment_failedAn invoice payment attempt failed.
invoice.payment_action_requiredAuthentication is required to pay an invoice.
invoice.voidedAn invoice was voided.
invoice.upcomingAn invoice is coming up for a subscription (sent 1 hour before).

Payouts​

EventDescription
payout.createdA payout was created.
payout.paidA payout arrived in the bank account.
payout.failedA payout failed.
payout.canceledA payout was canceled.

Webhook endpoints​

EventDescription
webhook_endpoint.createdA webhook endpoint was registered.
webhook_endpoint.updatedA webhook endpoint was updated.
webhook_endpoint.deletedA webhook endpoint was deleted.

Listening to all events​

To subscribe to all events, set enabled_events to ["*"]:

curl https://api.meridian.dev/v1/webhook_endpoints \
-u sk_test_4eC39HqL...: \
-d url="https://yourapp.com/webhooks/meridian" \
-d "enabled_events[]"="*"
warning

Subscribing to all events increases traffic to your endpoint. Only do this during development.