Communication and Message Format

VAVS exchanges fixed-length messages over TCP/IP through a dedicated line or an encrypted internet connection.


Communication Environment

ItemDedicated LineInternet
LinesOne line or two Active-Active linesConnection details supplied after contracting
Recommended Speed64 Kbps or higherDepends on the network environment
ProtocolX.25 or TCP/IPTCP/IP
EncryptionNo additional encryptionSEED/CBC/PKCS5Padding

When applying for a dedicated line, coordinate rental of the Hecto Financial-side DSU equipment as part of the setup.

Encryption for Internet Connections

The encryption profile is identical to the existing firm-banking profile on the developer site.

ItemValue
AlgorithmSEED
ModeCBC
PaddingPKCS5Padding
IV0123456789012345
Key1234567890123456

Build the fixed-length plaintext with EUC-KR before encrypting it.


Connection Modes

Synchronous Mode

This mode is typically used for deposit-only integrations.

  1. The client institution listens on the agreed port as a server.
  2. Hecto Financial connects when a transaction occurs.
  3. The request and response are exchanged over the same connection.
  4. The connection closes after the response.

The receiving process must support concurrent connections.

Asynchronous Mode

Sending and receiving are separated and messages are processed over maintained connections.

  • Each side requires a sending client and receiving server process.
  • The transport processes must communicate with the business-processing application.
  • Session retention and reconnection behavior follow the agreed integration profile.

Request and Response Codes

The second digit is 0 for a request and 1 for the corresponding response.

OperationRequestResponse
Recipient inquiry20002100
Deposit10001100
Transfer deposit30003100
Remittance60106110
Holder-name inquiry20012101
Reconciliation70007100

Data Modes

MODEMeaningAlignment and Padding
AAlphabetic charactersLeft-aligned, SPACE padded
NNumeric digitsRight-aligned, 0 padded
ANAlphabetic and numericLeft-aligned, SPACE padded
AHKorean and alphabeticLeft-aligned, SPACE padded
YYYYYearFour digits
MMMonth or minuteTwo digits according to context
DDDayTwo digits
HHHourTwo digits
SSSecondTwo digits
NOTE

Lengths Are Measured in Bytes

Build fixed-length messages using the EUC-KR encoded byte length. A Korean character in an AH field occupies two bytes. Apply encryption only after padding each field to its specified byte length.

Message Framing

The actual TCP transmission unit is 204 bytes.

ComponentLengthValue and Description
Transport Length header4 bytes0200; length of the following message, excluding this header
VAVS message200 bytes70-byte common header + 130-byte operation body
Complete TCP frame204 bytesActual transmitted length including the transport header

The VAVS common header also starts with its own LENGTH field. The 200-byte VAVS message therefore starts with LENGTH=0200, while the TCP frame adds another transport Length header with the same 0200 value.

Transport Length (4, 0200)
+ Common header (70, starts with LENGTH 0200)
+ Operation body (130)
= 204 bytes

Offsets in the operation tables are relative to the 200-byte VAVS message. Add four bytes to obtain the corresponding TCP-frame offset.


Transaction Codes

TypeRequestDescription
Deposit1000Deposit
Deposit1001Deposit retry
Deposit1010Deposit cancellation
Transfer deposit3000Transfer-based deposit
Transfer deposit3001Transfer-based deposit retry
Transfer deposit3010Transfer-based deposit cancellation
Missing record1003Missing deposit
Missing record1013Missing cancellation
Inquiry2000Recipient inquiry initiated by a bank
Inquiry2001Holder-name inquiry initiated by the client
Remittance6010Remittance
Insurance1030Actual depositor notification
Reconciliation7000Summary

Implementation Checklist

  • Delimit one complete message correctly from the receive buffer.
  • Right-align numeric fields with 0; left-align text fields with SPACE.
  • Encode Korean text as EUC-KR before enforcing byte length.
  • Convert the request code to its response code and set the client-to-Hecto direction value.
  • Do not use reserved fields for custom data.
  • Mask personal data in operational logs.
💬

Need technical support?