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

Credit Card Payment (Direct API)

A method that calls the card company authentication screen directly to proceed with payment. Unlike the standard checkout, it navigates directly to the card company authentication screen without an intermediate UI.

Test Key Information

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

API Information

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

Differences from Standard Checkout

NOTE

Features of the Direct API method

The Direct API method navigates directly to the card company authentication screen without a payment method selection screen. If installment months (instmtMon) are specified, payment proceeds immediately with that value.
ItemStandard Checkout (/card/main.do)Direct API (/card/cardDirect.do)
UI FlowSelect payment method → Card company authenticationDirect card company authentication
Installment monthsSelection list displayedPayment processed with requested value
Use caseGeneral payment integrationSimplified payment flow

Important Notes

Checkout flow depends on merchant ID type

If the merchant ID is configured for standard authenticated payment, the card company authentication screen appears. If configured for non-authenticated or legacy-authenticated, the card information entry screen appears.
  • To receive a credit card billkey, you must separately activate the Billkey (tokenized recurring payment) service. Contact your account manager.
  • Once a billkey is issued, use it to request the subsequent charge payment API. (See Credit Card Billkey Payment API)
  • The amount printed on the sales receipt is based on the parameters sent by the merchant.
    • Example) When a taxable merchant sends a transaction amount of 1,000 KRW:
      • Sending only the transaction amount: displayed as taxable 909, VAT 91
      • Sending taxable amount 900, VAT 100: displayed as taxable 900, VAT 100

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
nxca_jt_il: Authenticated nxca_jt_bi: non-authenticated nxca_ks_gu: legacy-authenticated
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nxca_jt_il: Authenticated / nxca_jt_bi: non-authenticated / nxca_ks_gu: legacy-authenticated
nxca_jt_il
└methodAN(20)Alphanumeric, up to 20 bytes*Payment method code for the PG service
Payment method code for the PG service
*Fixed value
Parameter
Type
Description
Example
methodRequired
AN(20)
Payment method code for the PG service
* Fixed value
card
└cardGbAN(4)Alphanumeric, up to 4 bytes*Specific card company code. Required to call a specific card company authentication screen in the Direct API method
Specific card company code. Required to call a specific card company authentication screen in the Direct API method
*See the Card Company Code Reference page for card company codes.
Parameter
Type
Description
Example
cardGbRequired
AN(4)
Specific card company code. Required to call a specific card company authentication screen in the Direct API method
* See the Card Company Code Reference page for card company codes.
SSC
└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 (no Korean characters)
Unique order number generated by the merchant (no Korean characters)
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique order number generated by the merchant (no Korean characters)
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*Product name for payment
Product name for payment
Parameter
Type
Description
Example
pmtPrdtNmRequired
AHN(128)
Product name for payment
Test Product
└trdAmtN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Transaction amount (multiply by 100 when using USD)
Transaction amount (multiply by 100 when using USD)
*KRW: 1000 / USD: ex) $1.00 → 100
Parameter
Type
Description
Example
trdAmtRequired
N(12)
AES-256
Transaction amount (multiply by 100 when using USD)
* KRW: 1000 / USD: ex) $1.00 → 100
1000
└notiUrlAN(250)Alphanumeric, up to 250 bytes*Webhook URL to receive the payment result (server-to-server)
Webhook URL to receive the payment result (server-to-server)
Parameter
Type
Description
Example
notiUrlRequired
AN(250)
Webhook URL to receive the payment result (server-to-server)
https://example.com/notiUrl
└nextUrlAN(250)Alphanumeric, up to 250 bytes*URL to redirect to the payment result screen
URL to redirect to the payment result screen
*Redirected when the button inside the checkout page is clicked. Use the outStatCd value to verify payment success (0021) or failure (0031).
Parameter
Type
Description
Example
nextUrlRequired
AN(250)
URL to redirect to the payment result screen
* Redirected when the button inside the checkout page is clicked. Use the outStatCd value to verify payment success (0021) or failure (0031).
https://example.com/nextUrl
└cancUrlAN(250)Alphanumeric, up to 250 bytes*URL to redirect when the customer clicks the X button in the checkout page
URL to redirect when the customer clicks the X button in the checkout page
*Browser close and back navigation are not detected.
Parameter
Type
Description
Example
cancUrlRequired
AN(250)
URL to redirect when the customer clicks the X button in the checkout page
* Browser close and back navigation 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 general payment
Product provision period (yyyyMMddHHmmss). If empty, displayed as a general payment
Parameter
Type
Description
Example
prdtTerm
N(14)
Product provision period (yyyyMMddHHmmss). If empty, displayed as a general 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
└taxTypeCdA(1)Alphabetic, up to 1 bytesTax exemption status. If blank, follows merchant configuration
Tax exemption status. If blank, follows merchant configuration
N: Taxable Y: Tax-exempt G: Mixed taxation
Parameter
Type
Description
Example
taxTypeCd
A(1)
Tax exemption status. If blank, follows merchant configuration
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
└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
-
└instmtMonN(2)Numeric, up to 2 bytesInstallment months. In the Direct API method, payment proceeds immediately with the requested installment months
Installment months. In the Direct API method, payment proceeds immediately with the requested installment months
00: Full payment 2~12: Number of installment months
*00: Full payment, 2~12: Number of installment months
Parameter
Type
Description
Example
instmtMon
N(2)
Installment months. In the Direct API method, payment proceeds immediately with the requested installment months
00: Full payment / 2~12: Number of installment months
* 00: Full payment, 2~12: Number of installment months
00
└cardTypeN(1)Numeric, up to 1 bytesCard payment type
Card payment type
3: App card supported card companies [Shinhan/Samsung/Hyundai/KB/NH/Lotte]
Parameter
Type
Description
Example
cardType
N(1)
Card payment type
3: App card supported card companies [Shinhan/Samsung/Hyundai/KB/NH/Lotte]
3
└chainUserIdAN(100)Alphanumeric, up to 100 bytesHyundai Card PayShot ID. Available after direct partnership agreement with the card company
Hyundai Card PayShot ID. Available after direct partnership agreement with the card company
Parameter
Type
Description
Example
chainUserId
AN(100)
Hyundai Card PayShot ID. Available after direct partnership agreement with the card company
-
└appSchemeAN(100)Alphanumeric, up to 100 bytesApp scheme (AppScheme://~) format. Used when building a proprietary app
App scheme (AppScheme://~) format. Used when building a proprietary app
Parameter
Type
Description
Example
appScheme
AN(100)
App scheme (AppScheme://~) format. Used when building a proprietary app
PAYAPPNAME://
└custIpAN(15)Alphanumeric, up to 15 bytesCustomer IP address. The customer device's IP address, not the merchant server IP. Must be in IPv4 format (IPv6 not supported).
Customer IP address. The customer device's IP address, not the merchant server IP. Must be in IPv4 format (IPv6 not supported).
Parameter
Type
Description
Example
custIp
AN(15)
Customer IP address. The customer device's IP address, not the merchant server IP. Must be in IPv4 format (IPv6 not supported).
127.0.0.1

Response Parameters

When payment is completed or fails, parameters are delivered via redirect to nextUrl. When the customer clicks the X button inside the checkout page, they are redirected to cancUrl. Browser close and back navigation are not detected.

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 Financialnxca_jt_il
Unique merchant ID assigned by Hecto Financial
nxca_jt_il: Authenticated nxca_jt_bi: non-authenticated nxca_ks_gu: legacy-authenticated
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nxca_jt_il: Authenticated / nxca_jt_bi: non-authenticated / nxca_ks_gu: legacy-authenticated
nxca_jt_il
└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'
*Refer to the decline code table
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Decline code. Detailed code provided when transaction status is '0031'
* 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 method code for the PG servicecard
Payment method code for the PG service
*Fixed value
Parameter
Type
Description
Example
methodRequired
AN(20)
Payment method code for the PG service
* Fixed value
card
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Unique order number generated by the merchant (no Korean characters)ORDER20211231100000
Unique order number generated by the merchant (no Korean characters)
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique order number generated by the merchant (no Korean characters)
ORDER20211231100000
└mchtCustIdAN(50)Alphanumeric, up to 50 bytesAES-256AES-256/ECB/PKCS5PaddingUnique customer ID or unique key sent by the merchantHongGilDong
Unique customer ID or unique key sent by the merchant
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
mchtCustId
AN(50)
AES-256
Unique customer ID or unique key sent by the merchant
* Certain response fields are AES-256 encrypted. Decrypt them before use.
HongGilDong
└trdNoAN(40)Alphanumeric, up to 40 bytes*Hecto Financial transaction numberSTFP_PGCAnxca_jt_il0211129135810M1494620
Hecto Financial transaction number
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Hecto Financial transaction number
STFP_PGCAnxca_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
└mchtParamAHN(4000)Alphanumeric + Korean, up to 4000 bytesField value received in the request is returned as-is in the responsename=HongGilDong&age=25
Field value received in the request is returned as-is in the response
Parameter
Type
Description
Example
mchtParam
AHN(4000)
Field value received in the request is returned as-is in the response
name=HongGilDong&age=25
└authDtN(14)Numeric, up to 14 bytesPayment approval datetime20211231100000
Payment approval datetime
Parameter
Type
Description
Example
authDt
N(14)
Payment approval datetime
20211231100000
└authNoN(15)Numeric, up to 15 bytesCredit card approval number30001234
Credit card approval number
Parameter
Type
Description
Example
authNo
N(15)
Credit card approval number
30001234
└intMonN(2)Numeric, up to 2 bytesCredit card installment months00
Credit card installment months
Parameter
Type
Description
Example
intMon
N(2)
Credit card installment months
00
└fnNmAH(20)Alpha + Korean, up to 20 bytesCredit card company nameWoori Card
Credit card company name
Parameter
Type
Description
Example
fnNm
AH(20)
Credit card company name
Woori Card
└fnCdAN(4)Alphanumeric, up to 4 bytesCredit card company codeLTC
Credit card company code
Parameter
Type
Description
Example
fnCd
AN(4)
Credit card company code
LTC
└pointTrdNoAN(40)Alphanumeric, up to 40 bytesPoint payment transaction number if the customer paid with pointsSTFP_PGCAnxca_jt_il0211129135810M1494620
Point payment transaction number if the customer paid with points
Parameter
Type
Description
Example
pointTrdNo
AN(40)
Point payment transaction number if the customer paid with points
STFP_PGCAnxca_jt_il0211129135810M1494620
└pointTrdAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5PaddingPoint payment amount if the customer paid with points1000
Point payment amount if the customer paid with points
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
pointTrdAmt
N(12)
AES-256
Point payment amount if the customer paid with points
* Certain response fields are AES-256 encrypted. Decrypt them before use.
1000
└cardTrdAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5PaddingCredit card payment amount excluding discounts or point amounts4000
Credit card payment amount excluding discounts or point amounts
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
cardTrdAmt
N(12)
AES-256
Credit card payment amount excluding discounts or point amounts
* Certain response fields are AES-256 encrypted. Decrypt them before use.
4000
└billKeyAN(50)Alphanumeric, up to 50 bytes*Recurring payment token issued when using the Billkey (tokenized recurring payment) service. Used for subsequent charges.SBILL_0123456789
Recurring payment token issued when using the Billkey (tokenized recurring payment) service. Used for subsequent charges.
*Requires separate service activation. Contact your account manager.
Parameter
Type
Description
Example
billKeyRequired
AN(50)
Recurring payment token issued when using the Billkey (tokenized recurring payment) service. Used for subsequent charges.
* Requires separate service activation. Contact your account manager.
SBILL_0123456789

Webhook (Payment Result)

After a payment is completed, Hecto Financial sends a webhook to your server.

NOTE

Webhook Reference

For credit card payment webhook parameters and processing methods, see the webhook reference.
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test