๐Ÿฆข์„œ๋ช…ํŒจ๋“œ API

์„œ๋ช…ํŒจ๋“œ์™€ ํ†ต์‹ ํ•˜๋Š” ๋ชจ๋“ˆ์ž…๋‹ˆ๋‹ค.

์ผ€์ด์•„์ด์—์Šค์ •๋ณดํ†ต์‹ (์ฃผ) ์„œ๋ช…ํŒจ๋“œ๋งŒ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

KisvanMS3 API ๊ฐ€์ด๋“œ

๊ฐ€. ํ•จ์ˆ˜ ๋ชฉ๋ก

ํ•จ์ˆ˜๋ช…
์„ค๋ช…
๋น„๊ณ 

SetPortNo

์„œ๋ช… ํŒจ๋“œ๊ฐ€ ์—ฐ๊ฒฐ๋œ ํ†ต์‹  ํฌํŠธ ๋ฒˆํ˜ธ ์„ค์ •

0 :์„ฑ๊ณต 1:์‹คํŒจ

SetBaudRate

์„œ๋ช… ํŒจ๋“œ๊ฐ€ ์—ฐ๊ฒฐ๋œ ํ†ต์‹  ํฌํŠธ์˜ ์†๋„ ์„ค์ •

0 :์„ฑ๊ณต 1:์‹คํŒจ

KisElecSign

์„œ๋ช… ์š”์ฒญ

0 :์„ฑ๊ณต 1:์‹คํŒจ

KisElecSignMsg

์„œ๋ช… ๋ฉ”์‹œ์ง€์š”์ฒญ

0 :์„ฑ๊ณต 1:์‹คํŒจ

KisDisplayPrint

์„œ๋ช… ๋ฉ”์‹œ์ง€ ์ถ”๊ฐ€

0 :์„ฑ๊ณต 1:์‹คํŒจ

KisCancel

์ทจ์†Œ ๋˜๋Š” ์ข…๋ฃŒ

0 :์„ฑ๊ณต 1:์‹คํŒจ

OnSignEnd

์„œ๋ช… ์™„๋ฃŒ ๋œ ๊ฒฝ์šฐ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ

KisGetSignData

์„œ๋ช… ๋ฐ์ดํ„ฐ ์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

KisGetSignFile

์„œ๋ช… ๋ฐ์ดํ„ฐ ํŒŒ์ผ ์ €์žฅ์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

KisGetSignBMP

์„œ๋ช…์— ๋Œ€ํ•œ BMPํŒŒ์ผ ์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

KisGetCustInfo

๊ณ ๊ฐ ์ •๋ณด ์š”์ฒญ

0 :์„ฑ๊ณต 1:์‹คํŒจ

OnCustInfoEnd

๊ณ ๊ฐ ์ •๋ณด ์ž…๋ ฅ์ด ์™„๋ฃŒ ๋œ ๊ฒฝ์šฐ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ

KisGetCustInfoData

๊ณ ๊ฐ ์ •๋ณด ๋ฐ์ดํ„ฐ ์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

KisGetPin

๋น„๋ฐ€๋ฒˆํ˜ธ ์š”์ฒญ

0 :์„ฑ๊ณต 1:์‹คํŒจ

OnPinEnd

๋น„๋ฐ€ ๋ฒˆํ˜ธ ์ž…๋ ฅ์ด ์™„๋ฃŒ ๋œ ๊ฒฝ์šฐ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ

KisGetPinData

์ž…๋ ฅ๋œ ๊ณ ๊ฐ์˜ ์•”ํ˜ธํ™”๋œ ๋น„๋ฐ€๋ฒˆํ˜ธ ๋ฐ์ดํ„ฐ ์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

KisGetDCC

DCC ์ž๊ตญํ™”ํ ์„ ํƒ(๊ด‘๊ณ 1-3)

KisGetDCC1

DCC ์ž๊ตญํ™”ํ ์„ ํƒ(๊ด‘๊ณ 1-4)

OnDCCEnd

DCC์„œ๋น„์Šค ์ž๊ตญํ™”ํ์„ ํƒ ํ›„ ๋ฐœ์ƒ๋˜๋Š” ์ด๋ฒคํŠธ

KisGetSerial

์„œ๋ช…ํŒจ๋“œ์— ๋Œ€ํ•œ ์ œํ’ˆ ๋ฒˆํ˜ธ ์š”์ฒญ

