Files
medusa-store/www/apps/resources/references/payment/interfaces/payment.ProviderWebhookPayload/page.mdx
2024-07-01 16:02:36 +03:00

12 lines
1.0 KiB
Plaintext

---
displayed_sidebar: paymentReference
---
import { TypeList } from "docs-ui"
# ProviderWebhookPayload
The details of the webhook event payload.
<TypeList types={[{"name":"provider","type":"`string`","description":"The ID of the provider to pass the webhook event payload to.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"payload","type":"`object`","description":"The webhook event payload passed to the specified provider.","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"data","type":"`Record<string, unknown>`","description":"The parsed webhook body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"rawData","type":"`string` \\| `Buffer`","description":"The raw webhook request body.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"headers","type":"`Record<string, unknown>`","description":"The headers of the webhook request.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} sectionTitle="ProviderWebhookPayload"/>