헥토파이낸셜 개발자센터
ProductsProducts
Payment Gateway
Cards, bank & digital wallets
My Bank Pay
Open banking debit
Easy Cash Payment
Stored-account payments
White-Label Payments
White-label checkout
Cash Receipt
Firm Banking
VAN Virtual Account
Prepaid Wallet
Integrate with LLMs
MCP server & AI chatbot
API & SDKAPI & SDK
Payment Gateway
Cards, bank & digital wallets
My Bank Pay
Open banking debit
Easy Cash Payment
Stored-account payments
White-Label Payments
White-label checkout
Cash Receipt
Firm Banking
VAN Virtual Account
Prepaid Wallet
블로그Blog
Service Status
Payment Gateway
My Bank Pay
Easy Cash Payment
White-Label Payments
Cash Receipt
Firm Banking
VAN Virtual Account
Prepaid Wallet
Integrate with LLMs
MCP 서버 및 AI 챗봇
Payment Gateway
My Bank Pay
Easy Cash Payment
White-Label Payments
Cash Receipt
Firm Banking
VAN Virtual Account
Prepaid Wallet
Blog
Technical blog & news
Service Status
Incidents and scheduled maintenance
Payment Gateway
Before You BeginServers & NetworkIntegration OverviewWebhooksCancellations & RefundsGo Live
Checkout IntegrationJavaScript SDKForm-Based Checkout Integration
Credit Card CheckoutCredit Card Direct APICredit Card WebhookCredit Card Deferred CaptureRegister Card (Billkey Checkout)Charge with Payment TokenDelete Payment TokenCancel Charge
Bank Transfer CheckoutBank Transfer WebhookBank Transfer Deferred CaptureCancel Bank Transfer
Virtual Account CheckoutVirtual Account Deposit WebhookIssue Virtual AccountFixed/Unlimited Virtual AccountModify Virtual AccountCancel Virtual AccountDeposit LookupRefund Virtual AccountSimulate Deposit
010 Virtual Account Overview010 Virtual Account CheckoutPhone Ownership Verification — RequestPhone Ownership Verification — ConfirmDuplicate Amount CheckIssue 010 Virtual AccountCancel 010 Virtual AccountRefund 010 Virtual Account010 Virtual Account Deposit WebhookSimulate 010 Deposit
Mobile Payment CheckoutMobile Payment WebhookMobile Payment — Two-Step CaptureMobile Recurring PaymentCancel Mobile PaymentRefund Mobile Payment
Gift Card CheckoutGift Card WebhookCancel Gift Card Payment
T-money CheckoutT-money WebhookCancel T-money Payment
Point Damoa CheckoutPoint Damoa WebhookPoint Damoa Deferred CaptureCancel Point Damoa Payment
Digital Wallets OverviewPAYCO CheckoutPAYCO SandboxSamsung Pay CheckoutKakaoPay CheckoutNaverPay CheckoutTossPay CheckoutDigital Wallet WebhookCancel Digital Wallet PaymentWallet Recurring PaymentSubscription StatusCancel Subscription
Real-time Transaction LookupReceipt (Sales Slip) Inquiry (No Auth)Receipt (Sales Slip) Inquiry (Auth)Transaction ReconciliationSettlement ReconciliationSub-Merchant RegistrationPreferential Settlement (SME)SME Refund Adjustment
Error CodesCard Issuer CodesBank CodesPayment Method CodesVirtual Account Bank Codes
My Bank Pay
Before You BeginServers & NetworkIntegration Overview
Checkout SDK
My Bank Pay — AuthenticateMy Bank Pay — CaptureMy Bank Pay — CancelMy Bank Pay — Network Cancel
Transaction Result LookupTransaction HistoryCash Receipt Lookup
Create Recurring TokenCharge via Recurring TokenCancel Subscription
Error CodesBank CodesBank Maintenance Schedule
Easy Cash Payment
Before You BeginServers & NetworkFirm Banking Integration Flow
Mobile Identity Verification — RequestMobile Identity Verification — ConfirmAccount Holder Name Lookup IAccount Holder Name Lookup IIAccount Holder Name (with Amount)Account Ownership VerificationAccount Ownership — RequestAccount Ownership — ConfirmIVR Verification — RequestIVR Verification — ConfirmOwnership Verification HistoryPayment PIN Verification
Register AccountDeregister AccountSelf-Service Account RegistrationKFTC Deregistered Account Lookup
Capture PaymentCancel / Refund PaymentSend RemittanceRemittance Account Balance
Create Recurring TokenCharge via Recurring TokenCancel SubscriptionSubscription DetailsSubscription History
Transaction Result LookupTransaction HistoryAccount ListSupported BanksBank Maintenance CheckOwnership Verification Bank MaintenanceConnectivity Test
Before You BeginServers & NetworkOpen Banking Integration Flow
Register AccountRegister Open Banking AccountDeregister Open Banking Service
Capture PaymentCancel PaymentSend Remittance
Submit Refund ClaimRefund Claim Status
Transaction Result LookupTransaction HistoryAccount ListWithdrawal Limit
Decline Code ReferenceBank Code ReferenceBank Maintenance Schedule
White-Label Payments
Before You BeginServers & NetworkIntegration Overview
Payment CheckoutCapture PaymentCancellations & Refunds
Inquiry
Error CodesBank CodesBank Maintenance Schedule
Cash Receipt
Before You BeginServers & NetworkIntegration Overview
Issue Cash ReceiptCancel Cash Receipt
Issuance Error LookupIssuance Status Lookup
Reprocessing RegistrationReprocessing Result Lookup
Reference
Firm Banking
Before You BeginIntegration Overview
Connection Management
Interbank TransferCollection TransferCollection Account SetupReserve Transfer (SC Bank)Trust Deposit (Woori Bank)
Transfer Failure WebhookTransaction Statement WebhookBill Statement WebhookBill Statement — Missing SequenceReserve Transfer Result Webhook (SC)Transfer Failure — Missing SequenceTransaction Detail — Missing Sequence
Account Holder Name LookupTransfer Result LookupBalance LookupReserve Transfer Result (SC)Auto Transfer Result (SC)
Transfer ReconciliationCollection ReconciliationWebhook Delivery Status
Connection Management
FX RemittanceCancel FX RemittanceFX Remittance Result WebhookFX Remittance Result — Missing SequenceFX Remittance (MX)FX Remittance Result Webhook (MX)FX Remittance — Missing Sequence (MX)
FX Same-Bank Holder LookupFX Account Holder LookupExchange Rate LookupExchange Rate Lookup (KEB)FX Remittance Result LookupFX Balance Lookup
FX Remittance ReconciliationFX Auto Transfer ReconciliationFX Same-Bank Remittance Reconciliation
FX Transaction Statement WebhookFX Transaction Statement — Missing Sequence
VAN Virtual Account
Getting Started with VAVSCommunication and Message FormatCommon Header
Recipient InquiryDeposit and Cancellation
RemittanceDeposit Balance Inquiry
Reconciliation
Account Holder InquiryActual Depositor NotificationActual Depositor FileMissing Actual Depositor InquiryWithdrawal Account Registration
Bank CodesResponse CodesChannel CodesBank Operating Hours
Prepaid Wallet
Before You BeginServers & NetworkIntegration Overview
Member Registration UIMy Account UI
Spend BalanceVoid SpendSend Money GiftRevoke Points
Balance LookupBalance OptionsBalance DetailsBalance by Top-upWithdrawable BalanceTransaction ListTransaction DetailsTransaction Details by StoreMember DetailsExpiring PointsTop-up Methods
Top-upCancel Top-upWithdraw FundsPending Withdrawal
Error CodesTransaction Type Codes

