refundPaymentAndRecreatePaymentSessionWorkflowInput
The data to create payment sessions.
payment_collection_id
stringThe ID of the payment collection to create payment sessions for.
provider_id
stringThe ID of the payment provider that the payment sessions are associated with.
This provider is used to later process the payment sessions and their payments.
payment_id
stringThe ID of the payment to refund.
amount
BigNumberInputThe amount to refund.
amount
BigNumberInputcustomer_id
stringOptionalThe ID of the customer that the payment session should be associated with.
data
Record<string, unknown>OptionalCustom data relevant for the payment provider to process the payment session.
Learn more in this documentation.
context
Record<string, unknown>OptionalAdditional context that's useful for the payment provider to process the payment session.
Currently all of the context is calculated within the workflow.
note
stringOptionalThe note to attach to the refund.
Was this page helpful?