헥토파이낸셜 개발자센터
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

Open Banking Account Enrollment API

Sends an Open Banking account enrollment request from the merchant server to the Hecto Financial server.

For customers already enrolled for direct debit via the firm banking system, call this API separately after obtaining their consent to the Open Banking enrollment terms. For first-time account enrollment, use the account enrollment API to process firm banking and Open Banking registration simultaneously.

API Information

POST/v2/api/acnt/obreg
Content-Typeapplication/json
Sandboxhttps://tbnpay.settlebank.co.kr/v2/api/acnt/obreg
Productionhttps://npay.settlebank.co.kr/v2/api/acnt/obreg

Request Parameters

Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes
└hdInfoAN(50)Alphanumeric, up to 50 bytes*Message information code.
Message information code.
*Fixed value
Parameter
Type
Description
Example
hdInfoRequired
AN(50)
Message information code.
* Fixed value
SPAY_OR0W_1.0
└mchtIdAN(8)Alphanumeric, up to 8 bytes*Unique Merchant ID assigned by Hecto Financial.
Unique Merchant ID assigned by Hecto Financial.
Parameter
Type
Description
Example
mchtIdRequired
AN(8)
Unique Merchant ID assigned by Hecto Financial.
midtest
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Merchant order number.
Merchant order number.
*No Korean characters
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Merchant order number.
* No Korean characters
OID201902210001
└mchtCustIdAN(100)Alphanumeric, up to 100 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Unique customer ID or key provided by the merchant.
Unique customer ID or key provided by the merchant.
Parameter
Type
Description
Example
mchtCustIdRequired
AN(100)
AES-256
Unique customer ID or key provided by the merchant.
kimhecto
└reqDtN(8)Numeric, up to 8 bytes*Request date.
Request date.
*yyyyMMdd
Parameter
Type
Description
Example
reqDtRequired
N(8)
Request date.
* yyyyMMdd
20191231
└reqTmN(6)Numeric, up to 6 bytes*Request time.
Request time.
*HH24MISS
Parameter
Type
Description
Example
reqTmRequired
N(6)
Request time.
* HH24MISS
120000
└mchtCustNmAN(10)Alphanumeric, up to 10 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Account holder name.
Account holder name.
*English/numeric/Korean (Korean: 3 bytes per character)
Parameter
Type
Description
Example
mchtCustNmRequired
AN(10)
AES-256
Account holder name.
* English/numeric/Korean (Korean: 3 bytes per character)
Kim Hecto
└uiiN(6)Numeric, up to 6 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Date of birth.
Date of birth.
*Date of birth: yyMMdd. Business registration numbers are not supported.
Parameter
Type
Description
Example
uiiRequired
N(6)
AES-256
Date of birth.
* Date of birth: yyMMdd. Business registration numbers are not supported.
950101
└bankCdN(3)Numeric, up to 3 bytes*Bank code.
Bank code.
*Refer to the financial institution code table
Parameter
Type
Description
Example
bankCdRequired
N(3)
Bank code.
* Refer to the financial institution code table
004
└custAcntNoAN(15)Alphanumeric, up to 15 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Account number.
Account number.
*Account number excluding "-", minimum 9 digits, maximum 15 digits
Parameter
Type
Description
Example
custAcntNoRequired
AN(15)
AES-256
Account number.
* Account number excluding "-", minimum 9 digits, maximum 15 digits
1234567890
└custIpAN(15)Alphanumeric, up to 15 bytesCustomer IP address.
Customer IP address.
*The customer device's IP address, not the merchant server IP
Parameter
Type
Description
Example
custIp
AN(15)
Customer IP address.
* The customer device's IP address, not the merchant server IP
127.0.0.1
└pktHashAN(200)Alphanumeric, up to 200 bytes*SHA-256SHA-256 hash value.(auto-generated)
SHA-256 hash value.
*Merchant ID + customer ID (plaintext) + request date + request time + account number (plaintext) + auth key
Parameter
Type
Description
Example
pktHashRequired
AN(200)
SHA-256
SHA-256 hash value.
* Merchant ID + customer ID (plaintext) + request date + request time + account number (plaintext) + auth key
-
└sexDivCdAN(1)Alphanumeric, up to 1 bytes*Gender code.
Gender code.
*First digit of the resident registration number back half
Parameter
Type
Description
Example
sexDivCdRequired
AN(1)
Gender code.
* First digit of the resident registration number back half
-
└ciAN(88)Alphanumeric, up to 88 bytes*Customer CI.
Customer CI.
Parameter
Type
Description
Example
ciRequired
AN(88)
Customer CI.
-
└emailAN(100)Alphanumeric, up to 100 bytesCustomer email address.
Customer email address.
Parameter
Type
Description
Example
email
AN(100)
Customer email address.
-

Request Hash Code

ItemCombined fields
pktHash valueMerchant ID + customer ID (plaintext) + request date + request time + account number (plaintext) + auth key