0 :์„ฑ๊ณต 1:์‹คํŒจ

OnSerialEnd

์ „์ž์„œ๋ช… ํŒจ๋“œ์— ๋Œ€ํ•œ ์ œํ’ˆ ๋ฒˆํ˜ธ ์š”์ฒญ์— ๋Œ€ํ•œ ์ด๋ฒคํŠธ

KisGetSerialData

์ „์ž์„œ๋ช… ํŒจ๋“œ์— ๋Œ€ํ•œ ์ œํ’ˆ ๋ฒˆํ˜ธ ์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

KisConfig

ํ™˜๊ฒฝ ์„ค์ • ์š”์ฒญ

OnPadError

์„œ๋ช…ํŒจ๋“œ๊ฐ€ ์ •์ƒ์ ์ธ ์‘๋‹ต์ด ์—†๋Š” ๊ฒฝ์šฐ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ

KisGetAccount

๊ฒฐ์ œ๊ณ„์ขŒ ์„ ํƒ ์š”์ฒญ

0 :์„ฑ๊ณต 1:์‹คํŒจ

OnAccountEnd

๊ฒฐ์ œ๊ณ„์ขŒ ์„ ํƒ ํ›„ ๋ฐœ์ƒ๋˜๋Š” ์ด๋ฒคํŠธ

KisGetAccountlData

์„ ํƒ ๋œ ๊ฒฐ์ œ๊ณ„์ขŒ ์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

KisGetNpgBarCode

์นด๋ฉ”๋ผ ๋ฐ”์ฝ”๋“œ ์Šค์บ”์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

KisGetNpgBarCodeData

๋ฐ”์ฝ”๋“œ ๋ฐ์ดํ„ฐ ์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

OnNpgBarCodeEnd

์นด๋ฉ”๋ผ๋ฐ”์ฝ”๋“œ ์Šค์บ” ํ›„ ๋ฐœ์ƒ๋˜๋Š” ์ด๋ฒคํŠธ

KisGetCashIcPin

ํ˜„๊ธˆIC PIN์š”์ฒญ

0 :์„ฑ๊ณต 1:์‹คํŒจ

OnCashIcPinEnd

๋ฒˆํ˜ธ ์ž…๋ ฅ์ด ์™„๋ฃŒ ๋œ ๊ฒฝ์šฐ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ

KisGetCashIcPinData

์•”ํ˜ธํ™”๋œ ๋น„๋ฐ€๋ฒˆํ˜ธ ๋ฐ์ดํ„ฐ ์š”์ฒญ

1 :์„ฑ๊ณต 0:์‹คํŒจ

API ๊ฐ€์ด๋“œ

  1. SetPortNo ํ˜ธ์ถœํ•˜์—ฌ ํŒจ๋“œ๊ฐ€ ์—ฐ๊ฒฐ๋œ ํฌํŠธ๋ฒˆํ˜ธ ์„ค์ •

  2. SetBaudRate ํ˜ธ์ถœํ•˜์—ฌ COM ํฌํŠธ์˜ ์†๋„ ์„ค์ •

  3. ๊ฐ ์š”์ฒญ ํ•จ์ˆ˜(ex> KisElecSign, KisGetCustInfo) ์„ ์š”์ฒญ ํ›„ ์ด๋ฒคํŠธ ํ•จ์ˆ˜(ex> OnSignEnd, OnCustInfoEnd)์„ ์‘๋‹ตํ•จ์ˆ˜(ex> KisGetSignData, KisGetCustInfoData)ํ˜ธ์ถœํ•˜์—ฌ ๋ฉค๋ฒ„๋ณ€์ˆ˜(ex> strCustInfoData)๋กœ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ›์Šต๋‹ˆ๋‹ค.

SetPortNo API

Request

Name
Type
Description

inComPortNo

short

ํฌํŠธ๋ฒˆํ˜ธ

SetBaudRate API

Request

Name
Type
Description

inBaudRate

int

ํ†ต์‹ ์†๋„๋ฒˆํ˜ธ

KisElecSign API

Request

Name
Type
Description

inCardNo

String

์นด๋“œ๋ฒˆํ˜ธ(์นด๋“œ๋นˆ(6)+์นด๋“œ๋นˆ(6)+1234)(20)

inTrInfo

String

๋‹จ๋ง๊ธฐID(16)+๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ(12)+์Šน์ธ์ผ์ž(6:YYMMDD)+์Šน์ธ๊ธˆ์•ก

