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

010 Virtual Account Issuance API

An API for issuing a 010 virtual account number after completing phone ownership verification.


Test Key Information

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

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

Important Notes

Required Checks Before Issuance

Phone ownership verification (S1, S2) must be completed before calling the issuance API. The same mchtTrdNo used in the verification request must be used.
  • The issued virtual account is a Kbank (089) account.
  • B2C: The bank statement name is fixed as "010가상계좌".
  • B2B: The bank statement name follows the format "010_CustomerName".
  • For B2B use, the virtual account number follows the format: phone number + 3 digits.

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
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nxva_sb_il
└verAN(4)Alphanumeric, up to 4 bytes*Message version
Message version
Parameter
Type
Description
Example
verRequired
AN(4)
Message version
0A18
└methodA(2)Alphabetic, up to 2 bytes*Payment method
Payment method
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method
VA
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type code
Business type code
*A4: 010 Virtual Account Issuance
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type code
* A4: 010 Virtual Account Issuance
A4
└encCdN(2)Numeric, up to 2 bytes*Encryption type code
Encryption type code
Parameter
Type
Description
Example
encCdRequired
N(2)
Encryption type code
23
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Merchant order number (must be identical to the one used during phone ownership verification)
Merchant order number (must be identical to the one used during phone ownership verification)
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Merchant order number (must be identical to the one used during phone ownership verification)
ORDER20211231100000
└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 (HHmmss)
Request time (HHmmss)
Parameter
Type
Description
Example
trdTmRequired
N(6)
Request time (HHmmss)
120000
└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
*Request date + request time + merchant ID + merchant order number + transaction amount (plaintext) + hash key
Parameter
Type
Description
Example
pktHashRequired
AN(64)
SHA-256
Hash value generated using SHA256
* Request date + request time + merchant ID + merchant order number + transaction amount (plaintext) + hash key
-
└bankCdAN(3)Alphanumeric, up to 3 bytes*Virtual account bank code
Virtual account bank code
*Fixed to Kbank
Parameter
Type
Description
Example
bankCdRequired
AN(3)
Virtual account bank code
* Fixed to Kbank
089
└vAcntNoN(14)Numeric, up to 14 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Virtual account number to be issued (phone number). For B2B, append 3 digits to the phone number.
Virtual account number to be issued (phone number). For B2B, append 3 digits to the phone number.
Parameter
Type
Description
Example
vAcntNoRequired
N(14)
AES-256
Virtual account number to be issued (phone number). For B2B, append 3 digits to the phone number.
01012345678
└expireDateN(14)Numeric, up to 14 bytes*Deposit expiry datetime (yyyyMMddHHmmss)
Deposit expiry datetime (yyyyMMddHHmmss)
*B2C: current date + max 27 days, B2B: current date + max 3 years. Defaults to +10 days if blank.
Parameter
Type
Description
Example
expireDateRequired
N(14)
Deposit expiry datetime (yyyyMMddHHmmss)
* B2C: current date + max 27 days, B2B: current date + max 3 years. Defaults to +10 days if blank.
20211231235959
└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 bytesSeller name
Seller name
Parameter
Type
Description
Example
sellerNm
AHN(128)
Seller name
Hecto Financial
└ordNmAHN(30)Alphanumeric + Korean, up to 30 bytes*Orderer name
Orderer name
Parameter
Type
Description
Example
ordNmRequired
AHN(30)
Orderer name
Hong Gil-dong
└trdAmtN(9)Numeric, up to 9 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Transaction amount
Transaction amount
*B2C: actual transaction price, B2B: 1 KRW or more (unrelated to actual deposit webhook amount)
Parameter
Type
Description
Example
trdAmtRequired
N(9)
AES-256
Transaction amount
* B2C: actual transaction price, B2B: 1 KRW or more (unrelated to actual deposit webhook amount)
1000
└dpstrNmAHN(50)Alphanumeric + Korean, up to 50 bytesAccount holder name
Account holder name
*B2C: not used (fixed value), B2B: must send the value from the phone ownership verification response
Parameter
Type
Description
Example
dpstrNm
AHN(50)
Account holder name
* B2C: not used (fixed value), B2B: must send the value from the phone ownership verification response
010가상계좌
└taxTypeCdA(1)Alphabetic, up to 1 bytes*Tax exemption status. Follows merchant settings if blank.
Tax exemption status. Follows merchant settings if blank.
N: Taxable Y: Tax-exempt G: Mixed tax
Parameter
Type
Description
Example
taxTypeCdRequired
A(1)
Tax exemption status. Follows merchant settings if blank.
N: Taxable / Y: Tax-exempt / G: Mixed tax
N
└taxAmtN(9)Numeric, up to 9 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Taxable amount (required for mixed tax)
Taxable amount (required for mixed tax)
Parameter
Type
Description
Example
taxAmt
N(9)
AES-256
Taxable amount (required for mixed tax)
909
└vatAmtN(9)Numeric, up to 9 bytesAES-256AES-256/ECB/PKCS5Padding + Base64VAT amount (required for mixed tax)
VAT amount (required for mixed tax)
Parameter
Type
Description
Example
vatAmt
N(9)
AES-256
VAT amount (required for mixed tax)
91
└taxFreeAmtN(9)Numeric, up to 9 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Tax-free amount (required for mixed tax)
Tax-free amount (required for mixed tax)
Parameter
Type
Description
Example
taxFreeAmt
N(9)
AES-256
Tax-free amount (required for mixed tax)
0
└escrAgrYnA(1)Alphabetic, up to 1 bytes*Escrow usage
Escrow usage
Y: Agree N: Disagree
Parameter
Type
Description
Example
escrAgrYnRequired
A(1)
Escrow usage
Y: Agree / N: Disagree
N
└escrPwdAN(64)Alphanumeric, up to 64 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Escrow password (required when using escrow)
Escrow password (required when using escrow)
Parameter
Type
Description
Example
escrPwd
AN(64)
AES-256
Escrow password (required when using escrow)
1234
└rfdDpstrNmAHN(50)Alphanumeric + Korean, up to 50 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Account holder name for escrow refund (required when using escrow)
Account holder name for escrow refund (required when using escrow)
Parameter
Type
Description
Example
rfdDpstrNm
AHN(50)
AES-256
Account holder name for escrow refund (required when using escrow)
Hong Gil-dong
└csrcIssReqYnA(1)Alphabetic, up to 1 bytes*Cash receipt issuance
Cash receipt issuance
Y: Issue N: Do not issue
Parameter
Type
Description
Example
csrcIssReqYnRequired
A(1)
Cash receipt issuance
Y: Issue / N: Do not issue
N
└cashRcptPrposDivCdN(1)Numeric, up to 1 bytesCash receipt purpose code (required when using cash receipt)
Cash receipt purpose code (required when using cash receipt)
0: Income deduction 1: Expenditure proof
Parameter
Type
Description
Example
cashRcptPrposDivCd
N(1)
Cash receipt purpose code (required when using cash receipt)
0: Income deduction / 1: Expenditure proof
0
└csrcRegNoDivCdN(1)Numeric, up to 1 bytesCash receipt registration number type code (required when using cash receipt)
Cash receipt registration number type code (required when using cash receipt)
1: Card 2: Resident registration number 3: Business registration number 4: Phone number
Parameter
Type
Description
Example
csrcRegNoDivCd
N(1)
Cash receipt registration number type code (required when using cash receipt)
1: Card / 2: Resident registration number / 3: Business registration number / 4: Phone number
4
└csrcRegNoAN(64)Alphanumeric, up to 64 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Cash receipt unique identification information (required when using cash receipt)
Cash receipt unique identification information (required when using cash receipt)
Parameter
Type
Description
Example
csrcRegNo
AN(64)
AES-256
Cash receipt unique identification information (required when using cash receipt)
1234567890
└emailAN(60)Alphanumeric, up to 60 bytesUser email (required when using escrow)
User email (required when using escrow)
Parameter
Type
Description
Example
email
AN(60)
User email (required when using escrow)
HongGilDong@example.com
└notiUrlAN(250)Alphanumeric, up to 250 bytes*URL of the page where the result is delivered after payment (Server-to-Server integration URL)
URL of the page where the result is delivered after payment (Server-to-Server integration URL)
Parameter
Type
Description
Example
notiUrlRequired
AN(250)
URL of the page where the result is delivered after payment (Server-to-Server integration URL)
https://example.com/notiUrl
└mchtParamAHN(4000)Alphanumeric + Korean, up to 4000 bytesMerchant reserved field (bypassed as-is in response)
Merchant reserved field (bypassed as-is in response)
Parameter
Type
Description
Example
mchtParam
AHN(4000)
Merchant reserved field (bypassed as-is in response)
name=HongGilDong&age=25
└mchtCustIdAN(50)Alphanumeric, up to 50 bytes*Merchant customer ID
Merchant customer ID
Parameter
Type
Description
Example
mchtCustIdRequired
AN(50)
Merchant customer ID
HongGilDong

