@@ -10842,6 +10842,44 @@ x-webhooks:
1084210842 - invoice
1084310843 object:
1084410844 $ref: "#/components/schemas/Invoice"
10845+ related_resource_messages:
10846+ type: array
10847+ description: Messages related to the resource associated with the event.
10848+ items:
10849+ $ref: "#/components/schemas/RelatedResourceMessage"
10850+ examples:
10851+ with_related_messages:
10852+ summary: With related messages
10853+ value:
10854+ id: evt_xxx
10855+ created_at: "2026-07-01T12:00:00.000Z"
10856+ livemode: true
10857+ organization: org_xxx
10858+ type: invoice.status_updated
10859+ data:
10860+ type: invoice
10861+ object:
10862+ id: invoice_xxx
10863+ related_resource_messages:
10864+ - resource_type: invoice
10865+ resource_id: invoice_xxx
10866+ source: stamping_async_task
10867+ severity: error
10868+ message: The receiver RFC is not valid
10869+ created_at: "2026-01-01T00:00:00.000Z"
10870+ without_related_messages:
10871+ summary: Without related messages
10872+ value:
10873+ id: evt_xxx
10874+ created_at: "2026-07-01T12:00:00.000Z"
10875+ livemode: true
10876+ organization: org_xxx
10877+ type: invoice.status_updated
10878+ data:
10879+ type: invoice
10880+ object:
10881+ id: invoice_xxx
10882+ related_resource_messages: []
1084510883 "Invoice created from dashboard":
1084610884 post:
1084710885 summary: Invoice created from dashboard
@@ -11257,6 +11295,38 @@ components:
1125711295 description: Number from 1 to 100 representing the maximum amount of results to return for pagination purposes.
1125811296
1125911297 schemas:
11298+ RelatedResourceMessage:
11299+ type: object
11300+ properties:
11301+ resource_type:
11302+ type: string
11303+ description: Type of related resource.
11304+ example: invoice
11305+ resource_id:
11306+ type: string
11307+ description: ID of the related resource.
11308+ example: invoice_xxx
11309+ source:
11310+ type: string
11311+ description: Source of the message.
11312+ example: stamping_async_task
11313+ severity:
11314+ type: string
11315+ description: Severity of the message.
11316+ enum:
11317+ - error
11318+ - warning
11319+ - info
11320+ example: error
11321+ message:
11322+ type: string
11323+ description: Message related to the resource.
11324+ example: The receiver RFC is not valid
11325+ created_at:
11326+ type: string
11327+ format: date-time
11328+ description: Creation date and time of the message.
11329+ example: "2026-01-01T00:00:00.000Z"
1126011330 EventBase:
1126111331 type: object
1126211332 properties:
0 commit comments