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

The Checkout method allows customers to issue a virtual account number directly on the payment screen and make a deposit.

Test Key Information

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

API Information

POST/vbank/main.do
Content-Typeapplication/x-www-form-urlencoded
Sandboxhttps://tbnpg.settlebank.co.kr/vbank/main.do
Productionhttps://npg.settlebank.co.kr/vbank/main.do

Important Notes

Virtual Account Deposit Notice

A virtual account is valid from issuance until the expiration date. The deposit amount must exactly match the configured amount for automatic approval.
  • Virtual account numbers are unique and will not be issued as duplicates.
  • Deposits are not possible after the expiration date.
  • Upon deposit completion, the result can be received via webhook (notiUrl).

Request Parameters

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

Required Parameters

└mchtIdAN(10)Alphanumeric, up to 10 bytes*Unique merchant ID assigned by Hecto Financial
Unique merchant ID assigned by Hecto Financial
nx_mid_il: Virtual Account
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nx_mid_il: Virtual Account
nx_mid_il
└methodAN(20)Alphanumeric, up to 20 bytes*Payment type code for the PG service
Payment type code for the PG service
*Fixed value
Parameter
Type
Description
Example
methodRequired
AN(20)
Payment type code for the PG service
* Fixed value
vbank
└trdDtN(8)Numeric, up to 8 bytes*Request date (yyyyMMdd)
Request date (yyyyMMdd)
Parameter
Type
Description
Example
trdDtRequired
N(8)
Request date (yyyyMMdd)
20211231
└trdTmN(6)Numeric, up to 6 bytes*Request time (HH24MISS)
Request time (HH24MISS)
Parameter
Type
Description
Example
trdTmRequired
N(6)
Request time (HH24MISS)
100000
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Unique order number generated by the merchant (Korean characters excluded)
Unique order number generated by the merchant (Korean characters excluded)
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique order number generated by the merchant (Korean characters excluded)
ORDER20211231100000
└mchtNameAHN(100)Alphanumeric + Korean, up to 100 bytes*Merchant name (Korean)
Merchant name (Korean)
Parameter
Type
Description
Example
mchtNameRequired
AHN(100)
Merchant name (Korean)
Hecto Financial
└mchtENameAN(100)Alphanumeric, up to 100 bytes*Merchant name (English)
Merchant name (English)
Parameter
Type
Description
Example
mchtENameRequired
AN(100)
Merchant name (English)
Hecto Financial
└pmtPrdtNmAHN(128)Alphanumeric + Korean, up to 128 bytes*Payment product name
Payment product name
Parameter
Type
Description
Example
pmtPrdtNmRequired
AHN(128)
Payment product name
Test Product
└trdAmtN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Transaction amount
Transaction amount
Parameter
Type
Description
Example
trdAmtRequired
N(12)
AES-256
Transaction amount
1000
└notiUrlAN(250)Alphanumeric, up to 250 bytes*Webhook URL to receive the result after deposit completion (Server-to-Server integration URL)
Webhook URL to receive the result after deposit completion (Server-to-Server integration URL)
Parameter
Type
Description
Example
notiUrlRequired
AN(250)
Webhook URL to receive the result after deposit completion (Server-to-Server integration URL)
https://example.com/notiUrl
└nextUrlAN(250)Alphanumeric, up to 250 bytes*URL to redirect to the result screen after virtual account issuance
URL to redirect to the result screen after virtual account issuance
*Redirected when a button inside the checkout is clicked. Check the outStatCd value to confirm issuance success (0051) or failure (0031).
Parameter
Type
Description
Example
nextUrlRequired
AN(250)
URL to redirect to the result screen after virtual account issuance
* Redirected when a button inside the checkout is clicked. Check the outStatCd value to confirm issuance success (0051) or failure (0031).
https://example.com/nextUrl
└cancUrlAN(250)Alphanumeric, up to 250 bytes*URL to redirect to when the customer clicks the X button on the checkout
URL to redirect to when the customer clicks the X button on the checkout
*Browser close, back navigation, etc. are not detected.
Parameter
Type
Description
Example
cancUrlRequired
AN(250)
URL to redirect to when the customer clicks the X button on the checkout
* Browser close, back navigation, etc. are not detected.
https://example.com/cancUrl
└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 + method + mchtTrdNo + trdDt + trdTm + trdAmt (plaintext) + hashKey

