- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
processPaymentWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the processPaymentWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow processes a payment to either complete its associated cart, capture the payment, or authorize the payment session. It's used when a Webhook Event is received.
You can use this workflow within your own customizations or custom workflows, allowing you to process a payment in your custom flows based on a webhook action.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
ProcessPaymentWorkflowInput
ProcessPaymentWorkflowInputWas this page helpful?