Converting remaininbalance in payment api from BigNumber to Number.