Response Parameters

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

params Object

└mchtIdAN(10)Alphanumeric, up to 10 bytes*Merchant IDnxva_sb_il
Merchant ID
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Merchant ID
nxva_sb_il
└verAN(4)Alphanumeric, up to 4 bytes*Message version0A18
Message version
Parameter
Type
Description
Example
verRequired
AN(4)
Message version
0A18
└methodA(2)Alphabetic, up to 2 bytes*Payment methodVA
Payment method
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method
VA
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type codeA4
Business type code
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type code
A4
└encCdN(2)Numeric, up to 2 bytes*Encryption type code23
Encryption type code
Parameter
Type
Description
Example
encCdRequired
N(2)
Encryption type code
23
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Merchant order numberORDER20211231100000
Merchant order number
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Merchant order number
ORDER20211231100000
└trdNoAN(40)Alphanumeric, up to 40 bytes*Hecto Financial transaction numberSTBK_0123456789
Hecto Financial transaction number
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Hecto Financial transaction number
STBK_0123456789
└trdDtN(8)Numeric, up to 8 bytes*Request date20211231
Request date
Parameter
Type
Description
Example
trdDtRequired
N(8)
Request date
20211231
└trdTmN(6)Numeric, up to 6 bytes*Request time120000
Request time
Parameter
Type
Description
Example
trdTmRequired
N(6)
Request time
120000
└outStatCdAN(4)Alphanumeric, up to 4 bytes*Transaction status code0021
Transaction status code
0021: Success 0031: Failure
Parameter
Type
Description
Example
outStatCdRequired
AN(4)
Transaction status code
0021: Success / 0031: Failure
0021
└outRsltCdAN(4)Alphanumeric, up to 4 bytes*Result code (0000 indicates success)0000
Result code (0000 indicates success)
*VA03: For B2B use, an already-issued virtual account number exists
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Result code (0000 indicates success)
* VA03: For B2B use, an already-issued virtual account number exists
0000
└outRsltMsgAHN(200)Alphanumeric + Korean, up to 200 bytes*Result messageProcessed successfully.
Result message
Parameter
Type
Description
Example
outRsltMsgRequired
AHN(200)
Result message
Processed successfully.