Tools

Encryption Test
Payment Gateway
Before You BeginServers & NetworkIntegration OverviewWebhooksCancellations & RefundsGo Live
Checkout IntegrationJavaScript SDKForm-Based Checkout Integration
Credit Card CheckoutCredit Card Direct APICredit Card WebhookCredit Card Deferred CaptureRegister Card (Billkey Checkout)Charge with Payment TokenDelete Payment TokenCancel Charge
Bank Transfer CheckoutBank Transfer WebhookBank Transfer Deferred CaptureCancel Bank Transfer
Virtual Account CheckoutVirtual Account Deposit WebhookIssue Virtual AccountFixed/Unlimited Virtual AccountModify Virtual AccountCancel Virtual AccountDeposit LookupRefund Virtual AccountSimulate Deposit
010 Virtual Account Overview010 Virtual Account CheckoutPhone Ownership Verification — RequestPhone Ownership Verification — ConfirmDuplicate Amount CheckIssue 010 Virtual AccountCancel 010 Virtual AccountRefund 010 Virtual Account010 Virtual Account Deposit WebhookSimulate 010 Deposit
Mobile Payment CheckoutMobile Payment WebhookMobile Payment — Two-Step CaptureMobile Recurring PaymentCancel Mobile PaymentRefund Mobile Payment
Gift Card CheckoutGift Card WebhookCancel Gift Card Payment
T-money CheckoutT-money WebhookCancel T-money Payment
Point Damoa CheckoutPoint Damoa WebhookPoint Damoa Deferred CaptureCancel Point Damoa Payment
Digital Wallets OverviewPAYCO CheckoutPAYCO SandboxSamsung Pay CheckoutKakaoPay CheckoutNaverPay CheckoutTossPay CheckoutDigital Wallet WebhookCancel Digital Wallet PaymentWallet Recurring PaymentSubscription StatusCancel Subscription
Real-time Transaction LookupReceipt (Sales Slip) Inquiry (No Auth)Receipt (Sales Slip) Inquiry (Auth)Transaction ReconciliationSettlement ReconciliationSub-Merchant RegistrationPreferential Settlement (SME)SME Refund Adjustment
Error CodesCard Issuer CodesBank CodesPayment Method CodesVirtual Account Bank Codes
My Bank Pay
Before You BeginServers & NetworkIntegration Overview
Checkout SDK
My Bank Pay — AuthenticateMy Bank Pay — CaptureMy Bank Pay — CancelMy Bank Pay — Network Cancel
Transaction Result LookupTransaction HistoryCash Receipt Lookup
Create Recurring TokenCharge via Recurring TokenCancel Subscription
Error CodesBank CodesBank Maintenance Schedule
Easy Cash Payment
Before You BeginServers & NetworkFirm Banking Integration Flow
Mobile Identity Verification — RequestMobile Identity Verification — ConfirmAccount Holder Name Lookup IAccount Holder Name Lookup IIAccount Holder Name (with Amount)Account Ownership VerificationAccount Ownership — RequestAccount Ownership — ConfirmIVR Verification — RequestIVR Verification — ConfirmOwnership Verification HistoryPayment PIN Verification
Register AccountDeregister AccountSelf-Service Account RegistrationKFTC Deregistered Account Lookup
Capture PaymentCancel / Refund PaymentSend RemittanceRemittance Account Balance
Create Recurring TokenCharge via Recurring TokenCancel SubscriptionSubscription DetailsSubscription History
Transaction Result LookupTransaction HistoryAccount ListSupported BanksBank Maintenance CheckOwnership Verification Bank MaintenanceConnectivity Test
Before You BeginServers & NetworkOpen Banking Integration Flow
Register AccountRegister Open Banking AccountDeregister Open Banking Service
Capture PaymentCancel PaymentSend Remittance
Submit Refund ClaimRefund Claim Status
Transaction Result LookupTransaction HistoryAccount ListWithdrawal Limit
Decline Code ReferenceBank Code ReferenceBank Maintenance Schedule
White-Label Payments
Before You BeginServers & NetworkIntegration Overview
Payment CheckoutCapture PaymentCancellations & Refunds
Inquiry
Error CodesBank CodesBank Maintenance Schedule
Cash Receipt
Before You BeginServers & NetworkIntegration Overview
Issue Cash ReceiptCancel Cash Receipt
Issuance Error LookupIssuance Status Lookup
Reprocessing RegistrationReprocessing Result Lookup
Reference
Firm Banking
Before You BeginIntegration Overview
Connection Management
Interbank TransferCollection TransferCollection Account SetupReserve Transfer (SC Bank)Trust Deposit (Woori Bank)
Transfer Failure WebhookTransaction Statement WebhookBill Statement WebhookBill Statement — Missing SequenceReserve Transfer Result Webhook (SC)Transfer Failure — Missing SequenceTransaction Detail — Missing Sequence
Account Holder Name LookupTransfer Result LookupBalance LookupReserve Transfer Result (SC)Auto Transfer Result (SC)
Transfer ReconciliationCollection ReconciliationWebhook Delivery Status
Connection Management
FX RemittanceCancel FX RemittanceFX Remittance Result WebhookFX Remittance Result — Missing SequenceFX Remittance (MX)FX Remittance Result Webhook (MX)FX Remittance — Missing Sequence (MX)
FX Same-Bank Holder LookupFX Account Holder LookupExchange Rate LookupExchange Rate Lookup (KEB)FX Remittance Result LookupFX Balance Lookup
FX Remittance ReconciliationFX Auto Transfer ReconciliationFX Same-Bank Remittance Reconciliation
FX Transaction Statement WebhookFX Transaction Statement — Missing Sequence
VAN Virtual Account
Getting Started with VAVSCommunication and Message FormatCommon Header
Recipient InquiryDeposit and Cancellation
RemittanceDeposit Balance Inquiry
Reconciliation
Account Holder InquiryActual Depositor NotificationActual Depositor FileMissing Actual Depositor InquiryWithdrawal Account Registration
Bank CodesResponse CodesChannel CodesBank Operating Hours
Prepaid Wallet
Before You BeginServers & NetworkIntegration Overview
Member Registration UIMy Account UI
Spend BalanceVoid SpendSend Money GiftRevoke Points
Balance LookupBalance OptionsBalance DetailsBalance by Top-upWithdrawable BalanceTransaction ListTransaction DetailsTransaction Details by StoreMember DetailsExpiring PointsTop-up Methods
Top-upCancel Top-upWithdraw FundsPending Withdrawal
Error CodesTransaction Type Codes

