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

Issue Virtual Account API

An API that issues virtual accounts directly from the server without a checkout. Supports both Rotating-type and Fixed-type methods.

Test Key Information

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

Important Notes

Virtual Account Deposit Notice

The deposit amount must exactly match the configured amount for automatic approval. Deposits are not possible after the expiration date.
  • A virtual account is valid from issuance until the expiration date.
  • Deposits are not possible after the expiration date.
  • Virtual account numbers are unique and will not be issued as duplicates.
  • Upon deposit completion, a webhook can be received.
  • Rotating-type (acntType=1): A new virtual account number is issued with each issuance.
  • Fixed-type (acntType=2): A fixed virtual account number is set with an amount and receives deposits.
  • For virtual account bank codes, refer to the Virtual Account Bank Codes list.

API Information

POST/spay/APIVBank.do
Content-Typeapplication/json
Sandboxhttps://tbgw.settlebank.co.kr/spay/APIVBank.do
Productionhttps://gw.settlebank.co.kr/spay/APIVBank.do

Request Parameters

Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes

params Object

└mchtIdAN(10)Alphanumeric, up to 10 bytes*Unique merchant ID assigned by Hecto Financial
Unique merchant ID assigned by Hecto Financial
nx_mid_il: Rotating-type nxva_fix: Fixed-type
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nx_mid_il: Rotating-type / nxva_fix: Fixed-type
nx_mid_il
└verAN(4)Alphanumeric, up to 4 bytes*Message version
Message version
*Fixed value
Parameter
Type
Description
Example
verRequired
AN(4)
Message version
* Fixed value
0A19
└methodA(2)Alphabetic, up to 2 bytes*Payment method
Payment method
*Fixed value (Virtual Account)
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method
* Fixed value (Virtual Account)
VA
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type code
Business type code
*Fixed value (Issuance)
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type code
* Fixed value (Issuance)
A0
└encCdN(2)Numeric, up to 2 bytes*Encryption type code
Encryption type code
*Fixed value
Parameter
Type
Description
Example
encCdRequired
N(2)
Encryption type code
* Fixed value
23
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Unique order number generated by the merchant
Unique order number generated by the merchant
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique order number generated by the merchant
ORDER20211231100000
└trdDtN(8)Numeric, up to 8 bytes*Date the message is sent (YYYYMMDD)
Date the message is sent (YYYYMMDD)
Parameter
Type
Description
Example
trdDtRequired
N(8)
Date the message is sent (YYYYMMDD)
20211231
└trdTmN(6)Numeric, up to 6 bytes*Time the message is sent (HHMMSS)
Time the message is sent (HHMMSS)
Parameter
Type
Description
Example
trdTmRequired
N(6)
Time the message is sent (HHMMSS)
100000
└mobileYnA(1)Alphabetic, up to 1 bytesMobile indicator
Mobile indicator
Y: Mobile web/app N: PC or other
Parameter
Type
Description
Example
mobileYn
A(1)
Mobile indicator
Y: Mobile web/app / N: PC or other
N
└osTypeA(1)Alphabetic, up to 1 bytesOS type
OS type
A: Android I: IOS W: Windows M: Mac E: Other
Parameter
Type
Description
Example
osType
A(1)
OS type
A: Android / I: IOS / W: Windows / M: Mac / E: Other
W

data Object

└pktHashAN(64)Alphanumeric, up to 64 bytes*SHA-256Hash value generated using SHA256(auto-generated)
Hash value generated using SHA256
Parameter
Type
Description
Example
pktHashRequired
AN(64)
SHA-256
Hash value generated using SHA256
-
NOTE

Hash Generation Combination