Optional Parameters

└mchtCustNmAHN(30)Alphanumeric + Korean, up to 30 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Customer name
Customer name
Parameter
Type
Description
Example
mchtCustNm
AHN(30)
AES-256
Customer name
Hong Gil-dong
└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
└emailAN(60)Alphanumeric, up to 60 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Email address
Email address
Parameter
Type
Description
Example
email
AN(60)
AES-256
Email address
HongGilDong@example.com
└prdtTermN(14)Numeric, up to 14 bytesProduct provision period (yyyyMMddHHmmss). If empty, displayed as a regular payment.
Product provision period (yyyyMMddHHmmss). If empty, displayed as a regular payment.
Parameter
Type
Description
Example
prdtTerm
N(14)
Product provision period (yyyyMMddHHmmss). If empty, displayed as a regular payment.
20221231235959
└mchtCustIdAN(50)Alphanumeric, up to 50 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Unique customer ID or unique key sent by the merchant
Unique customer ID or unique key sent by the merchant
Parameter
Type
Description
Example
mchtCustId
AN(50)
AES-256
Unique customer ID or unique key sent by the merchant
HongGilDong
└custAcntSumryAHN(50)Alphanumeric + Korean, up to 50 bytesBank statement description. Name displayed on the customer's bank statement. If empty, the merchant's Korean name is used.
Bank statement description. Name displayed on the customer's bank statement. If empty, the merchant's Korean name is used.
Parameter
Type
Description
Example
custAcntSumry
AHN(50)
Bank statement description. Name displayed on the customer's bank statement. If empty, the merchant's Korean name is used.
MerchantName_HongGilDong
└expireDtN(14)Numeric, up to 14 bytesDeposit expiration date and time (yyyyMMddHHmmss)
Deposit expiration date and time (yyyyMMddHHmmss)
*Minimum: 1 hour from the current time. Maximum: 365 days from the current date. If not set, defaults to 10 days from the transaction date.
Parameter
Type
Description
Example
expireDt
N(14)
Deposit expiration date and time (yyyyMMddHHmmss)
* Minimum: 1 hour from the current time. Maximum: 365 days from the current date. If not set, defaults to 10 days from the transaction date.
20271231235959
└cphoneNoN(11)Numeric, up to 11 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Mobile phone number (hyphens removed)
Mobile phone number (hyphens removed)
Parameter
Type
Description
Example
cphoneNo
N(11)
AES-256
Mobile phone number (hyphens removed)
01012345678
└taxTypeCdA(1)Alphabetic, up to 1 bytesTax exemption status. If empty, follows merchant settings.
Tax exemption status. If empty, follows merchant settings.
N: Taxable Y: Tax-exempt G: Mixed taxation
Parameter
Type
Description
Example
taxTypeCd
A(1)
Tax exemption status. If empty, follows merchant settings.
N: Taxable / Y: Tax-exempt / G: Mixed taxation
N
└taxAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Taxable amount (required for mixed taxation)
Taxable amount (required for mixed taxation)
Parameter
Type
Description
Example
taxAmt
N(12)
AES-256
Taxable amount (required for mixed taxation)
909
└vatAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64VAT amount (required for mixed taxation)
VAT amount (required for mixed taxation)
Parameter
Type
Description
Example
vatAmt
N(12)
AES-256
VAT amount (required for mixed taxation)
91
└taxFreeAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Tax-free amount (required for mixed taxation)
Tax-free amount (required for mixed taxation)
Parameter
Type
Description
Example
taxFreeAmt
N(12)
AES-256
Tax-free amount (required for mixed taxation)
0
└custIpAN(15)Alphanumeric, up to 15 bytesCustomer IP address. This should be the customer device's IP, not the merchant server's IP. Must be in IPv4 format (IPv6 not supported).
Customer IP address. This should be the customer device's IP, not the merchant server's IP. Must be in IPv4 format (IPv6 not supported).
Parameter
Type
Description
Example
custIp
AN(15)
Customer IP address. This should be the customer device's IP, not the merchant server's IP. Must be in IPv4 format (IPv6 not supported).
127.0.0.1

