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

Charge with Billkey API

An API for making payments using a billkey received from the credit card payment API or the card registration (billkey issuance) checkout.

Test Key Information

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

Important Notes

NOTE

Billkey Service Activation

The Billkey (tokenized recurring payment) service requires separate service activation. Contact your account manager.
  • Use the billkey issued during the initial charge to process subsequent charges.
  • Billkey payment is processed via server-to-server communication without any UI.

API Information

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

Request Parameters

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

params Object

└mchtIdAN(12)Alphanumeric, up to 12 bytes*Unique merchant ID assigned by Hecto Financial
Unique merchant ID assigned by Hecto Financial
nxca_ks_gu: legacy-authenticated nxca_jt_bi: non-authenticated
Parameter
Type
Description
Example
mchtIdRequired
AN(12)
Unique merchant ID assigned by Hecto Financial
nxca_ks_gu: legacy-authenticated / nxca_jt_bi: non-authenticated
nxca_jt_bi
└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
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method
* Fixed value
CA
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type code
Business type code
*Fixed value
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type code
* Fixed value
B0
└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 transmitted (YYYYMMDD)
Date the message is transmitted (YYYYMMDD)
Parameter
Type
Description
Example
trdDtRequired
N(8)
Date the message is transmitted (YYYYMMDD)
20211231
└trdTmN(6)Numeric, up to 6 bytes*Time the message is transmitted (HHMMSS)
Time the message is transmitted (HHMMSS)
Parameter
Type
Description
Example
trdTmRequired
N(6)
Time the message is transmitted (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
└pmtprdNmAHN(128)Alphanumeric + Korean, up to 128 bytes*Product name for payment
Product name for payment
Parameter
Type
Description
Example
pmtprdNmRequired
AHN(128)
Product name for payment
Test Product
└mchtCustNmAHN(30)Alphanumeric + Korean, up to 30 bytes*Merchant customer name
Merchant customer name
Parameter
Type
Description
Example
mchtCustNmRequired
AHN(30)
Merchant customer name
Hong Gil-dong
└mchtCustIdAHN(50)Alphanumeric + Korean, up to 50 bytes*Merchant customer ID
Merchant customer ID
Parameter
Type
Description
Example
mchtCustIdRequired
AHN(50)
Merchant customer ID
HongGilDong
└emailAN(60)Alphanumeric, up to 60 bytesMerchant customer email address
Merchant customer email address
Parameter
Type
Description
Example
email
AN(60)
Merchant customer email address
HongGilDong@example.com
└billKeyAN(50)Alphanumeric, up to 50 bytes*Billkey issued during the initial charge
Billkey issued during the initial charge
Parameter
Type
Description
Example
billKeyRequired
AN(50)
Billkey issued during the initial charge
SBILL_0123456789
└instmtMonN(2)Numeric, up to 2 bytes*Installment months (2 digits)
Installment months (2 digits)
00: Full payment 02~12: Corresponding number of months
Parameter
Type
Description
Example
instmtMonRequired
N(2)
Installment months (2 digits)
00: Full payment / 02~12: Corresponding number of months
00
└crcCdA(3)Alphabetic, up to 3 bytes*Currency type
Currency type
KRW: Domestic payment USD: International payment
Parameter
Type
Description
Example
crcCdRequired
A(3)
Currency type
KRW: Domestic payment / USD: International payment
KRW
└taxTypeCdA(1)Alphabetic, up to 1 bytesTax type. If blank, follows merchant configuration
Tax type. If blank, follows merchant configuration
N: Taxable Y: Tax-exempt G: Mixed taxation
Parameter
Type
Description
Example
taxTypeCd
A(1)
Tax type. If blank, follows merchant configuration
N: Taxable / Y: Tax-exempt / G: Mixed taxation
N
└trdAmtN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Transaction amount
Transaction amount
*Domestic payment: 1000, International payment: 150 (ex [$1.50] => integer representation [150])
Parameter
Type
Description
Example
trdAmtRequired
N(12)
AES-256
Transaction amount
* Domestic payment: 1000, International payment: 150 (ex [$1.50] => integer representation [150])
1000
└taxAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Taxable amount within the transaction amount (required for mixed taxation)
Taxable amount within the transaction amount (required for mixed taxation)
Parameter
Type
Description
Example
taxAmt
N(12)
AES-256
Taxable amount within the transaction amount (required for mixed taxation)
909
└vatAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64VAT amount within the transaction amount (required for mixed taxation)
VAT amount within the transaction amount (required for mixed taxation)
Parameter
Type
Description
Example
vatAmt
N(12)
AES-256
VAT amount within the transaction amount (required for mixed taxation)
91
└taxFreeAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Tax-free amount within the transaction amount (required for mixed taxation)
Tax-free amount within the transaction amount (required for mixed taxation)
Parameter
Type
Description
Example
taxFreeAmt
N(12)
AES-256
Tax-free amount within the transaction amount (required for mixed taxation)
0
└svcAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Credit card service charge
Credit card service charge
Parameter
Type
Description
Example
svcAmt
N(12)
AES-256
Credit card service charge
0
└notiUrlAN(250)Alphanumeric, up to 250 bytes*Webhook URL to receive the payment result sent from Hecto Financial to your server after payment completion
Webhook URL to receive the payment result sent from Hecto Financial to your server after payment completion
Parameter
Type
Description
Example
notiUrlRequired
AN(250)
Webhook URL to receive the payment result sent from Hecto Financial to your server after payment completion
https://example.com/notiUrl
└mchtParamAHN(4000)Alphanumeric + Korean, up to 4000 bytesMerchant reserved field for entering additional order information
Merchant reserved field for entering additional order information
Parameter
Type
Description
Example
mchtParam
AHN(4000)
Merchant reserved field for entering additional order information
name=HongGilDong&age=25

Response Parameters

params Object

└mchtIdAN(12)Alphanumeric, up to 12 bytes*Unique merchant ID assigned by Hecto Financialnxca_jt_bi
Unique merchant ID assigned by Hecto Financial
Parameter
Type
Description
Example
mchtIdRequired
AN(12)
Unique merchant ID assigned by Hecto Financial
nxca_jt_bi
└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 methodCA
Payment method
*Fixed value
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method
* Fixed value
CA
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type codeB0
Business type code
*Fixed value
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type code
* Fixed value
B0
└encCdN(2)Numeric, up to 2 bytes*Encryption type code23
Encryption type code
*Fixed value
Parameter
Type
Description
Example
encCdRequired
N(2)
Encryption type code
* Fixed value
23
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Unique order number generated by the merchantORDER20211231100000
Unique order number generated by the merchant
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique order number generated by the merchant
ORDER20211231100000
└trdNoAN(40)Alphanumeric, up to 40 bytes*Unique transaction number issued by Hecto FinancialSTFP_PGCAnxca_jt_il0211129135810M1494620
Unique transaction number issued by Hecto Financial
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Unique transaction number issued by Hecto Financial
STFP_PGCAnxca_jt_il0211129135810M1494620
└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: Success 0031: Failure
Parameter
Type
Description
Example
outStatCdRequired
AN(4)
Transaction status code (success/failure)
0021: Success / 0031: Failure
0021
└outRsltCdAN(4)Alphanumeric, up to 4 bytes*Decline code. Detailed code provided when transaction status is '0031'0000
Decline code. Detailed code provided when transaction status is '0031'
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Decline code. Detailed code provided when transaction status is '0031'
0000
└outRsltMsgAHN(200)Alphanumeric + Korean, up to 200 bytes*Result message (URL Encoding, UTF-8)Processed successfully.
Result message (URL Encoding, UTF-8)
Parameter
Type
Description
Example
outRsltMsgRequired
AHN(200)
Result message (URL Encoding, UTF-8)
Processed successfully.

data Object

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

Hash Generation Combination

outStatCd + trdDt + trdTm + mchtId + mchtTrdNo + trdAmt (plaintext) + hashKey
└trdAmtN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5PaddingTransaction amount1000
Transaction amount
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
trdAmtRequired
N(12)
AES-256
Transaction amount
* Certain response fields are AES-256 encrypted. Decrypt them before use.
1000
└billKeyAN(50)Alphanumeric, up to 50 bytes*Value from request returned as-isSBILL_0123456789
Value from request returned as-is
Parameter
Type
Description
Example
billKeyRequired
AN(50)
Value from request returned as-is
SBILL_0123456789
└cardNoN(16)Numeric, up to 16 bytesMasked card number. Not provided by default; available only for specific merchants.111122xxxxxx4444
Masked card number. Not provided by default; available only for specific merchants.
Parameter
Type
Description
Example
cardNo
N(16)
Masked card number. Not provided by default; available only for specific merchants.
111122xxxxxx4444
└vldDtMonN(2)Numeric, up to 2 bytesExpiration date MM. Provided only to merchants with a prior agreement.12
Expiration date MM. Provided only to merchants with a prior agreement.
Parameter
Type
Description
Example
vldDtMon
N(2)
Expiration date MM. Provided only to merchants with a prior agreement.
12
└vldDtYearN(2)Numeric, up to 2 bytesExpiration date YY. Provided only to merchants with a prior agreement.24
Expiration date YY. Provided only to merchants with a prior agreement.
Parameter
Type
Description
Example
vldDtYear
N(2)
Expiration date YY. Provided only to merchants with a prior agreement.
24
└issrIdAN(4)Alphanumeric, up to 4 bytes*Card issuer identifierNHC
Card issuer identifier
Parameter
Type
Description
Example
issrIdRequired
AN(4)
Card issuer identifier
NHC
└cardNmAHN(20)Alphanumeric + Korean, up to 20 bytes*Card company nameNH NongHyup
Card company name
Parameter
Type
Description
Example
cardNmRequired
AHN(20)
Card company name
NH NongHyup
└cardKindAHN(50)Alphanumeric + Korean, up to 50 bytes*Card typeNH Check Card
Card type
Parameter
Type
Description
Example
cardKindRequired
AHN(50)
Card type
NH Check Card
└ninstmtTypeCdA(1)Alphabetic, up to 1 bytes*Interest-free installment typeN
Interest-free installment type
Y: Interest-free (partial, merchant) N: Regular installment, full payment
Parameter
Type
Description
Example
ninstmtTypeCdRequired
A(1)
Interest-free installment type
Y: Interest-free (partial, merchant) / N: Regular installment, full payment
N
└instmtMonN(2)Numeric, up to 2 bytesValue from request returned as-is00
Value from request returned as-is
Parameter
Type
Description
Example
instmtMon
N(2)
Value from request returned as-is
00
└apprNoN(15)Numeric, up to 15 bytes*Card approval number30001234
Card approval number
Parameter
Type
Description
Example
apprNoRequired
N(15)
Card approval number
30001234
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test