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

Virtual Account Deposit Webhook

Unlike other payment methods, virtual accounts send a webhook at each transaction stage: issuance, deposit, cancellation, refund, and more. Implement processing logic for each webhook type.


Webhook Type Summary

Virtual account webhooks are distinguished by the combination of outStatCd (transaction status) and bizType (business type).

Webhook TypeoutStatCdbizTypeStatusTrigger
Issuance Complete0051A0Awaiting depositAccount issued (not Fixed-type Recurring)
Deposit Complete0021B1Payment completeCustomer deposits
Issuance Cancel0021A2Issuance cancelledIssuance cancel API called
Auto-Cancel0121B2Cancelled after depositBank cancels after deposit (opt-in)
Refund Complete0021C0Refund completeRefund registered via refund API
NOTE

010 Virtual Account Webhook — See Separate Documentation

For 010 virtual account (bizType=A4) issuance/deposit webhooks, refer to the dedicated 010 virtual account webhook documentation.

Webhook URL

A webhook is a Server-to-Server request from Hecto Financial to your server, sent to one of the three URLs below. For the concept, see the Result Notification URL Guide.

LabelMeaning
Request notiUrlThe notiUrl parameter passed in the issuance request
Registered URLThe webhook URL registered in your merchant settings through your sales representative
Registered receipt inquiry URLThe receipt inquiry URL registered in your merchant settings (separate from the registered URL)

Destination URL by account type and webhook type. A → B means the webhook is sent to B if A is not available.

Webhook TypeRotating-type / Fixed-typeFixed-type Recurring
Issuance CompleteRequest notiUrl → Registered URLNot sent
Deposit CompleteRequest notiUrl → Registered URLRegistered URL
Issuance CancelRegistered URL → Request notiUrlRegistered URL
Receipt Inquiry / P Receipt InquiryRegistered receipt inquiry URLRegistered receipt inquiry URL

Key Points

Unlike other webhooks, issuance cancel webhooks use the registered URL first. Fixed-type Recurring accounts have no request notiUrl, so you must register a URL in your merchant settings to receive webhooks.

Differences by Account Type

Use acntType to identify the account type. Fixed-type Recurring (3) sends different parameters.

ItemRotating-type (1) / Fixed-type (2)Fixed-type Recurring (3)
Issuance complete webhookSentNot sent
mchtTrdNoOrder number from issuanceAlways 0000000 (use vAcntNo)
trdNoTransaction number from issuancePer-deposit number (refund orgTrdNo)

Processing Notes

No webhook is sent when the deposit deadline (expireDt) passes. Handle expiration on your side. The depositor name (dpstrNm) may differ from the name entered at order time. Use it for reference only. Process the refund as complete when the refund complete webhook arrives. The customer deposit is made on the next business day, with no further webhook.

Communication Specification

ItemDescription
MethodPOST
Content-Typeapplication/x-www-form-urlencoded; charset=UTF-8
Response FormatPlain Text (OK or FAIL)

Webhook Parameters — Rotating-type / Fixed-type