Tools

Encryption Test

Transaction Reconciliation API

An API for querying transaction history for a specific transaction date. When the merchant server calls the Transaction Reconciliation API on the Hecto Financial server, the reconciliation results from Hecto Financial are returned.

Test Key Information

Encryption Key: pgSettle30y739r82jtd709yOfZ2yK5K
Hash Key: ST1009281328226982205
* Production credentials are provided by Hecto Financial upon contract completion.

API Information

POST/api/pg/{merchantId}/transInfo.do
Content-Typeapplication/x-www-form-urlencoded
Sandboxhttps://tb-nspay.settlebank.co.kr/api/pg/{merchantId}/transInfo.do
Productionhttps://nspay.settlebank.co.kr/api/pg/{merchantId}/transInfo.do

Notes

NOTE

Transaction Reconciliation API Guide

The Transaction Reconciliation API queries all transaction history that occurred on a specific transaction date. Please be aware that a large volume of data may be returned.
  • The response format is pipe (|) delimited text.
  • The first row contains the result code, result message, and number of records found.
  • On a successful query, transaction details are output from the second row onward.

Request Parameters

Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes
└mchtIdAN(10)Alphanumeric, up to 10 bytes*Unique merchant ID assigned by Hecto Financial
Unique merchant ID assigned by Hecto Financial
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nxca_jt_il
└mchtTyAN(1)Alphanumeric, up to 1 bytes*Merchant ID type
Merchant ID type
M: Query by Merchant ID G: Query by Group ID
Parameter
Type
Description
Example
mchtTyRequired
AN(1)
Merchant ID type
M: Query by Merchant ID / G: Query by Group ID
M
└repMchtIdAN(10)Alphanumeric, up to 10 bytesRepresentative merchant ID. Required when mchtTy is G (Group ID). Use the hashKey associated with repMchtId when generating pktHash.
Representative merchant ID. Required when mchtTy is G (Group ID). Use the hashKey associated with repMchtId when generating pktHash.
Parameter
Type
Description
Example
repMchtId
AN(10)
Representative merchant ID. Required when mchtTy is G (Group ID). Use the hashKey associated with repMchtId when generating pktHash.
nxca_jt_il
└methodAN(2)Alphanumeric, up to 2 bytes*Payment method
Payment method
ALL: All payment methods CA: Credit Card VA: Virtual Account RA: Bank Transfer MP: Mobile Payment TM: T-Money CG: Culture Gift Card SG: Smart Munhwa Gift Card BG: Book Culture Gift Card HM: Happy Money TC: Teencash CP: Point Damoaa PZ: Simple Payment
Parameter
Type
Description
Example
methodRequired
AN(2)
Payment method
ALL: All payment methods / CA: Credit Card / VA: Virtual Account / RA: Bank Transfer / MP: Mobile Payment / TM: T-Money / CG: Culture Gift Card / SG: Smart Munhwa Gift Card / BG: Book Culture Gift Card / HM: Happy Money / TC: Teencash / CP: Point Damoaa / PZ: Simple Payment
ALL
└pdTyAN(1)Alphanumeric, up to 1 bytes*Query period type code
Query period type code
*Fixed value
Parameter
Type
Description
Example
pdTyRequired
AN(1)
Query period type code
* Fixed value
D
└trdDtStN(8)Numeric, up to 8 bytes*Transaction date (yyyyMMdd)
Transaction date (yyyyMMdd)
Parameter
Type
Description
Example
trdDtStRequired
N(8)
Transaction date (yyyyMMdd)
20211231
└ezpIncYNAN(1)Alphanumeric, up to 1 bytesWhether to include Simple Payment (PZ) transactions in the reconciliation results
Whether to include Simple Payment (PZ) transactions in the reconciliation results
Y: Include N or not set: Exclude
Parameter
Type
Description
Example
ezpIncYN
AN(1)
Whether to include Simple Payment (PZ) transactions in the reconciliation results
Y: Include / N or not set: Exclude
Y
└pktHashAN(200)Alphanumeric, up to 200 bytes*SHA-256Hash value generated using SHA256(auto-generated)
Hash value generated using SHA256
Parameter
Type
Description
Example
pktHashRequired
AN(200)
SHA-256
Hash value generated using SHA256
-
NOTE

