I'm currently on JavaScript, every topic interests me. Adding features and properties to the web by querying(#querySelector) the element, adding an eventlistner(#addEventListener) and calling the function back (#callbackfunction)
this API call, the response from Safaricom has two things, the response status and the response data.
The status is easily accessible and readable on the route you are consuming this query from. But, for you to access the data, like the reference number and amount, you have to