Response Parameters

Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes
└outStatCdAN(4)Alphanumeric, up to 4 bytes*Transaction status code (success/failure).
Transaction status code (success/failure).
0021: Success 0031: Failure
Parameter
Type
Description
Example
outStatCdRequired
AN(4)
Transaction status code (success/failure).
0021: Success / 0031: Failure
-
└outRsltCdAN(4)Alphanumeric, up to 4 bytes*Decline code.
Decline code.
*Refer to rejection code table. ST08: If the account is already enrolled, the enrolled account information is returned.
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Decline code.
* Refer to rejection code table. ST08: If the account is already enrolled, the enrolled account information is returned.
-
└outRsltMsgAN(200)Alphanumeric, up to 200 bytes*Result message.Processed successfully.
Result message.
*Error details are returned when an error occurs.
Parameter
Type
Description
Example
outRsltMsgRequired
AN(200)
Result message.
* Error details are returned when an error occurs.
Processed successfully.
└mchtCustIdAN(100)Alphanumeric, up to 100 bytes*AES-256AES-256/ECB/PKCS5PaddingUnique customer ID or key provided by the merchant.kimhecto
Unique customer ID or key provided by the merchant.
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
mchtCustIdRequired
AN(100)
AES-256
Unique customer ID or key provided by the merchant.
* Certain response fields are AES-256 encrypted. Decrypt them before use.
kimhecto
└bankCdN(3)Numeric, up to 3 bytes*3-digit bank code.004
3-digit bank code.
Parameter
Type
Description
Example
bankCdRequired
N(3)
3-digit bank code.
004
└custAcntNoAN(15)Alphanumeric, up to 15 bytes*Account number (masked).234*******123
Account number (masked).
Parameter
Type
Description
Example
custAcntNoRequired
AN(15)
Account number (masked).
234*******123
└svcDivCdN(4)Numeric, up to 4 bytes*Service registered for direct debit.
Service registered for direct debit.
1: Firm banking 2: Open Banking 3: Firm banking and Open Banking
Parameter
Type
Description
Example
svcDivCdRequired
N(4)
Service registered for direct debit.
1: Firm banking / 2: Open Banking / 3: Firm banking and Open Banking
-
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytesMerchant order number.OID201902210001
Merchant order number.
*No Korean characters
Parameter
Type
Description
Example
mchtTrdNo
AN(100)
Merchant order number.
* No Korean characters
OID201902210001
└trdNoAN(50)Alphanumeric, up to 50 bytes*Hecto Financial transaction reference number.STFP_FIRM12345678901234567890
Hecto Financial transaction reference number.
Parameter
Type
Description
Example
trdNoRequired
AN(50)
Hecto Financial transaction reference number.
STFP_FIRM12345678901234567890
└obPayerNoAN(30)Alphanumeric, up to 30 bytesOpen Banking payer number.20220630123456789012
Open Banking payer number.
*Customer payer number registered via Open Banking
Parameter
Type
Description
Example
obPayerNo
AN(30)
Open Banking payer number.
* Customer payer number registered via Open Banking
20220630123456789012
└fintechUseNoAN(24)Alphanumeric, up to 24 bytesFintech usage number (fintechUseNo).123456789012345678901234
Fintech usage number (fintechUseNo).
*Open Banking user account identifier
Parameter
Type
Description
Example
fintechUseNo
AN(24)
Fintech usage number (fintechUseNo).
* Open Banking user account identifier
123456789012345678901234
└userSeqNoAN(10)Alphanumeric, up to 10 bytesUser sequence number.1234567890
User sequence number.
*Open Banking user identifier
Parameter
Type
Description
Example
userSeqNo
AN(10)
User sequence number.
* Open Banking user identifier
1234567890

Request Example

{
  "hdInfo": "SPAY_OR0W_1.0",
  "mchtId": "midtest",
  "mchtTrdNo": "OID201902210001",
  "mchtCustId": "AES-encrypted customer ID",
  "reqDt": "20191231",
  "reqTm": "120000",
  "mchtCustNm": "AES-encrypted account holder name",
  "uii": "AES-encrypted date of birth",
  "bankCd": "004",
  "custAcntNo": "AES-encrypted account number",
  "custIp": "127.0.0.1",
  "pktHash": "hash value",
  "sexDivCd": "1",
  "ci": "customer CI value",
  "email": "customer@example.com"
}

Response Example

{
  "outStatCd": "0021",
  "outRsltCd": "0000",
  "outRsltMsg": "Processed successfully.",
  "mchtCustId": "AES-encrypted customer ID",
  "bankCd": "004",
  "custAcntNo": "234*******123",
  "svcDivCd": "2",
  "mchtTrdNo": "OID201902210001",
  "trdNo": "STFP_FIRM12345678901234567890",
  "obPayerNo": "20220630123456789012",
  "fintechUseNo": "123456789012345678901234",
  "userSeqNo": "1234567890"
}
💬

Need technical support?

Code Samples

HectoFinancial GitHub