(12:Leading_zero)+๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ(15)

๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ ๊ตฌ์„ฑ : โ€˜00โ€™+๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ(4)+์ŠคํŽ˜์ด์Šค(6 ๋˜๋Š”9)

KisElecSignMsg API

Request

Name
Type
Description

inCardNo

String

์นด๋“œ๋ฒˆํ˜ธ(์นด๋“œ๋นˆ(6)+์นด๋“œ๋นˆ(6)+1234)(20)

inTrInfo

String

๋‹จ๋ง๊ธฐID(16)+๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ(12)+์Šน์ธ์ผ์ž(6:YYMMDD)+์Šน์ธ๊ธˆ์•ก

(12:Leading_zero)+๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ(15)

๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ ๊ตฌ์„ฑ : โ€˜00โ€™+๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ(4)+์ŠคํŽ˜์ด์Šค(6 ๋˜๋Š”9)

strMsg1

String

๊ด‘๊ณ ๋ฌธ๊ตฌ (๊ธธ์ด: 16 ๊ณ ์ •)

strMsg2

String

๊ด‘๊ณ ๋ฌธ๊ตฌ (๊ธธ์ด: 16 ๊ณ ์ •)

strMsg3

String

๊ด‘๊ณ ๋ฌธ๊ตฌ (๊ธธ์ด: 16 ๊ณ ์ •)

strMsg4

String

๊ด‘๊ณ ๋ฌธ๊ตฌ (๊ธธ์ด: 16 ๊ณ ์ •)

OnSignEnd API

Name
Type
Description

KisGetSignData API

Response

Name
Type
Description

returnVal

int

nSuccess : 1 :์„ฑ๊ณต 0:์‹คํŒจ

KisGetSignFile API

Resquest

Name
Type
Description

inFileName

String

์„œ๋ช… ๋ฐ์ดํ„ฐ ํŒŒ์ผ ์ €์žฅ์œ„์น˜(sign.bmp)

KisGetSignBMP API

Resquest

Name
Type
Description

inCardNo

String

์นด๋“œ๋ฒˆํ˜ธ(์นด๋“œ๋นˆ(6)+์นด๋“œ๋นˆ(6)+1234)(20)

inTrInfo

String

๋‹จ๋ง๊ธฐID(16)+๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ(12)+์Šน์ธ์ผ์ž(6:YYMMDD)+์Šน์ธ๊ธˆ์•ก

(12:Leading_zero)+๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ(15)

๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ ๊ตฌ์„ฑ : โ€˜00โ€™+๊ฑฐ๋ž˜์ผ๋ จ๋ฒˆํ˜ธ(4)+์ŠคํŽ˜์ด์Šค(6 ๋˜๋Š”9)

inFileName

String

์„œ๋ช… ๋ฐ์ดํ„ฐ ํŒŒ์ผ ์ €์žฅ์œ„์น˜(sign.bmp)

KisDisplayPrint API

Resquest

Name
Type
Description

inTime

String

๋Œ€๊ธฐ์‹œ๊ฐ„(ex> 20)

inDisplayMsg1

String

ํ™”๋ฉด๋ฌธ๊ตฌ1(16)

inDisplayMsg2

String

ํ™”๋ฉด๋ฌธ๊ตฌ2(16)

inDisplayMsg3

String

ํ™”๋ฉด๋ฌธ๊ตฌ3(16)

inDisplayMsg4

String

ํ™”๋ฉด๋ฌธ๊ตฌ4(16)

KisCanCel API

Resquest

Name
Type
Description

KisGetCustInfo API

Resquest

Name
Type
Description

OnCustInfoEnd API

Resquest

Name
Type
Description

strCustInfoData

String

response data

KisGetCustInfoData API

Response

Name
Type
Description

returnVal

int

nSuccess : 1 :์„ฑ๊ณต 0:์‹คํŒจ

resData

char*

response data

KisGetPin API

Resquest

Name
Type
Description

inCardNo

String

์นด๋“œ๋ฒˆํ˜ธ(์นด๋“œ๋นˆ(6)+์นด๋“œ๋นˆ(6)+1234)

inAmt

String

๊ธˆ์•ก(8 : Leading Space)

inWorkingKey

String

์•”ํ˜ธํ™”๋ฅผ ์œ„ํ•œ KEY (16)

onPinEnd API

