- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelPaymentStep - Medusa Core Workflows Reference
This documentation provides a reference to the cancelPaymentStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step cancels one or more payments.
Input#
CancelPaymentStepInput
CancelPaymentStepInputThe data to cancel one or more payments.
CancelPaymentStepInput
CancelPaymentStepInputpaymentIds
string | string[]The ID(s) of the payment(s) to cancel.
paymentIds
string | string[]Was this page helpful?