trdDt + trdTm + mchtId + mchtTrdNo + trdAmt (plaintext) + hashKey
└bankCdAN(3)Alphanumeric, up to 3 bytes*Virtual account bank code
Virtual account bank code
*Refer to the Virtual Account Bank Code List
Parameter
Type
Description
Example
bankCdRequired
AN(3)
Virtual account bank code
* Refer to the Virtual Account Bank Code List
004
└acntTypeN(1)Numeric, up to 1 bytes*Account type
Account type
1: Rotating-type 2: Fixed-type 3: Fixed-type Recurring
*For Fixed-type Recurring (3), set trdAmt to 0 and call the cash receipt API separately.
Parameter
Type
Description
Example
acntTypeRequired
N(1)
Account type
1: Rotating-type / 2: Fixed-type / 3: Fixed-type Recurring
* For Fixed-type Recurring (3), set trdAmt to 0 and call the cash receipt API separately.
1
└vAcntNoN(16)Numeric, up to 16 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Virtual account number (used only for Fixed-type)
Virtual account number (used only for Fixed-type)
*Used only when acntType=2 (Fixed-type).
Parameter
Type
Description
Example
vAcntNo
N(16)
AES-256
Virtual account number (used only for Fixed-type)
* Used only when acntType=2 (Fixed-type).
-
└trdAmtN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Transaction amount
Transaction amount
*Expected deposit amount. Automatic approval upon deposit of this amount.
Parameter
Type
Description
Example
trdAmtRequired
N(12)
AES-256
Transaction amount
* Expected deposit amount. Automatic approval upon deposit of this amount.
1000
└prdtNmAHN(128)Alphanumeric + Korean, up to 128 bytes*Product name
Product name
Parameter
Type
Description
Example
prdtNmRequired
AHN(128)
Product name
Test Product
└sellerNmAHN(128)Alphanumeric + Korean, up to 128 bytes*Seller name
Seller name
Parameter
Type
Description
Example
sellerNmRequired
AHN(128)
Seller name
Hecto Financial
└expireDateN(14)Numeric, up to 14 bytesVirtual account deposit deadline (YYYYMMDDhhmmss)
Virtual account deposit deadline (YYYYMMDDhhmmss)
*If not set, default expiration (D+10) applies.
Parameter
Type
Description
Example
expireDate
N(14)
Virtual account deposit deadline (YYYYMMDDhhmmss)
* If not set, default expiration (D+10) applies.
20271231235959
└taxTypeCdA(1)Alphabetic, up to 1 bytes*Tax type
Tax type
N: Taxable Y: Tax-exempt G: Mixed taxation
Parameter
Type
Description
Example
taxTypeCdRequired
A(1)
Tax type
N: Taxable / Y: Tax-exempt / G: Mixed taxation
N
└taxAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Taxable amount of the transaction amount (required for mixed taxation)
Taxable amount of the transaction amount (required for mixed taxation)
Parameter
Type
Description
Example
taxAmt
N(12)
AES-256
Taxable amount of the transaction amount (required for mixed taxation)
909
└vatAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64VAT amount of the transaction amount (required for mixed taxation)
VAT amount of the transaction amount (required for mixed taxation)
Parameter
Type
Description
Example
vatAmt
N(12)
AES-256
VAT amount of the transaction amount (required for mixed taxation)
91
└taxFreeAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Tax-free amount of the transaction amount (required for mixed taxation)
Tax-free amount of the transaction amount (required for mixed taxation)
Parameter
Type
Description
Example
taxFreeAmt
N(12)
AES-256
Tax-free amount of the transaction amount (required for mixed taxation)
0
└escrAgrYnA(1)Alphabetic, up to 1 bytes*Escrow usage
Escrow usage
Y: Use escrow N: Do not use escrow
Parameter
Type
Description
Example
escrAgrYnRequired
A(1)
Escrow usage
Y: Use escrow / N: Do not use escrow
N
└escrPwdAN(64)Alphanumeric, up to 64 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Escrow password (required when using escrow)
Escrow password (required when using escrow)
*Required when escrAgrYn=Y
Parameter
Type
Description
Example
escrPwd
AN(64)
AES-256
Escrow password (required when using escrow)
* Required when escrAgrYn=Y
-
└rfdDpstrNmAHN(50)Alphanumeric + Korean, up to 50 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Escrow refund account holder name (required when using escrow)
Escrow refund account holder name (required when using escrow)
*Required when escrAgrYn=Y
Parameter
Type
Description
Example
rfdDpstrNm
AHN(50)
AES-256
Escrow refund account holder name (required when using escrow)
* Required when escrAgrYn=Y
-
└csrcIssReqYnA(1)Alphabetic, up to 1 bytes*Cash receipt issuance
Cash receipt issuance
Y: Issue cash receipt N: Do not issue cash receipt
Parameter
Type
Description
Example
csrcIssReqYnRequired
A(1)
Cash receipt issuance
Y: Issue cash receipt / N: Do not issue cash receipt
N
└cashRcptPrposDivCdN(1)Numeric, up to 1 bytesCash receipt purpose classification code (required when issuing cash receipt)
Cash receipt purpose classification code (required when issuing cash receipt)
0: Income deduction 1: Expense proof
*Required when csrcIssReqYn=Y
Parameter
Type
Description
Example
cashRcptPrposDivCd
N(1)
Cash receipt purpose classification code (required when issuing cash receipt)
0: Income deduction / 1: Expense proof
* Required when csrcIssReqYn=Y
-
└csrcRegNoDivCdN(1)Numeric, up to 1 bytesCash receipt registration number type code (required when issuing cash receipt)
Cash receipt registration number type code (required when issuing cash receipt)
1: Card 2: Resident registration number 3: Business registration number 4: Mobile phone number
*Required when csrcIssReqYn=Y
Parameter
Type
Description
Example
csrcRegNoDivCd
N(1)
Cash receipt registration number type code (required when issuing cash receipt)
1: Card / 2: Resident registration number / 3: Business registration number / 4: Mobile phone number
* Required when csrcIssReqYn=Y
1
└csrcRegNoN(18)Numeric, up to 18 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Cash receipt unique identification information (required when issuing cash receipt)
Cash receipt unique identification information (required when issuing cash receipt)
*Required when csrcIssReqYn=Y. Enter the applicable value: resident registration number / business registration number / mobile phone number / card number.
Parameter
Type
Description
Example
csrcRegNo
N(18)
AES-256
Cash receipt unique identification information (required when issuing cash receipt)
* Required when csrcIssReqYn=Y. Enter the applicable value: resident registration number / business registration number / mobile phone number / card number.
-
└ordNmAHN(30)Alphanumeric + Korean, up to 30 bytesOrderer name
Orderer name
Parameter
Type
Description
Example
ordNm
AHN(30)
Orderer name
Hong Gil-dong
└dpstrNmAHN(50)Alphanumeric + Korean, up to 50 bytesBank statement description
Bank statement description
*Name to be displayed on the customer's bank statement. If empty, sellerNm (seller name) is used as the bank statement description.
Parameter
Type
Description
Example
dpstrNm
AHN(50)
Bank statement description
* Name to be displayed on the customer's bank statement. If empty, sellerNm (seller name) is used as the bank statement description.
-
└emailAN(60)Alphanumeric, up to 60 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Customer email address (required when using escrow)
Customer email address (required when using escrow)
*Required when escrAgrYn=Y
Parameter
Type
Description
Example
email
AN(60)
AES-256
Customer email address (required when using escrow)
* Required when escrAgrYn=Y
HongGilDong@example.com
└mchtCustIdAN(50)Alphanumeric, up to 50 bytesMerchant customer ID
Merchant customer ID
Parameter
Type
Description
Example
mchtCustId
AN(50)
Merchant customer ID
HongGilDong
└notiUrlAN(250)Alphanumeric, up to 250 bytes*Webhook URL to receive the deposit completion result from Hecto Financial to your server
Webhook URL to receive the deposit completion result from Hecto Financial to your server
Parameter
Type
Description
Example
notiUrlRequired
AN(250)
Webhook URL to receive the deposit completion result from Hecto Financial to your server
https://example.com/notiUrl
└mchtParamAHN(4000)Alphanumeric + Korean, up to 4000 bytesMerchant reserved field for entering additional order information
Merchant reserved field for entering additional order information
Parameter
Type
Description
Example
mchtParam
AHN(4000)
Merchant reserved field for entering additional order information
name=HongGilDong&age=25

