Swell · Arazzo Workflow
Swell Capture and Refund Payment
Version 1.0.0
Record a payment against an order, then issue a refund against that payment.
View Spec
View on GitHub
CommerceHeadless CommerceAPI-FirstB2CB2BSubscriptionsMarketplacesWholesaleStorefrontCheckoutPaymentsCartsOrdersCatalogInternationalizationArazzoWorkflows
Provider
Workflows
capture-and-refund-payment
Create a payment, then refund it.
Posts a payment against an order and account, then posts a refund against the returned payment id.
1
createPaymentStep
createPayment
Record a payment against the order with the supplied method and amount.
2
refundPaymentStep
refundPayment
Issue a refund against the captured payment.