[cli] add a command to get payment status.