Loading...
Was this page helpful?
This documentation provides a reference to the refundPaymentsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow refunds payments.
You can use this workflow within your customizations or your own custom workflows, allowing you to refund payments in your custom flow.
Source CodeWorkflow hook
Step conditioned by when
View step details
RefundPaymentsWorkflowInput
RefundPaymentsWorkflowInputpayment_id
stringamount
BigNumberInputcreated_by
stringOptionalnote
stringOptionalPaymentDTO[]
PaymentDTO[]id
stringamount
BigNumberValuecurrency_code
stringprovider_id
stringpayment_collection_id
stringdata
Record<string, unknown>Optionalcreated_at
string | DateOptionalupdated_at
string | DateOptionalcaptured_at
string | DateOptionalcanceled_at
string | DateOptional