Callback Handler

Function to handle callback request from Okeconnect.

Has built-in transaction status check verification, so you don't need to check the transaction status manually.

calbackHandler()
The request parameters for the callbackHandler() function.
Variabletypedefaultdescription
callbackDatastring-pass the message parameter from callback request here.

Example Return

Choose an example to see the response

Usage recommendation

for open denom product, you can compare the transaction id between your database and callback from okeconnect

make sure you load the config before using function, check it on Installation based on your framework.