Webhook parameters sent from Rotating-type (acntType=1) and Fixed-type (acntType=2) virtual accounts. Used for all webhook types including Issuance Complete (0051), Deposit Complete (0021), and Auto-Cancel (0121, when enabled).

Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes
└outStatCdN(4)Numeric, up to 4 bytes*Transaction status0021
Transaction status
0021: Success (deposit complete/issuance cancel/refund — distinguished by bizType) 0051: Awaiting deposit (issuance complete) 0121: Auto-cancel (when enabled)
Parameter
Type
Description
Example
outStatCdRequired
N(4)
Transaction status
0021: Success (deposit complete/issuance cancel/refund — distinguished by bizType) / 0051: Awaiting deposit (issuance complete) / 0121: Auto-cancel (when enabled)
0021
└trdNoAN(40)Alphanumeric, up to 40 bytes*Unique transaction number assigned by Hecto FinancialSTFP_PGVAnxva_jt_il0211129135810M1494620
Unique transaction number assigned by Hecto Financial
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Unique transaction number assigned by Hecto Financial
STFP_PGVAnxva_jt_il0211129135810M1494620
└methodA(2)Alphabetic, up to 2 bytes*Payment methodVA
Payment method
VA: Virtual Account
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method
VA: Virtual Account
VA
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business typeA0
Business type
A0: Issuance A2: Issuance Cancel B1: Deposit Webhook B2: Auto-Cancel (when enabled) C0: Refund
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type
A0: Issuance / A2: Issuance Cancel / B1: Deposit Webhook / B2: Auto-Cancel (when enabled) / C0: Refund
A0
└mchtIdAN(12)Alphanumeric, up to 12 bytes*Merchant ID assigned by Hecto Financialnxva_jt_il
Merchant ID assigned by Hecto Financial
Parameter
Type
Description
Example
mchtIdRequired
AN(12)
Merchant ID assigned by Hecto Financial
nxva_jt_il
└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
└mchtCustNmAHN(30)Alphanumeric + Korean, up to 30 bytesOrderer nameMerchantName_HongGilDong
Orderer name
Parameter
Type
Description
Example
mchtCustNm
AHN(30)
Orderer name
MerchantName_HongGilDong
└mchtNameAHN(20)Alphanumeric + Korean, up to 20 bytesActual seller name. If no actual seller name is provided in the transaction request, the merchant name contracted with Hecto Financial is used.Hecto Financial
Actual seller name. If no actual seller name is provided in the transaction request, the merchant name contracted with Hecto Financial is used.
Parameter
Type
Description
Example
mchtName
AHN(20)
Actual seller name. If no actual seller name is provided in the transaction request, the merchant name contracted with Hecto Financial is used.
Hecto Financial
└pmtprdNmAHN(128)Alphanumeric + Korean, up to 128 bytesProduct name ordered by the customerTest Product
Product name ordered by the customer
Parameter
Type
Description
Example
pmtprdNm
AHN(128)
Product name ordered by the customer
Test Product
└trdDtmN(14)Numeric, up to 14 bytes*Transaction date and time. Format: YYYYMMDDhhmmss20211231100000
Transaction date and time. Format: YYYYMMDDhhmmss
Parameter
Type
Description
Example
trdDtmRequired
N(14)
Transaction date and time. Format: YYYYMMDDhhmmss
20211231100000
└trdAmtN(12)Numeric, up to 12 bytesTransaction amount1000
Transaction amount
Parameter
Type
Description
Example
trdAmt
N(12)
Transaction amount
1000
└bankCdAN(10)Alphanumeric, up to 10 bytesBank code011
Bank code
Parameter
Type
Description
Example
bankCd
AN(10)
Bank code
011
└bankNmAHN(10)Alphanumeric + Korean, up to 10 bytesBank nameNH NongHyup
Bank name
Parameter
Type
Description
Example
bankNm
AHN(10)
Bank name
NH NongHyup
└acntTypeN(1)Numeric, up to 1 bytesAccount type1
Account type
1: Default (Rotating-type) 2: Fixed-type 3: Fixed-type Recurring
Parameter
Type
Description
Example
acntType
N(1)
Account type
1: Default (Rotating-type) / 2: Fixed-type / 3: Fixed-type Recurring
1
└vAcntNoN(64)Numeric, up to 64 bytesVirtual account number0123456789
Virtual account number
Parameter
Type
Description
Example
vAcntNo
N(64)
Virtual account number
0123456789
└expireDtN(14)Numeric, up to 14 bytesVirtual account deposit expiration date and time20271231235959
Virtual account deposit expiration date and time
Parameter
Type
Description
Example
expireDt
N(14)
Virtual account deposit expiration date and time
20271231235959
└AcntPrintNmAHN(12)Alphanumeric + Korean, up to 12 bytesBank statement description displayed on the customer's bank statement. The value passed in the payment request is used. If no value, the merchant name contracted with Hecto Financial is used.Hecto Financial
Bank statement description displayed on the customer's bank statement. The value passed in the payment request is used. If no value, the merchant name contracted with Hecto Financial is used.
Parameter
Type
Description
Example
AcntPrintNm
AHN(12)
Bank statement description displayed on the customer's bank statement. The value passed in the payment request is used. If no value, the merchant name contracted with Hecto Financial is used.
Hecto Financial
└dpstrNmAHN(30)Alphanumeric + Korean, up to 30 bytesName of the person who actually deposited into the virtual account (provided in the deposit webhook)Hong Gil-dong
Name of the person who actually deposited into the virtual account (provided in the deposit webhook)
Parameter
Type
Description
Example
dpstrNm
AHN(30)
Name of the person who actually deposited into the virtual account (provided in the deposit webhook)
Hong Gil-dong
└emailAN(60)Alphanumeric, up to 60 bytesMerchant customer emailHongGilDong@example.com
Merchant customer email
Parameter
Type
Description
Example
email
AN(60)
Merchant customer email
HongGilDong@example.com
└mchtCustIdAN(50)Alphanumeric, up to 50 bytesMerchant customer IDHongGilDong
Merchant customer ID
Parameter
Type
Description
Example
mchtCustId
AN(50)
Merchant customer ID
HongGilDong
└orgTrdNoAN(40)Alphanumeric, up to 40 bytesOriginal transaction number (for cancellation and refund)STFP_PGVAnxva_jt_il0211129135810M1494620
Original transaction number (for cancellation and refund)
Parameter
Type
Description
Example
orgTrdNo
AN(40)
Original transaction number (for cancellation and refund)
STFP_PGVAnxva_jt_il0211129135810M1494620
└orgTrdDtN(8)Numeric, up to 8 bytesOriginal transaction date (for cancellation and refund)20211231
Original transaction date (for cancellation and refund)
Parameter
Type
Description
Example
orgTrdDt
N(8)
Original transaction date (for cancellation and refund)
20211231
└csrcIssNoAN(9)Alphanumeric, up to 9 bytesCash receipt approval number0123456789
Cash receipt approval number
Parameter
Type
Description
Example
csrcIssNo
AN(9)
Cash receipt approval number
0123456789
└cnclTypeN(2)Numeric, up to 2 bytesCancellation type00
Cancellation type
00: Full cancellation 10: Partial cancellation
Parameter
Type
Description
Example
cnclType
N(2)
Cancellation type
00: Full cancellation / 10: Partial cancellation
00
└mchtParamAHN(4000)Alphanumeric + Korean, up to 4000 bytesThe value passed in the request is returned as-is.name=HongGilDong&age=25
The value passed in the request is returned as-is.
Parameter
Type
Description
Example
mchtParam
AHN(4000)
The value passed in the request is returned as-is.
name=HongGilDong&age=25
└pktHashAN(64)Alphanumeric, up to 64 bytes*SHA256 hash valuea2d6d597d55d7c9b689baa2e08c1ddf0ce71f4248c5b9b59fe61bfbf949543e1
SHA256 hash value
Parameter
Type
Description
Example
pktHashRequired
AN(64)
SHA256 hash value
a2d6d597d55d7c9b689baa2e08c1ddf0ce71f4248c5b9b59fe61bfbf949543e1
NOTE

