// Ends a payment session. Marks the account as available for use in a payment session.
Ends a payment session. Marks the account as available for use in a payment session.
// Ends a payment session . Marks the account as available for use in a payment session .
func EndPayment(wallet, account string) error {
	payload := map[string]interface{}{
		"wallet":  wallet,
		"account": account,
	}
	_, err := client.call("payment_end", payload)
	return err
}
func EndPayment ( wallet , account string ) error { payload := map [ string ] interface { } { " " : wallet , " " : account , } _ , err := client . call ( " " , payload ) return err }
Ends a payment session.
Ends a payment session .