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

Fixed/Unlimited Virtual Account API

The Fixed-type Recurring (acntType=3) method allows continuous reuse of a single issued virtual account number to accept repeated deposits. Unlike the Rotating-type which issues a new number for each transaction, this method uses a pre-assigned account number dedicated to a specific customer.

Test Key Information

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

Important Notes

Prior Consultation Required

The Fixed-type Recurring method is only available to merchants who have completed prior consultation with Hecto Financial. The merchant ID and virtual account number list must be issued separately.
NOTE

Cash Receipt Separate Call Required

For the Fixed-type Recurring method, the cash receipt API must be called separately. View Cash Receipt Issuance API

Webhook-Related Notes

At the time of issuance, the issuance complete webhook (outStatCd: 0051) is not sent; issuance success is confirmed only via the API response. The deposit complete webhook (bizType: B1) is sent normally, but the webhook URL must be requested through your sales representative and registered in the merchant configuration. See webhook URL rules
  • The transaction amount (trdAmt) must always be set to 0.
  • vAcntNo (virtual account number) is selected from the pre-issued list.
  • The deposit expiration date (expireDate) can be set to unlimited. However, issuance cancellation is only possible within 1 year of the issuance date.
  • 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
nxva_fix2: Fixed-type Recurring exclusive
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nxva_fix2: Fixed-type Recurring exclusive
nxva_fix2
└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(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

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. In the sandbox environment, only 004 (KB Kookmin Bank) and 011 (NH NongHyup Bank) are available.
Parameter
Type
Description
Example
bankCdRequired
AN(3)
Virtual account bank code
* Refer to the Virtual Account Bank Code List. In the sandbox environment, only 004 (KB Kookmin Bank) and 011 (NH NongHyup Bank) are available.
011
└acntTypeN(1)Numeric, up to 1 bytes*Account type
Account type
3: Fixed-type Recurring (pre-assigned account for repeated use)
Parameter
Type
Description
Example
acntTypeRequired
N(1)
Account type
3: Fixed-type Recurring (pre-assigned account for repeated use)
3
└vAcntNoN(16)Numeric, up to 16 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Virtual account number (Fixed-type Recurring exclusive)
Virtual account number (Fixed-type Recurring exclusive)
*Send the pre-issued fixed virtual account number AES-encrypted. Refer to the sandbox virtual account list.
Parameter
Type
Description
Example
vAcntNoRequired
N(16)
AES-256
Virtual account number (Fixed-type Recurring exclusive)
* Send the pre-issued fixed virtual account number AES-encrypted. Refer to the sandbox virtual account list.
-
└expireDateN(14)Numeric, up to 14 bytesDeposit expiration date and time (YYYYMMDDhhmmss)
Deposit expiration date and time (YYYYMMDDhhmmss)
*If not set, automatically configured to 10 days after the transaction date. Can be set to unlimited, but issuance cancellation is only possible within 1 year of the issuance date.
Parameter
Type
Description
Example
expireDate
N(14)
Deposit expiration date and time (YYYYMMDDhhmmss)
* If not set, automatically configured to 10 days after the transaction date. Can be set to unlimited, but issuance cancellation is only possible within 1 year of the issuance date.
20271231235959
└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
└ordNmAHN(30)Alphanumeric + Korean, up to 30 bytesOrderer name
Orderer name
Parameter
Type
Description
Example
ordNm
AHN(30)
Orderer name
Hong Gil-dong
└trdAmtN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Transaction amount
Transaction amount
*Fixed-type Recurring (acntType=3) must always be set to 0
Parameter
Type
Description
Example
trdAmtRequired
N(12)
AES-256
Transaction amount
* Fixed-type Recurring (acntType=3) must always be set to 0
0
└dpstrNmAHN(50)Alphanumeric + Korean, up to 50 bytesBank statement description
Bank statement description
*If empty, sellerNm (seller name) is used as the bank statement description.
Parameter
Type
Description
Example
dpstrNm
AHN(50)
Bank statement description
* If empty, sellerNm (seller name) is used as the bank statement description.
MerchantName_HongGilDong
└mchtCustIdAN(50)Alphanumeric, up to 50 bytesUnique 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)
Unique customer ID or unique key sent by the merchant
HongGilDong

Sandbox Fixed-type Recurring Virtual Account List

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

Merchant ID (mchtId)Bank Code (bankCd)Virtual Account Number (vAcntNo)
nxva_fix2004 (KB Kookmin Bank)2022004000056 ~ 2022004000100
nxva_fix2011 (NH NongHyup Bank)2022011000056 ~ 2022011000100

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 transaction number generated by the merchantORDER20211231100000
Unique transaction number generated by the merchant
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique transaction number generated by the merchant
ORDER20211231100000
└trdNoAN(40)Alphanumeric, up to 40 bytes*Unique transaction number generated by Hecto FinancialSTFP_PGVAnx_mid_il00210806075210M1853381
Unique transaction number generated by Hecto Financial
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Unique transaction number generated 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
└bankCdAN(3)Alphanumeric, up to 3 bytes*Virtual account bank code011
Virtual account bank code
Parameter
Type
Description
Example
bankCdRequired
AN(3)
Virtual account bank code
011
└vAcntNoN(16)Numeric, up to 16 bytes*AES-256AES-256/ECB/PKCS5PaddingIssued virtual account number0123456789
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.
0123456789
└expireDateN(14)Numeric, up to 14 bytes*Deposit expiration date and time (YYYYMMDDhhmmss)20271231235959
Deposit expiration date and time (YYYYMMDDhhmmss)
Parameter
Type
Description
Example
expireDateRequired
N(14)
Deposit expiration date and time (YYYYMMDDhhmmss)
20271231235959
└trdAmtN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5PaddingTransaction amount0
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.
0
└acntTypeN(1)Numeric, up to 1 bytes*Account type (returned as-is from the request)3
Account type (returned as-is from the request)
3: Fixed-type Recurring
Parameter
Type
Description
Example
acntTypeRequired
N(1)
Account type (returned as-is from the request)
3: Fixed-type Recurring
3
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test