Hash Generation Combination

outStatCd + transaction date (first 8 digits of trdDtm) + transaction time (last 6 digits of trdDtm) + mchtId + mchtTrdNo + trdAmt (plaintext) + hashKey

Webhook Parameters — Fixed-type Recurring

Webhook parameters sent from Fixed-type Recurring (acntType=3) virtual accounts.

Fixed-type Recurring Specific Notes

Fixed-type Recurring accounts do not send an issuance webhook (outStatCd=0051). They receive the deposit complete webhook (outStatCd=0021 / bizType=B1) by default and also receive the auto-cancel webhook (outStatCd=0121 / bizType=B2) when it is enabled. Also, mchtTrdNo is always fixed as '0000000', making it impossible to identify individual orders, so orders must be distinguished using vAcntNo (virtual account number).
Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes
└outStatCdN(4)Numeric, up to 4 bytes*Transaction status. Deposit complete is 0021 by default; 0121 is also received when the auto-cancel webhook is enabled.0021
Transaction status. Deposit complete is 0021 by default; 0121 is also received when the auto-cancel webhook is enabled.
0021: Deposit complete 0121: Auto-cancel (when enabled)
Parameter
Type
Description
Example
outStatCdRequired
N(4)
Transaction status. Deposit complete is 0021 by default; 0121 is also received when the auto-cancel webhook is enabled.
0021: Deposit complete / 0121: Auto-cancel (when enabled)
0021
└trdNoAN(40)Alphanumeric, up to 40 bytes*Unique transaction number assigned by Hecto FinancialSTFP_PGVAnxva_fix20211129135810M1494620
Unique transaction number assigned by Hecto Financial
*For Fixed-type Recurring, this is a per-deposit transaction number and differs from the transaction number issued at issuance. Use this deposit transaction number as the original transaction number (orgTrdNo) for follow-up transactions such as refunds.
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Unique transaction number assigned by Hecto Financial
* For Fixed-type Recurring, this is a per-deposit transaction number and differs from the transaction number issued at issuance. Use this deposit transaction number as the original transaction number (orgTrdNo) for follow-up transactions such as refunds.
STFP_PGVAnxva_fix20211129135810M1494620
└methodA(2)Alphabetic, up to 2 bytes*Payment methodVA
Payment method
VA: Virtual Account
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method
VA: Virtual Account
VA
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type. Deposit notification is B1 by default; B2 is also received when the auto-cancel webhook is enabled.B1
Business type. Deposit notification is B1 by default; B2 is also received when the auto-cancel webhook is enabled.
B1: Deposit notification B2: Auto-cancel (when enabled)
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type. Deposit notification is B1 by default; B2 is also received when the auto-cancel webhook is enabled.
B1: Deposit notification / B2: Auto-cancel (when enabled)
B1
└mchtIdAN(12)Alphanumeric, up to 12 bytes*Merchant ID assigned by Hecto Financialnxva_fix2
Merchant ID assigned by Hecto Financial
Parameter
Type
Description
Example
mchtIdRequired
AN(12)
Merchant ID assigned by Hecto Financial
nxva_fix2
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Fixed-type Recurring accounts always send '0000000' as a fixed value. Use vAcntNo to distinguish orders.0000000
Fixed-type Recurring accounts always send '0000000' as a fixed value. Use vAcntNo to distinguish orders.
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Fixed-type Recurring accounts always send '0000000' as a fixed value. Use vAcntNo to distinguish orders.
0000000
└trdDtmN(14)Numeric, up to 14 bytes*Transaction date and time. Format: YYYYMMDDhhmmss20211231100000
Transaction date and time. Format: YYYYMMDDhhmmss
Parameter
Type
Description
Example
trdDtmRequired
N(14)
Transaction date and time. Format: YYYYMMDDhhmmss
20211231100000
└trdAmtN(12)Numeric, up to 12 bytesTransaction amount1000
Transaction amount
Parameter
Type
Description
Example
trdAmt
N(12)
Transaction amount
1000
└bankCdAN(10)Alphanumeric, up to 10 bytesBank code011
Bank code
Parameter
Type
Description
Example
bankCd
AN(10)
Bank code
011
└bankNmAHN(10)Alphanumeric + Korean, up to 10 bytesBank nameNH NongHyup
Bank name
Parameter
Type
Description
Example
bankNm
AHN(10)
Bank name
NH NongHyup
└acntTypeN(1)Numeric, up to 1 bytesAccount type. Fixed-type Recurring is always 3.3
Account type. Fixed-type Recurring is always 3.
3: Fixed-type Recurring
Parameter
Type
Description
Example
acntType
N(1)
Account type. Fixed-type Recurring is always 3.
3: Fixed-type Recurring
3
└vAcntNoN(64)Numeric, up to 64 bytesVirtual account number. Since mchtTrdNo is a fixed value, this field must be used to distinguish orders.0123456789
Virtual account number. Since mchtTrdNo is a fixed value, this field must be used to distinguish orders.
Parameter
Type
Description
Example
vAcntNo
N(64)
Virtual account number. Since mchtTrdNo is a fixed value, this field must be used to distinguish orders.
0123456789
└expireDtN(14)Numeric, up to 14 bytesVirtual account deposit expiration date and time20271231235959
Virtual account deposit expiration date and time
Parameter
Type
Description
Example
expireDt
N(14)
Virtual account deposit expiration date and time
20271231235959
└AcntPrintNmAHN(12)Alphanumeric + Korean, up to 12 bytesBank statement description displayed on the customer's bank statement. The value passed in the payment request is used. If no value, the merchant name contracted with Hecto Financial is used.Hecto Financial
Bank statement description displayed on the customer's bank statement. The value passed in the payment request is used. If no value, the merchant name contracted with Hecto Financial is used.
Parameter
Type
Description
Example
AcntPrintNm
AHN(12)
Bank statement description displayed on the customer's bank statement. The value passed in the payment request is used. If no value, the merchant name contracted with Hecto Financial is used.
Hecto Financial
└dpstrNmAHN(30)Alphanumeric + Korean, up to 30 bytesName of the person who actually deposited into the virtual accountHong Gil-dong
Name of the person who actually deposited into the virtual account
Parameter
Type
Description
Example
dpstrNm
AHN(30)
Name of the person who actually deposited into the virtual account
Hong Gil-dong
└pktHashAN(64)Alphanumeric, up to 64 bytes*SHA256 hash valuea2d6d597d55d7c9b689baa2e08c1ddf0ce71f4248c5b9b59fe61bfbf949543e1
SHA256 hash value
Parameter
Type
Description
Example
pktHashRequired
AN(64)
SHA256 hash value
a2d6d597d55d7c9b689baa2e08c1ddf0ce71f4248c5b9b59fe61bfbf949543e1
NOTE

