1 {"slug":"/references/payment/interfaces/payment.WebhookActionData","title":"WebhookActionData","frontmatter":{"displayed_sidebar":"paymentReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The details of an action to be performed as a result of a received webhook event."},{"kind":"typeList","sectionTitle":"WebhookActionData","types":[{"name":"session_id","type":"`string`","description":"The ID of the payment session in Medusa.\nMake sure to store this ID in the third-party payment provider\nto be able to retrieve the payment session later.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberValue](/references/payment/types/payment.BigNumberValue)","description":"The amount to be captured or authorized (based on the action's type.)","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"numeric","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw","type":"[BigNumberRawValue](/references/payment/types/payment.BigNumberRawValue)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"bigNumber","type":"`BigNumber`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}]}