Sandbox Fixed-type Virtual Account List

Fixed-type virtual account numbers available only in the sandbox environment (tbgw.settlebank.co.kr).

Merchant ID (mchtId)Bank Code (bankCd)Virtual Account Number (vAcntNo)
nxva_fix004 (KB Kookmin Bank)2022004000001 ~ 2022004000050
nxva_fix011 (NH NongHyup Bank)2022011000001 ~ 2022011000050

Response Parameters

Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes

params Object

└mchtIdAN(10)Alphanumeric, up to 10 bytes*Unique merchant ID assigned by Hecto Financialnx_mid_il
Unique merchant ID assigned by Hecto Financial
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nx_mid_il
└verAN(4)Alphanumeric, up to 4 bytes*Message version0A19
Message version
*Fixed value
Parameter
Type
Description
Example
verRequired
AN(4)
Message version
* Fixed value
0A19
└methodA(2)Alphabetic, up to 2 bytes*Payment methodVA
Payment method
*Fixed value
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method
* Fixed value
VA
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type codeA0
Business type code
*Fixed value (Issuance)
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type code
* Fixed value (Issuance)
A0
└encCdN(2)Numeric, up to 2 bytes*Encryption type code23
Encryption type code
*Fixed value
Parameter
Type
Description
Example
encCdRequired
N(2)
Encryption type code
* Fixed value
23
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Unique order number generated by the merchantORDER20211231100000
Unique order number generated by the merchant
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique order number generated by the merchant
ORDER20211231100000
└trdNoAN(40)Alphanumeric, up to 40 bytes*Unique transaction number issued by Hecto FinancialSTFP_PGVAnx_mid_il00210806075210M1853381
Unique transaction number issued by Hecto Financial
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Unique transaction number issued by Hecto Financial
STFP_PGVAnx_mid_il00210806075210M1853381
└trdDtN(8)Numeric, up to 8 bytes*Request date (YYYYMMDD)20211231
Request date (YYYYMMDD)
Parameter
Type
Description
Example
trdDtRequired
N(8)
Request date (YYYYMMDD)
20211231
└trdTmN(6)Numeric, up to 6 bytes*Request time (HHMMSS)100000
Request time (HHMMSS)
Parameter
Type
Description
Example
trdTmRequired
N(6)
Request time (HHMMSS)
100000
└outStatCdAN(4)Alphanumeric, up to 4 bytes*Transaction status code (success/failure)0021
Transaction status code (success/failure)
0021: Issuance success 0031: Failure
Parameter
Type
Description
Example
outStatCdRequired
AN(4)
Transaction status code (success/failure)
0021: Issuance success / 0031: Failure
0021
└outRsltCdAN(4)Alphanumeric, up to 4 bytes*Decline code. If transaction status is '0031', a detailed code is provided.0000
Decline code. If transaction status is '0031', a detailed code is provided.
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Decline code. If transaction status is '0031', a detailed code is provided.
0000
└outRsltMsgAHN(200)Alphanumeric + Korean, up to 200 bytes*Result message (URL Encoding, UTF-8)Processed successfully.
Result message (URL Encoding, UTF-8)
Parameter
Type
Description
Example
outRsltMsgRequired
AHN(200)
Result message (URL Encoding, UTF-8)
Processed successfully.

