I was recently asked to do the system design for delivering payment webhhoks to the merchants. You can refer to the following link the high level design for the same.
Hope you all find it useful. Please do comments if there are any better alternatives.