Cashback system creation

Hi, i’m trying to setup a cashback flow with both e-mail and whatsapp integration.

This flow will occur as follows, consumer buys 100$, it will have 10$ of instore credit(cashback) available for 15 days.

Any idea how to set this up?