docs: fix broken links utility + uncaught broken links (#12637)

* fix broken links

* update broken links utility

* add missing payment evens

* generate llms

* fix segment link
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-05-28 17:13:27 +03:00
1 parent 9866baa852
commit 40e73c6ea2
64 files changed
+151813 -150840

No files matched your search

@@ -2306,3 +2306,88 @@ Emitted when a fulfillment is marked as delivered.
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the [Store](https://docs.medusajs.com/api/store) and [Admin](https://docs.medusajs.com/api/admin) API references.
- [markOrderFulfillmentAsDeliveredWorkflow](/references/medusa-workflows/markOrderFulfillmentAsDeliveredWorkflow)
---
## Payment Events Events
### Summary
<Table>
<Table.Header>
<Table.Row>
<Table.HeaderCell>
Event
</Table.HeaderCell>
<Table.HeaderCell>
Description
</Table.HeaderCell>
</Table.Row>
</Table.Header>
<Table.Body>
<Table.Row>
<Table.Cell>
[payment.captured](#paymentcaptured)
</Table.Cell>
<Table.Cell>
Emitted when a payment is captured.
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>
[payment.refunded](#paymentrefunded)
</Table.Cell>
<Table.Cell>
Emitted when a payment is refunded.
</Table.Cell>
</Table.Row>
</Table.Body>
</Table>
<EventHeader headerLvl="3" headerProps={{ id: "paymentcaptured", children: (<>payment.captured</>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="payment.captured" payload={`\`\`\`ts
{
id, // the ID of the payment
}
\`\`\``} />
Emitted when a payment is captured.
#### Payload
```ts
{
id, // the ID of the payment
}
```
#### Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the [Store](https://docs.medusajs.com/api/store) and [Admin](https://docs.medusajs.com/api/admin) API references.
- [capturePaymentWorkflow](/references/medusa-workflows/capturePaymentWorkflow)
- [processPaymentWorkflow](/references/medusa-workflows/processPaymentWorkflow)
- [markPaymentCollectionAsPaid](/references/medusa-workflows/markPaymentCollectionAsPaid)
---
<EventHeader headerLvl="3" headerProps={{ id: "paymentrefunded", children: (<>payment.refunded</>), className: "flex flex-wrap justify-center gap-docs_0.25" }} eventName="payment.refunded" payload={`\`\`\`ts
{
id, // the ID of the payment
}
\`\`\``} />
Emitted when a payment is refunded.
#### Payload
```ts
{
id, // the ID of the payment
}
```
#### Workflows Emitting this Event
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the [Store](https://docs.medusajs.com/api/store) and [Admin](https://docs.medusajs.com/api/admin) API references.
- [refundPaymentWorkflow](/references/medusa-workflows/refundPaymentWorkflow)