Previous Next JavaScript must be enabled to correctly display this content

## 7 Host To Host Integration

This topic provides the information to configure and host to host integration for file processing via file upload user can create and close virtual account.

- Initial Configurations
- File Structure

### 7.1 Initial Configurations

- OBVAM-OBEDX Service Consumer: OBVAM-OBEDX service consumer must create in Routing Hub to integrate with Oracle Banking Electronic Data Exchange and Oracle Banking Electronic Data Exchange callback API details must be provided there.
- The following Functional activities will be created via flyway when use deploy obvam-account-service. User must map these functional activities with the appropriate role.
  1. VAM_FA_H2H_PARSE
  2. VAM_FA_H2H_HANDOFF
- When the users deploy the obvam-account-services, the following tables must be populated via flyway.
  1. VAM_H2H_TM_FILE
  2. VAM_H2H_TM_FILE_FIELDS
  3. VAM_H2H_TM_FILE_DELIMITERS
- The default chunk size of parse and handoff api is 500 and default time of closure wait time is 3 mins. The user can modify these values in PROPERIES table by updating the following properties:
  1. chunks.parse.size
  2. chunks.handoff.size
  3. closure.handoff.waitTime
- The default path of H2H acknowledgement file path is “/scratch/obvam/H2H”. The user can modify this path by updating the following key in PROPERTIES table.
  1. ack.file.path
  The user has to create this directory in server and need to give required permission.

Parent topic: Host To Host Integration

### 7.2 File Structure

- Virtual Account Create and Virtual Account Closure file is a csv file and the structure is similar as mentioned in Virtual Account.
- Virtual Account Acknowledgement file is a csv file and the format is given in H2H Virtual Account Acknowledgement File.

H2H Virtual Account Acknowledgement File

H2H Virtual Account Acknowledgement File is used to send the status of records to Customer’s ERP System in a consolidated csv file.

The following table describes the details of file structure:

Table 7-1 Virtual Account Acknowledgement - File Structure

Field Sequence Number | Field Name | Description | Data Type | Is Mandatory Field?
--- | --- | --- | --- | ---
1 | Line Number | Line Number of the record in original Virtual Account Open/Close File | String | Y
2 | Canonical Format | Canonical Format of data of Virtual Account Open/Close File in String format | String | Y
3 | Status | Status of the record send from EDX | String | Y
4 | Reason Code | Reason Code in case of Rejected OR Failed record | String | N
5 | Reason Description | Reason Description in case of Rejected OR Failed record | String | N

Parent topic: Host To Host Integration