Book Image

ADempiere 3.6 Cookbook

Book Image

ADempiere 3.6 Cookbook

Overview of this book

Table of Contents (16 chapters)
ADempiere 3.6 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Equifax bank validation service


This recipe describes the bank validation service of Equifax, which is useful in validating the bank account details of the concerned individual.

How to do it...

  • The following XML shall be created and sent to Equifax NTG XML interface for a typical bank validation service:

String xml = "<?xml version=\"1.0\" standalone=\"yes\"?>"
+ "<request>"
+ "<request_header session_token=\"22c06cf0-cfb4-11df-87da-0a884fe6aa77-76\" interface_version_no= \"1.0\" dtd_version_no=\"1.0\">"
+ "<client_reference>XXXX</client_reference>"
+ "</request_header>"
+ "<service_request id=\"1\">"
+ "<bank_validation_service>"
+ "<bank_details_request>"
+ "<bank_details sort_code=\"21-43-34\" account_number=\"12345678\">"
+ "</bank_details>"
+ "</bank_details_request>"
+ "</bank_validation_service>"
+ "</service_request>"
+ "</request>";

How it works...

For a bank account, the bank sort code and account...