Hash Generation Combination

outStatCd + transaction date (first 8 digits of trdDtm) + transaction time (last 6 digits of trdDtm) + mchtId + mchtTrdNo + trdAmt (plaintext) + hashKey

Webhook Response (Merchant → Hecto Financial)

The merchant sends a response to Hecto Financial.

ResponseDescription
OKSuccess (uppercase). Processed as webhook received.
FAIL or othersRecognized as failure; resent up to the configured number of times per merchant. Sending stops after exceeding the resend deadline.

Response Format Note

The response must be plain text 'OK' only. If spaces or other characters are included, it will be considered a failure and resending may occur.
NOTE

Distinguishing Issuance and Deposit Webhooks

outStatCd alone does not identify the webhook type. 0021 is shared by deposit complete, issuance cancel, and refund, so check bizType as well. Process the actual payment in the deposit complete webhook (0021 / B1).

Hash Verification

Hash Verification Required

To check for data tampering, you must verify the hash value received via notiUrl. Only provide the service when the hash matches.
ItemCombination Fields
pktHashTransaction status code + transaction date (first 8 digits of trdDtm) + transaction time (last 6 digits of trdDtm) + merchant ID + merchant order number + transaction amount (plaintext) + hash key

Webhook Examples

Deposit Webhook — Rotating-type / Fixed-type (Hecto Financial → Merchant)