Resquest

Name
Type
Description

KisGetPinData API

Response

Name
Type
Description

returnVal

int

nSuccess : 1 :์„ฑ๊ณต 0:์‹คํŒจ

resData

char*

response data

ex> axkisvanMS31.strPinData

KisGetDCC API

Resquest

Name
Type
Description

inPositiveMsg

String

POSITIVE๋ฌธ๊ตฌ

inNegativeMsg

String

NEGATIVE๋ฌธ๊ตฌ

strMsg1

String

ํ™”๋ฉดํ‘œ์‹œ๋ฉ”์‹œ์ง€1

strMsg2

String

ํ™”๋ฉดํ‘œ์‹œ๋ฉ”์‹œ์ง€2

strMsg3

String

ํ™”๋ฉดํ‘œ์‹œ๋ฉ”์‹œ์ง€3

KisGetDCC1 API

Resquest

Name
Type
Description

inPositiveMsg

String

POSITIVE๋ฌธ๊ตฌ

inNegativeMsg

String

NEGATIVE๋ฌธ๊ตฌ

strMsg1

String

ํ™”๋ฉดํ‘œ์‹œ๋ฉ”์‹œ์ง€1

strMsg2

String

ํ™”๋ฉดํ‘œ์‹œ๋ฉ”์‹œ์ง€2

strMsg3

String

ํ™”๋ฉดํ‘œ์‹œ๋ฉ”์‹œ์ง€3

strMsg4

String

ํ™”๋ฉดํ‘œ์‹œ๋ฉ”์‹œ์ง€4

onDCCEnd API

Response

Name
Type
Description

strDCCResult

String

"POSITIVE" ๋˜๋Š” "NEGATIVE"

KisGetSerial API

Resquest

Name
Type
Description

KisGetSerial API

Resquest

Name
Type
Description

OnSerialEnd API

Resquest

Name
Type
Description

KisGetSerialData API

Response

Name
Type
Description

returnVal

int

nSuccess : 1 :์„ฑ๊ณต 0:์‹คํŒจ

resData

char*

response data

KisGetAccount API

Request

Name
Type
Description

inAccountCnt

String

๊ณ„์ขŒ๊ฐœ์ˆ˜(2:"09")

inAccountArray

String

๊ณ„์ขŒ๋ฒˆํ˜ธ ์ฝค๋งˆ(,)๋กœ ๊ตฌ๋ถ„ ex> "123456789012345,54321098756453"

OnAccountEnd API

Request

Name
Type
Description

KisGetAccountData API

Response

Name
Type
Description

returnVal

int

nSuccess : 1 :์„ฑ๊ณต 0:์‹คํŒจ

resData

char*

response data

KisGetNpgBarCode API

Request

Name
Type
Description

inReqData

String

์—ฌ์œ  ํ•„๋“œ ๊ณต๋ฐฑ์ฒ˜๋ฆฌ ์˜ˆ) "" "V": ์˜ต์…˜์ฒดํฌ(์นด๋ฉ”๋ผ๋ฐ”์ฝ”๋“œ ๋ฐ NFC ์ง€์›

OnNpgBarCodeEnd API

Request

Name
Type
Description

KisGetNpgBarCodeData API

Response

Name
Type
Description

returnVal

int

nSuccess : 1 :์„ฑ๊ณต 0:์‹คํŒจ

resData

char*

response data

strNpgBarCodeData

String

response data

KisGetCashIcPin API

Request

Name
Type
Description

inTime

String

๊ฑฐ๋ž˜์ผ์‹œ(YYYYMMDDHHNNSS)+์š”์ผ(2:01-07)(16)

inAmount

String

๊ธˆ์•ก(00001004)(8)

inDefaultKey

String

์•”ํ˜ธํ™”๋ฅผ ์œ„ํ•œ ๋””ํดํŠธ KEY (16)

inKeyIndex

String

"00":๊ณ„์ขŒ์„ ํƒ ๋น„๋ฐ€๋ฒˆํ˜ธ,"01":๊ณ„์ขŒ๋น„๋ฐ€๋ฒˆํ˜ธ

OnCashIcPinEnd API

Response

Name
Type
Description

KisGetPinData API

Response

Name
Type
Description

returnVal

int

nSuccess : 1 :์„ฑ๊ณต 0:์‹คํŒจ

resData

char*

response data

strPinData

String

response data

Last updated