data Object

└pktHashAN(64)Alphanumeric, up to 64 bytes*Response hash value75ac014c33165f3ee0c331123a0049f37a6e1578f8cec1d3d0374ffb75f18496
Response hash value
Parameter
Type
Description
Example
pktHashRequired
AN(64)
Response hash value
75ac014c33165f3ee0c331123a0049f37a6e1578f8cec1d3d0374ffb75f18496
└bankCdAN(3)Alphanumeric, up to 3 bytes*Virtual account bank code089
Virtual account bank code
Parameter
Type
Description
Example
bankCdRequired
AN(3)
Virtual account bank code
089
└vAcntNoN(14)Numeric, up to 14 bytes*AES-256AES-256/ECB/PKCS5PaddingIssued virtual account number01012345678
Issued virtual account number
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
vAcntNoRequired
N(14)
AES-256
Issued virtual account number
* Certain response fields are AES-256 encrypted. Decrypt them before use.
01012345678
└expireDateN(14)Numeric, up to 14 bytes*Deposit expiry datetime (yyyyMMddHHmmss)20211231235959
Deposit expiry datetime (yyyyMMddHHmmss)
Parameter
Type
Description
Example
expireDateRequired
N(14)
Deposit expiry datetime (yyyyMMddHHmmss)
20211231235959
└prdtNmAHN(128)Alphanumeric + Korean, up to 128 bytes*Product nameTest Product
Product name
Parameter
Type
Description
Example
prdtNmRequired
AHN(128)
Product name
Test Product
└sellerNmAHN(128)Alphanumeric + Korean, up to 128 bytesSeller nameHecto Financial
Seller name
Parameter
Type
Description
Example
sellerNm
AHN(128)
Seller name
Hecto Financial
└ordNmAHN(30)Alphanumeric + Korean, up to 30 bytes*Orderer nameHong Gil-dong
Orderer name
Parameter
Type
Description
Example
ordNmRequired
AHN(30)
Orderer name
Hong Gil-dong
└trdAmtN(9)Numeric, up to 9 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(9)
AES-256
Transaction amount
* Certain response fields are AES-256 encrypted. Decrypt them before use.
1000
└dpstrNmAHN(50)Alphanumeric + Korean, up to 50 bytes*Account holder name010가상계좌
Account holder name
Parameter
Type
Description
Example
dpstrNmRequired
AHN(50)
Account holder name
010가상계좌
└mchtCustNmAHN(30)Alphanumeric + Korean, up to 30 bytesMerchant customer nameHong Gil-dong
Merchant customer name
*Merchant customer name sent in the phone authentication confirmation (S2) request
Parameter
Type
Description
Example
mchtCustNm
AHN(30)
Merchant customer name
* Merchant customer name sent in the phone authentication confirmation (S2) request
Hong Gil-dong
└taxTypeCdA(1)Alphabetic, up to 1 bytesTax exemption statusN
Tax exemption status
N: Taxable Y: Tax-exempt G: Mixed tax
Parameter
Type
Description
Example
taxTypeCd
A(1)
Tax exemption status
N: Taxable / Y: Tax-exempt / G: Mixed tax
N
└taxAmtN(9)Numeric, up to 9 bytesAES-256AES-256/ECB/PKCS5PaddingTaxable amount (returned for mixed tax)909
Taxable amount (returned for mixed tax)
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
taxAmt
N(9)
AES-256
Taxable amount (returned for mixed tax)
* Certain response fields are AES-256 encrypted. Decrypt them before use.
909
└vatAmtN(9)Numeric, up to 9 bytesAES-256AES-256/ECB/PKCS5PaddingVAT amount (returned for mixed tax)91
VAT amount (returned for mixed tax)
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
vatAmt
N(9)
AES-256
VAT amount (returned for mixed tax)
* Certain response fields are AES-256 encrypted. Decrypt them before use.
91
└taxFreeAmtN(9)Numeric, up to 9 bytesAES-256AES-256/ECB/PKCS5PaddingTax-free amount (returned for mixed tax)0
Tax-free amount (returned for mixed tax)
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
taxFreeAmt
N(9)
AES-256
Tax-free amount (returned for mixed tax)
* Certain response fields are AES-256 encrypted. Decrypt them before use.
0
└escrAgrYnA(1)Alphabetic, up to 1 bytesEscrow usageN
Escrow usage
Y: Agree N: Disagree
Parameter
Type
Description
Example
escrAgrYn
A(1)
Escrow usage
Y: Agree / N: Disagree
N
└escrPwdAN(64)Alphanumeric, up to 64 bytesAES-256AES-256/ECB/PKCS5PaddingEscrow password (returned when using escrow)1234
Escrow password (returned when using escrow)
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
escrPwd
AN(64)
AES-256
Escrow password (returned when using escrow)
* Certain response fields are AES-256 encrypted. Decrypt them before use.
1234
└rfdDpstrNmAHN(50)Alphanumeric + Korean, up to 50 bytesAES-256AES-256/ECB/PKCS5PaddingAccount holder name for escrow refund (returned when using escrow)Hong Gil-dong
Account holder name for escrow refund (returned when using escrow)
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
rfdDpstrNm
AHN(50)
AES-256
Account holder name for escrow refund (returned when using escrow)
* Certain response fields are AES-256 encrypted. Decrypt them before use.
Hong Gil-dong
└csrcIssReqYnA(1)Alphabetic, up to 1 bytesCash receipt issuanceN
Cash receipt issuance
Y: Issue N: Do not issue
Parameter
Type
Description
Example
csrcIssReqYn
A(1)
Cash receipt issuance
Y: Issue / N: Do not issue
N
└cashRcptPrposDivCdN(1)Numeric, up to 1 bytesCash receipt purpose code0
Cash receipt purpose code
0: Income deduction 1: Expenditure proof
Parameter
Type
Description
Example
cashRcptPrposDivCd
N(1)
Cash receipt purpose code
0: Income deduction / 1: Expenditure proof
0
└csrcRegNoDivCdN(1)Numeric, up to 1 bytesCash receipt registration number type code4
Cash receipt registration number type code
1: Card 2: Resident registration number 3: Business registration number 4: Phone number
Parameter
Type
Description
Example
csrcRegNoDivCd
N(1)
Cash receipt registration number type code
1: Card / 2: Resident registration number / 3: Business registration number / 4: Phone number
4
└csrcRegNoAN(64)Alphanumeric, up to 64 bytesAES-256AES-256/ECB/PKCS5PaddingCash receipt unique identification information1234567890
Cash receipt unique identification information
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
csrcRegNo
AN(64)
AES-256
Cash receipt unique identification information
* Certain response fields are AES-256 encrypted. Decrypt them before use.
1234567890
└emailAN(60)Alphanumeric, up to 60 bytesUser email (returned when using escrow)HongGilDong@example.com
User email (returned when using escrow)
Parameter
Type
Description
Example
email
AN(60)
User email (returned when using escrow)
HongGilDong@example.com
└mchtCustIdAN(50)Alphanumeric, up to 50 bytes*Merchant customer IDHongGilDong
Merchant customer ID
Parameter
Type
Description
Example
mchtCustIdRequired
AN(50)
Merchant customer ID
HongGilDong

