Hello,
Thank you for your warm welcome and for your answer. I’ll keep this solution in mind for sure.
Here is the output Bundle for the Stripe Watch Events module (
Reminder: The webhook is for: Group > Invoice + Events > Invoice paid.
[
{
"raw": {
"id": "REDACTED",
"object": "event",
"api_version": "2023-10-16",
"created": 1725326004,
"data": {
"object": {
"id": "REDACTED",
"object": "invoice",
"account_country": "FR",
"account_name": "REDACTED",
"account_tax_ids": null,
"amount_due": 5000,
"amount_paid": 5000,
"amount_remaining": 0,
"amount_shipping": 0,
"application": null,
"attempt_count": 1,
"attempted": true,
"auto_advance": false,
"automatic_tax": {
"enabled": false,
"liability": null,
"status": null
},
"automatically_finalizes_at": null,
"billing_reason": "subscription_create",
"charge": "REDACTED",
"collection_method": "send_invoice",
"created": 1722463250,
"currency": "eur",
"custom_fields": null,
"customer": "REDACTED",
"customer_address": {
"city": "VANNES",
"country": "FR",
"line1": "REDACTED",
"line2": "",
"postal_code": "56000",
"state": ""
},
"customer_email": "REDACTED",
"customer_name": "REDACTED",
"customer_phone": "REDACTED",
"customer_shipping": {
"address": {
"city": "REDACTED",
"country": "FR",
"line1": "REDACTED",
"line2": "",
"postal_code": "REDACTED",
"state": ""
},
"name": "REDACTED",
"phone": "REDACTED"
},
"customer_tax_exempt": "none",
"customer_tax_ids": [],
"default_payment_method": null,
"default_source": null,
"default_tax_rates": [],
"description": null,
"discount": null,
"discounts": [],
"due_date": 1723068000,
"effective_at": 1722466916,
"ending_balance": 0,
"footer": "REDACTED",
"from_invoice": null,
"hosted_invoice_url": "https://invoice.stripe.com/i/REDACTED/live_YWREDACTEDNA0200P8t4MjnK?s=ap",
"invoice_pdf": "https://pay.stripe.com/invoice/REDACTED/live_YWREDACTEDNA0200P8t4MjnK/pdf?s=ap",
"issuer": {
"type": "self"
},
"last_finalization_error": null,
"latest_revision": null,
"lines": {
"object": "list",
"data": [
{
"id": "REDACTED",
"object": "line_item",
"amount": 5000,
"amount_excluding_tax": 5000,
"currency": "eur",
"description": "REDACTED",
"discount_amounts": [],
"discountable": true,
"discounts": [],
"invoice": "REDACTED",
"livemode": true,
"metadata": {},
"period": {
"end": 1725141600,
"start": 1722463200
},
"plan": {
"id": "REDACTED",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 5000,
"amount_decimal": "5000",
"billing_scheme": "per_unit",
"created": 1720735408,
"currency": "eur",
"interval": "month",
"interval_count": 1,
"livemode": true,
"metadata": {},
"meter": null,
"nickname": null,
"product": "REDACTED",
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
"id": "REDACTED",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1720735408,
"currency": "eur",
"custom_unit_amount": null,
"livemode": true,
"lookup_key": null,
"metadata": {},
"nickname": null,
"product": "REDACTED",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"meter": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 5000,
"unit_amount_decimal": "5000"
},
"proration": false,
"proration_details": {
"credited_items": null
},
"quantity": 1,
"subscription": "REDACTED",
"subscription_item": "REDACTED",
"tax_amounts": [],
"tax_rates": [],
"type": "subscription",
"unit_amount_excluding_tax": "5000"
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/REDACTED/lines"
},
"livemode": true,
"metadata": {},
"next_payment_attempt": null,
"number": "0A8E01C8-0001",
"on_behalf_of": null,
"paid": true,
"paid_out_of_band": false,
"payment_intent": "REDACTED",
"payment_settings": {
"default_mandate": null,
"payment_method_options": null,
"payment_method_types": null
},
"period_end": 1722463200,
"period_start": 1722463200,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"quote": null,
"receipt_number": null,
"rendering": {
"amount_tax_display": null,
"pdf": null
},
"rendering_options": null,
"shipping_cost": null,
"shipping_details": null,
"starting_balance": 0,
"statement_descriptor": null,
"status": "paid",
"status_transitions": {
"finalized_at": 1722466916,
"marked_uncollectible_at": null,
"paid_at": 1725326004,
"voided_at": null
},
"subscription": "REDACTED",
"subscription_details": {
"metadata": {}
},
"subtotal": 5000,
"subtotal_excluding_tax": 5000,
"tax": null,
"test_clock": null,
"total": 5000,
"total_discount_amounts": [],
"total_excluding_tax": 5000,
"total_tax_amounts": [],
"transfer_data": null,
"webhooks_delivered_at": 1722463250,
"application_fee_amount": null
}
},
"livemode": true,
"pending_webhooks": 2,
"request": {
"id": null,
"idempotency_key": null
},
"type": "invoice.paid"
},
"object": {
"id": "REDACTED",
"object": "invoice",
"account_country": "FR",
"account_name": "REDACTED",
"account_tax_ids": null,
"amount_due": 5000,
"amount_paid": 5000,
"amount_remaining": 0,
"amount_shipping": 0,
"application": null,
"attempt_count": 1,
"attempted": true,
"auto_advance": false,
"automatic_tax": {
"enabled": false,
"liability": null,
"status": null
},
"automatically_finalizes_at": null,
"billing_reason": "subscription_create",
"charge": "REDACTED",
"collection_method": "send_invoice",
"created": 1722463250,
"currency": "eur",
"custom_fields": null,
"customer": "REDACTED",
"customer_address": {
"city": "REDACTED",
"country": "FR",
"line1": "REDACTED",
"line2": "",
"postal_code": "REDACTED",
"state": ""
},
"customer_email": "REDACTED",
"customer_name": "REDACTED",
"customer_phone": "REDACTED6",
"customer_shipping": {
"address": {
"city": "REDACTED",
"country": "FR",
"line1": "REDACTED",
"line2": "",
"postal_code": "REDACTED",
"state": ""
},
"name": "REDACTED",
"phone": "REDACTED"
},
"customer_tax_exempt": "none",
"customer_tax_ids": [],
"default_payment_method": null,
"default_source": null,
"default_tax_rates": [],
"description": null,
"discount": null,
"discounts": [],
"due_date": 1723068000,
"effective_at": 1722466916,
"ending_balance": 0,
"footer": "",
"from_invoice": null,
"hosted_invoice_url": "https://invoice.stripe.com/i/REDACTED/live_YWREDACTEDNA0200P8t4MjnK?s=ap",
"invoice_pdf": "https://pay.stripe.com/invoice/REDACTED/live_YWREDACTEDNA0200P8t4MjnK/pdf?s=ap",
"issuer": {
"type": "self"
},
"last_finalization_error": null,
"latest_revision": null,
"lines": {
"object": "list",
"data": [
{
"id": "REDACTED",
"object": "line_item",
"amount": 5000,
"amount_excluding_tax": 5000,
"currency": "eur",
"description": "REDACTED",
"discount_amounts": [],
"discountable": true,
"discounts": [],
"invoice": "REDACTED",
"livemode": true,
"metadata": {},
"period": {
"end": 1725141600,
"start": 1722463200
},
"plan": {
"id": "REDACTED",
"object": "plan",
"active": true,
"aggregate_usage": null,
"amount": 5000,
"amount_decimal": "5000",
"billing_scheme": "per_unit",
"created": 1720735408,
"currency": "eur",
"interval": "month",
"interval_count": 1,
"livemode": true,
"metadata": {},
"meter": null,
"nickname": null,
"product": "REDACTED",
"tiers_mode": null,
"transform_usage": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"price": {
"id": "REDACTED",
"object": "price",
"active": true,
"billing_scheme": "per_unit",
"created": 1720735408,
"currency": "eur",
"custom_unit_amount": null,
"livemode": true,
"lookup_key": null,
"metadata": {},
"nickname": null,
"product": "REDACTED",
"recurring": {
"aggregate_usage": null,
"interval": "month",
"interval_count": 1,
"meter": null,
"trial_period_days": null,
"usage_type": "licensed"
},
"tax_behavior": "unspecified",
"tiers_mode": null,
"transform_quantity": null,
"type": "recurring",
"unit_amount": 5000,
"unit_amount_decimal": "5000"
},
"proration": false,
"proration_details": {
"credited_items": null
},
"quantity": 1,
"subscription": "REDACTED",
"subscription_item": "REDACTED",
"tax_amounts": [],
"tax_rates": [],
"type": "subscription",
"unit_amount_excluding_tax": "5000"
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/invoices/REDACTED/lines"
},
"livemode": true,
"metadata": {},
"next_payment_attempt": null,
"number": "0A8E01C8-0001",
"on_behalf_of": null,
"paid": true,
"paid_out_of_band": false,
"payment_intent": "REDACTED",
"payment_settings": {
"default_mandate": null,
"payment_method_options": null,
"payment_method_types": null
},
"period_end": 1722463200,
"period_start": 1722463200,
"post_payment_credit_notes_amount": 0,
"pre_payment_credit_notes_amount": 0,
"quote": null,
"receipt_number": null,
"rendering": {
"amount_tax_display": null,
"pdf": null
},
"rendering_options": null,
"shipping_cost": null,
"shipping_details": null,
"starting_balance": 0,
"statement_descriptor": null,
"status": "paid",
"status_transitions": {
"finalized_at": 1722466916,
"marked_uncollectible_at": null,
"paid_at": 1725326004,
"voided_at": null
},
"subscription": "REDACTED",
"subscription_details": {
"metadata": {}
},
"subtotal": 5000,
"subtotal_excluding_tax": 5000,
"tax": null,
"test_clock": null,
"total": 5000,
"total_discount_amounts": [],
"total_excluding_tax": 5000,
"total_tax_amounts": [],
"transfer_data": null,
"webhooks_delivered_at": 1722463250,
"application_fee_amount": null
},
"created": "2024-09-03T01:13:24.000Z",
"event_id": "REDACTED",
"event_type": "invoice.paid"
}
]