- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
validateDeletedPaymentSessionsStep - Medusa Core Workflows Reference
This documentation provides a reference to the validateDeletedPaymentSessionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that the specified payment session IDs were deleted. If not all payment sessions were deleted, the step throws an error.
Example#
Input#
ValidateDeletedPaymentSessionsStepInput
ValidateDeletedPaymentSessionsStepInputThe data to validate that the specified payment session IDs were deleted.
ValidateDeletedPaymentSessionsStepInput
ValidateDeletedPaymentSessionsStepInputidsToDelete
string[]The payment session IDs that were supposed to be deleted.
idsToDelete
string[]idsDeleted
string[]The payment session IDs that were actually deleted.
idsDeleted
string[]Was this page helpful?