I am looking for the refund API, using adaptive payments on delayed chain. (Shipments of cogs with 3 days delivery)
Buyer orders 3 cogs from 3 sellers.
Buyer --> Pays Primary Receiver US$99 --> Pays 3 secondary receivers US$30 (delayed chain - 4 days)
On Day 3 --> As primary receiver is still holding the funds, If 1 seller does not deliver in 3 days I want to refund that 1 sellers payment back to the buyer US$33 and pay the remaining 2 sellers that are delivered. Please let me know how can I accomplish this.