Hash Generation Combination

mchtId + trdDtSt + hashKey

Response Format

The response is pipe (|) delimited text.

Query Result (First Row)

No.FieldTypeDescription
1Result CodeAN(4)API response result code
2Result MessageANAPI response result message
3Number of RecordsNNumber of successfully queried transaction records

Transaction Details (From Second Row)

On a successful query (result: 0000), transaction details are output from the second row onward.

No.FieldTypeDescription
1Merchant IDAN(10)Merchant ID
2Payment MethodN(2)Payment method code
3Hecto Financial Transaction No.AN(40)Transaction number generated by Hecto Financial
4Order NumberAN(100)Merchant order number
5Approval TypeAN(1)0: Approval, 1: Cancellation
6Transaction DateN(8)Transaction date (cancellation date) yyyyMMdd
7Transaction TimeN(6)Transaction time (cancellation time) hhmmss
8Transaction AmountN(13)Transaction amount
9Original Transaction No.AN(40)Original transaction number for cancellation transactions
10Original Transaction DateN(8)Original transaction date for cancellation transactions
11Orderer NameAN(88)Merchant orderer name
12Product NameAN(200)Merchant product name
13Approval NumberANCredit card approval number
14Financial Institution CodeANCredit card: card issuer code, Bank transfer/Virtual account: financial institution code, Mobile: telecom company code, Simple payment: card issuer code / simple payment company code
15Installment MonthsN(2)Credit card transaction installment months
16Interest-free InstallmentAN(1)Whether the transaction is a merchant-subsidized interest-free installment (credit card). N: Normal, Y: Interest-free installment transaction
17Simple Payment Company CodeAN(3)Value used to identify the simple payment company when the payment method is Simple Payment (PZ) and the financial institution code is a card issuer code
18Product CodeAN(3)Value used to distinguish the primary payment method from the secondary payment method in combined payments
19Combined Payment Transaction No.AN(40)Original transaction number for combined payments