POST /your-noti-url HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8

outStatCd=0021
&trdNo=STFP_PGVAnxva_sb_il0211231100000M1234567
&method=VA
&bizType=B1
&mchtId=nxva_sb_il
&mchtTrdNo=ORDER20211231100000
&mchtCustNm=HongGilDong
&mchtName=HectoFinancial
&pmtprdNm=Test Product
&trdDtm=20211231120000
&trdAmt=50000
&bankCd=011
&vAcntNo=12345678901234
&dpstrNm=HongGilDong
&acntType=1
&email=test@example.com
&mchtCustId=customer123
&csrcIssNo=
&mchtParam=
&pktHash=a2d6d597d55d7c9b689baa2e08c1ddf0ce71f4248c5b9b59fe61bfbf949543e1

Deposit Webhook — Fixed-type Recurring (Hecto Financial → Merchant)

POST /your-noti-url HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8

outStatCd=0021
&trdNo=STFP_PGVAnxva_fix20211231120000M9876543
&method=VA
&bizType=B1
&mchtId=nxva_fix2
&mchtTrdNo=0000000
&trdDtm=20211231120000
&trdAmt=50000
&bankCd=011
&bankNm=NH NongHyup
&vAcntNo=2022011000001
&dpstrNm=HongGilDong
&acntType=3
&AcntPrintNm=HectoFinancial
&expireDt=20271231235959
&pktHash=b3e7f498c66e8d1a790cbb3f9dc2eef1b48a5c2594c6a0ae2f72cge059654f2

Response (Merchant → Hecto Financial)

OK
💬

Need technical support?

Code Samples

HectoFinancial GitHub