Posts: 1
Registered: ‎07-09-2014

Error while submitting Echeck

As i'm submitting the Echeck values to, it gives the followinf error:


The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:accountType' element is invalid - The value 'business checking' is invalid according to its datatype 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:bankAccountTypeEnum' - The Enumeration constraint failed.


I have given the values correctly. But it shows error, i will be pleased if any one suggest me where am i going wrong. Thank you.

Posts: 4,525
Registered: ‎03-08-2010

Re: Error while submitting Echeck

XML Schema


<xs:simpleType name="bankAccountTypeEnum"><xs:restriction base="xs:string">


<xs:enumeration value="checking"/>

<xs:enumeration value="savings"/>

<xs:enumeration value="businessChecking"/>




no space