data Object

└pktHashAN(64)Alphanumeric, up to 64 bytes*Hash value generated using SHA256
Hash value generated using SHA256
Parameter
Type
Description
Example
pktHashRequired
AN(64)
Hash value generated using SHA256
-
NOTE

Hash Generation Combination

outStatCd + trdDt + trdTm + mchtId + mchtTrdNo + trdAmt (plaintext) + hashKey
└trdAmtN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5PaddingTransaction amount1000
Transaction amount
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
trdAmtRequired
N(12)
AES-256
Transaction amount
* Certain response fields are AES-256 encrypted. Decrypt them before use.
1000
└bankCdAN(3)Alphanumeric, up to 3 bytes*Virtual account bank code004
Virtual account bank code
Parameter
Type
Description
Example
bankCdRequired
AN(3)
Virtual account bank code
004
└vAcntNoN(16)Numeric, up to 16 bytes*AES-256AES-256/ECB/PKCS5PaddingIssued virtual account number12345678901234
Issued virtual account number
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
vAcntNoRequired
N(16)
AES-256
Issued virtual account number
* Certain response fields are AES-256 encrypted. Decrypt them before use.
12345678901234
└expireDateN(14)Numeric, up to 14 bytes*Virtual account deposit deadline (YYYYMMDDhhmmss)20271231235959
Virtual account deposit deadline (YYYYMMDDhhmmss)
Parameter
Type
Description
Example
expireDateRequired
N(14)
Virtual account deposit deadline (YYYYMMDDhhmmss)
20271231235959
└acntTypeN(1)Numeric, up to 1 bytes*Account type (returned as-is from the request)1
Account type (returned as-is from the request)
1: Rotating-type 2: Fixed-type 3: Fixed-type Recurring
Parameter
Type
Description
Example
acntTypeRequired
N(1)
Account type (returned as-is from the request)
1: Rotating-type / 2: Fixed-type / 3: Fixed-type Recurring
1

Webhook (Deposit Notification)

When a customer deposits into the virtual account, Hecto Financial sends a webhook to your server.

Two-Stage Webhook Processing Required

For virtual accounts, a webhook is sent both when the account is issued (Issuance Webhook) and when the actual deposit is completed (Deposit Webhook). Both webhooks must be handled. View Webhook Documentation
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test