Request Example

{
  "params": {
    "mchtId": "nxva_sb_il",
    "ver": "0A18",
    "method": "VA",
    "bizType": "A4",
    "encCd": "23",
    "mchtTrdNo": "ORDER20211231100000",
    "trdDt": "20211231",
    "trdTm": "120000",
    "mobileYn": "N",
    "osType": "W"
  },
  "data": {
    "pktHash": "hash value",
    "bankCd": "089",
    "vAcntNo": "AES-encrypted phone number",
    "expireDate": "20211231235959",
    "prdtNm": "Test Product",
    "sellerNm": "Hecto Financial",
    "ordNm": "Hong Gil-dong",
    "trdAmt": "AES-encrypted amount",
    "dpstrNm": "010가상계좌",
    "taxTypeCd": "N",
    "escrAgrYn": "N",
    "csrcIssReqYn": "N",
    "mchtCustId": "HongGilDong"
  }
}

Response Example

{
  "params": {
    "mchtId": "nxva_sb_il",
    "ver": "0A18",
    "method": "VA",
    "bizType": "A4",
    "encCd": "23",
    "mchtTrdNo": "ORDER20211231100000",
    "trdNo": "STBK_0123456789",
    "trdDt": "20211231",
    "trdTm": "120000",
    "outStatCd": "0021",
    "outRsltCd": "0000",
    "outRsltMsg": "Processed successfully."
  },
  "data": {
    "pktHash": "response hash value",
    "bankCd": "089",
    "vAcntNo": "AES-encrypted virtual account number",
    "expireDate": "20211231235959",
    "prdtNm": "Test Product",
    "ordNm": "Hong Gil-dong",
    "trdAmt": "AES-encrypted amount",
    "dpstrNm": "010가상계좌",
    "mchtCustId": "HongGilDong"
  }
}
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test