Response Parameters

Upon successful virtual account issuance, the customer is redirected to nextUrl with the response parameters listed below. If the customer exits the checkout without completing the flow, they are redirected to cancUrl without these parameters. The deposit confirmation is delivered separately via webhook (notiUrl) once the customer makes a deposit.

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 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
└outStatCdAN(4)Alphanumeric, up to 4 bytes*Transaction status code (success/failure)0051
Transaction status code (success/failure)
0051: Issuance success (awaiting deposit) 0031: Failure
Parameter
Type
Description
Example
outStatCdRequired
AN(4)
Transaction status code (success/failure)
0051: Issuance success (awaiting deposit) / 0031: Failure
0051
└outRsltCdAN(4)Alphanumeric, up to 4 bytes*Decline code. If the transaction status is '0031', a detailed code is provided.0000
Decline code. If the transaction status is '0031', a detailed code is provided.
*Refer to the decline code table
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Decline code. If the transaction status is '0031', a detailed code is provided.
* Refer to the decline code table
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.
└methodAN(20)Alphanumeric, up to 20 bytes*Payment type code for the PG servicevbank
Payment type code for the PG service
*Fixed value
Parameter
Type
Description
Example
methodRequired
AN(20)
Payment type code for the PG service
* Fixed value
vbank
└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*Hecto Financial transaction numberSTFP_PGVBnxvb_jt_il0211129135810M1494620
Hecto Financial transaction number
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Hecto Financial transaction number
STFP_PGVBnxvb_jt_il0211129135810M1494620
└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
└vtlAcntNoN(30)Numeric, up to 30 bytesAES-256AES-256/ECB/PKCS5PaddingIssued virtual account number1234567890123456
Issued virtual account number
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
vtlAcntNo
N(30)
AES-256
Issued virtual account number
* Certain response fields are AES-256 encrypted. Decrypt them before use.
1234567890123456
└fnNmAH(50)Alpha + Korean, up to 50 bytesVirtual account bank nameKB Kookmin Bank
Virtual account bank name
Parameter
Type
Description
Example
fnNm
AH(50)
Virtual account bank name
KB Kookmin Bank
└fnCdN(4)Numeric, up to 4 bytesVirtual account bank code004
Virtual account bank code
Parameter
Type
Description
Example
fnCd
N(4)
Virtual account bank code
004
└expireDtN(14)Numeric, up to 14 bytesVirtual account deposit deadline (yyyyMMddHHmmss)20271231235959
Virtual account deposit deadline (yyyyMMddHHmmss)
Parameter
Type
Description
Example
expireDt
N(14)
Virtual account deposit deadline (yyyyMMddHHmmss)
20271231235959
└mchtCustIdAN(50)Alphanumeric, up to 50 bytesAES-256AES-256/ECB/PKCS5PaddingMerchant customer IDHongGilDong
Merchant customer ID
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
mchtCustId
AN(50)
AES-256
Merchant customer ID
* Certain response fields are AES-256 encrypted. Decrypt them before use.
HongGilDong
└authDtN(14)Numeric, up to 14 bytesApproval date and time (virtual account order/issuance date and time)20211231100000
Approval date and time (virtual account order/issuance date and time)
Parameter
Type
Description
Example
authDt
N(14)
Approval date and time (virtual account order/issuance date and time)
20211231100000
└reqIssueDtN(14)Numeric, up to 14 bytesIssuance request date and time (for 010 virtual accounts)20211231100000
Issuance request date and time (for 010 virtual accounts)
Parameter
Type
Description
Example
reqIssueDt
N(14)
Issuance request date and time (for 010 virtual accounts)
20211231100000
└mchtParamAHN(4000)Alphanumeric + Korean, up to 4000 bytesThe value sent in the request is returned unchanged in the response (pass-through field)name=HongGilDong&age=25
The value sent in the request is returned unchanged in the response (pass-through field)
Parameter
Type
Description
Example
mchtParam
AHN(4000)
The value sent in the request is returned unchanged in the response (pass-through field)
name=HongGilDong&age=25

Webhook (Deposit Notification)

For virtual accounts, two webhooks are sent: an Issuance Webhook and a Deposit Webhook.

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