Removed treasury io endpoint hardcoding
example with callback
working final callback