Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 1
Registered: ‎07-09-2014

Error while submitting Echeck

As i'm submitting the Echeck values to Authorized.net, 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.

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

Re: Error while submitting Echeck

XML Schema

https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd

 

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

 

<xs:enumeration value="checking"/>

<xs:enumeration value="savings"/>

<xs:enumeration value="businessChecking"/>

 

</xs:restriction></xs:simpleType>

 

no space