Payment Password Confirmation API

Sends a payment password confirmation request from the merchant server to Hecto Financial. Checks whether the submitted payment password matches the registered password for the given customer ID.


API Information

POST/v1/api/auth/pwdcnf
Content-Typeapplication/json; charset=UTF-8
테스트https://tbnpay.settlebank.co.kr/v1/api/auth/pwdcnf
운영https://npay.settlebank.co.kr/v1/api/auth/pwdcnf

Request Parameters

타입 표기법
N숫자A영문H한글AN영문+숫자AHN영문+한글+숫자
예: AN(10) = 영문+숫자, 최대 10byte
hdInfoAN(50)Alphanumeric, up to 50 bytes*
Message type code. Fixed value.
*Fixed value
mchtIdAN(8)Alphanumeric, up to 8 bytes*
Merchant ID.
mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*
Merchant order number (no Korean characters).
mchtCustIdAN(100)Alphanumeric, up to 100 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64 (Standard)
Customer ID. AES-256 encrypted.
reqDtAN(8)Alphanumeric, up to 8 bytes*
Request date (yyyyMMdd).
reqTmAN(6)Alphanumeric, up to 6 bytes*
Request time (HH24MISS).
pmtPwdAN(24)Alphanumeric, up to 24 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64 (Standard)
Payment password (6-digit numeric PIN set by the customer). AES-256 encrypted.
custIpAN(15)Alphanumeric, up to 15 bytes
Customer IP address.
pktHashAN(200)Alphanumeric, up to 200 bytes*SHA-256(실시간 생성)
SHA-256 HMAC signature.
NOTE

Signature Composition

mchtId + mchtCustId + reqDt + reqTm + pmtPwd + hashKey

Response Parameters

outStatCdAN(4)Alphanumeric, up to 4 bytes*0021
Transaction status code.
0021: Success 0031: Failure
outRsltCdAN(4)Alphanumeric, up to 4 bytes*0000
Decline code.
NOTE

Payment Password Not Registered

ST01: Returned when no payment password is registered for the customer.
outRsltMsgAN(300)Alphanumeric, up to 300 bytes*Processed successfully.
Result message.
mchtCustIdAN(100)Alphanumeric, up to 100 bytes*AES-256AES-256/ECB/PKCS5Paddingkimhecto
Customer ID. AES-256 encrypted.
*실제 응답값은 AES-256 암호화된 값입니다. 복호화 후 사용하세요.
mchtTrdNoAN(100)Alphanumeric, up to 100 bytesOLD20190221001
Merchant order number.
trdNoAN(40)Alphanumeric, up to 40 bytes*SFP_FRIM12345678901234567890
Hecto Financial transaction reference number.
💬

Need technical support?