Getting payment status

I am trying to integrate in project using SDK. After sending a request for Cashin, a user with associated phone number receives a pop and from the payment can be declined or confirmed.

Bu how do I know that a payment was successful or failed so I can update my system as well?

Good afternoon, are you familiar with the concept of webhooks?

We use them to notify your application when a transaction event happens (successful or failed). Please read more about webhooks and how you can implement them in your system on our Webhooks documentation section.