Response Example

Successful Response

0000|Successfully processed.|6|
nxca_jt_il|CA|STFP_PGCAnxca_jt_il0260720100000M1000001|ORDER20260720100001|0|20260720|100000|10000|||홍길동|테스트상품|99100001|02|00|N|
nxca_jt_il|CA|STFP_PGCAnxca_jt_il0260720103000M1000002|ORDER20260720100002|0|20260720|103000|30000|||김철수|테스트상품2|99100002|05|03|Y|
nxca_jt_il|CA|STFP_PGCAnxca_jt_il0260720110000M1000003|ORDER20260720100001|1|20260720|110000|10000|STFP_PGCAnxca_jt_il0260720100000M1000001|20260720|홍길동|테스트상품|99100001|02|00|N|
nxca_jt_il|PZ|STFP_PGPZnxca_jt_il0260720120000M1000004|ORDER20260720100004|0|20260720|120000|5000||||테스트상품3|||00|N|
nxca_jt_il|PZ|STFP_PGPZnxca_jt_il0260720130000M1000005|ORDER20260720100004|1|20260720|130000|5000|STFP_PGPZnxca_jt_il0260720120000M1000004|20260720||테스트상품3|||00|N|
nxca_jt_il|CA|STFP_PGCAnxca_jt_il0260720140000M1000006|ORDER20260720100006|0|20260720|140000|20000|||이영희|테스트상품|99100006|11|00|N|

