// RequestWithdrawal makes a withdrawal from a bank account of the client
// Returns an error if something goes wrong
//
// List of accepted Arguments:
//   - required: Amount (string), BankAccount (string)
//   - optional: none
// https://developers.cryptomkt.com/#notificar-retiro
RequestWithdrawal makes a withdrawal from a bank account of the client
Returns an error if something goes wrong


// RequestWithdrawal makes a withdrawal from a bank account of the client // Returns an error if something goes wrong // // List of accepted Arguments : // - required : Amount ( string ) BankAccount ( string ) // - optional : none // https : // developers . cryptomkt . com / #notificar - retiro
func (client *Client) RequestWithdrawal(arguments ...args.Argument) error {
	required := []string{"amount", "bank_account"}
	resp, err := client.postReq("request/withdrawal", "RequestWithdrawal", required, arguments...)
	if err != nil {
		return fmt.Errorf("error making the request: %s", err)
	}
	var iResp InstantResponse
	json.Unmarshal(resp, &iResp)
	if iResp.Status == "error" {
		return fmt.Errorf("error from the server side: %s", iResp.Message)
	}
	return nil
}
func ( client * Client ) RequestWithdrawal ( arguments ... args . Argument ) error { required := [ ] string { " " , " " } resp , err := client . postReq ( " " , " " , required , arguments ... ) if err != nil { return fmt . Errorf ( " " , err ) } var iResp InstantResponse json . Unmarshal ( resp , & iResp ) if iResp . Status == " " { return fmt . Errorf ( " " , iResp . Message ) } return nil }
RequestWithdrawal makes a withdrawal from a bank account of the client
Returns an error if something goes wrong
RequestWithdrawal makes a withdrawal from a bank account of the client Returns an error if something goes wrong