Failure Response

ST92|Hash value mismatch.|0|

Result Codes

CodeDescription
0000Successfully processed.
1001No records found
ST09Invalid request message
ST10Internal system error
ST90Unregistered merchant ID
ST91Required parameter error
ST92Hash value mismatch

Card Issuer Codes (Acquiring Company Codes)

CodeCard Issuer
01BC
02Kookmin
03Hana
04Samsung
05Shinhan
08Hyundai
09Lotte
11Woori
15NH

Financial Institution Codes

CodeFinancial Institution
002Korea Development Bank
003Industrial Bank of Korea (IBK)
004KB Kookmin Bank
007Suhyup Bank / National Federation of Fisheries Cooperatives
011NH Bank
012National Agricultural Cooperative Federation
020Woori Bank
023Standard Chartered Bank Korea
027Citibank Korea
031Daegu Bank
032BNK Busan Bank
034Kwangju Bank
035Jeju Bank
037Jeonbuk Bank
039BNK Kyongnam Bank
045National Credit Union Federation of Korea
048National Credit Union Federation
050Mutual Savings Bank
054HSBC Bank
055Deutsche Bank
057JPMorgan Chase Bank
060Bank of America
062Industrial and Commercial Bank of China
064National Forestry Cooperative Federation
071Korea Post
081Hana Bank
088Shinhan Bank
089Kbank
090KakaoBank
092Toss Bank
103Kyobo SBI Savings Bank
209Yuanta Securities
218KB Securities
238Mirae Asset Daewoo
240Samsung Securities
243Korea Investment & Securities
247NH Investment & Securities
261Kyobo Securities
262Hi Investment & Securities
263Hyundai Motor Securities
264Kiwoom Securities
265eBest Investment & Securities
266SK Securities
267Daishin Securities
269Hanwha Investment & Securities
270Hana Financial Investment
278Shinhan Financial Investment
279Dongbu Securities
280Eugene Investment & Securities
287Meritz Securities
290Bookook Securities
291Shinyoung Securities
292Cape Investment & Securities

Payment Method Codes

CodePayment Method
CACredit Card
VAVirtual Account
RABank Transfer
MPMobile Payment
TMT-Money
CGCulture Gift Card
SGSmart Munhwa Gift Card
BGBook Culture Gift Card
HMHappy Money
TCTeencash
CPPoint Damoaa
PZSimple Payment

Telecom Company Codes

CodeTelecom Company
SKTSK Telecom
KTFKT
LGTLG U+
SKLSK 7 Mobile
CJHCJ Hello Mobile
KCTKorea Cable Telecom

Simple Payment Company Codes

CodeSimple Payment Company
KKPKakaoPay
NVPNaverPay
PACPayco
TOSTossPay

Product Codes

CodeProduct Name
CAPCredit Card
KKMKakao Money
PNTPoints
COUPayco Coupon
TSMToss Money
💬

Need technical support?

Code Samples

HectoFinancial GitHub