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

Payment Authentication (Checkout)

Authenticates the customer's bank account via the EZAuth hosted checkout. Upon completion, the result is delivered to your callbackUrl, after which you call the capture API to execute the direct debit.

Test Credentials

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

API Information

POSTCheckout Integration
Content-Typeapplication/x-www-form-urlencoded
Sandboxhttps://tbezauth.settlebank.co.kr
Productionhttps://ezauth.settlebank.co.kr

SDK Script

EnvironmentURL
Sandboxhttps://tbezauth.settlebank.co.kr/js/SettlePay.js
Productionhttps://ezauth.settlebank.co.kr/js/SettlePay.js
SettlePay.execute(form);

Request Parameters

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

Required Parameters

└hdInfoAN(50)Alphanumeric, up to 50 bytes*Message type code.
Message type code.
*Fixed value
Parameter
Type
Description
Example
hdInfoRequired
AN(50)
Message type code.
* Fixed value
IA_AUTHPAGE_1.0_1.0
└apiVerAN(4)Alphanumeric, up to 4 bytes*API version.
API version.
*Fixed value (2.0 enables redirect phishing protection)
Parameter
Type
Description
Example
apiVerRequired
AN(4)
API version.
* Fixed value (2.0 enables redirect phishing protection)
2.0
└processTypeA(1)Alphabetic, up to 1 bytes*Processing type.
Processing type.
*Fixed value
Parameter
Type
Description
Example
processTypeRequired
A(1)
Processing type.
* Fixed value
D
└mercntIdAN(8)Alphanumeric, up to 8 bytes*Unique merchant identifier assigned by Hecto Financial.
Unique merchant identifier assigned by Hecto Financial.
Parameter
Type
Description
Example
mercntIdRequired
AN(8)
Unique merchant identifier assigned by Hecto Financial.
ms00003t
└ordNoAN(100)Alphanumeric, up to 100 bytes*Merchant-generated order number. Must be unique within the same calendar day.
Merchant-generated order number. Must be unique within the same calendar day.
Parameter
Type
Description
Example
ordNoRequired
AN(100)
Merchant-generated order number. Must be unique within the same calendar day.
ORDER20260107143000
└custCiAN(192)Alphanumeric, up to 192 bytes*AES-256AES-256/ECB/PKCS5Padding + HexCustomer CI (Connecting Information). If provided and differs from the registered value, the customer is redirected to cancelUrl.
Customer CI (Connecting Information). If provided and differs from the registered value, the customer is redirected to cancelUrl.
Parameter
Type
Description
Example
custCiRequired
AN(192)
AES-256
Customer CI (Connecting Information). If provided and differs from the registered value, the customer is redirected to cancelUrl.
-
└trDayN(8)Numeric, up to 8 bytes*Transaction date generated at order time (yyyyMMdd).
Transaction date generated at order time (yyyyMMdd).
Parameter
Type
Description
Example
trDayRequired
N(8)
Transaction date generated at order time (yyyyMMdd).
20260107
└trTimeN(6)Numeric, up to 6 bytes*Transaction time generated at order time (HH24MISS).
Transaction time generated at order time (HH24MISS).
Parameter
Type
Description
Example
trTimeRequired
N(6)
Transaction time generated at order time (HH24MISS).
143000
└trPriceAN(13)Alphanumeric, up to 13 bytes*AES-256AES-256/ECB/PKCS5Padding + HexTransaction amount. Setting to 0 issues a recurring billing key without charging.
Transaction amount. Setting to 0 issues a recurring billing key without charging.
Parameter
Type
Description
Example
trPriceRequired
AN(13)
AES-256
Transaction amount. Setting to 0 issues a recurring billing key without charging.
1000
└productNmAN(95)Alphanumeric, up to 95 bytes*Product name.
Product name.
Parameter
Type
Description
Example
productNmRequired
AN(95)
Product name.
Test Product
└dutyFreeYnA(1)Alphabetic, up to 1 bytes*Tax exemption flag.
Tax exemption flag.
Y: Tax-exempt N: Taxable G: Mixed taxation
Parameter
Type
Description
Example
dutyFreeYnRequired
A(1)
Tax exemption flag.
Y: Tax-exempt / N: Taxable / G: Mixed taxation
N
└callbackUrlAN(255)Alphanumeric, up to 255 bytes*URL the checkout posts the authentication result to. HTTPS recommended. Domain must contain at least two dots (e.g., www.example.com).
URL the checkout posts the authentication result to. HTTPS recommended. Domain must contain at least two dots (e.g., www.example.com).
*Validate the callback result before calling the capture API.
Parameter
Type
Description
Example
callbackUrlRequired
AN(255)
URL the checkout posts the authentication result to. HTTPS recommended. Domain must contain at least two dots (e.g., www.example.com).
* Validate the callback result before calling the capture API.
https://www.example.com/callback
└cancelUrlAN(255)Alphanumeric, up to 255 bytesURL invoked when the customer cancels during the checkout flow. Must share the same root domain as callbackUrl.
URL invoked when the customer cancels during the checkout flow. Must share the same root domain as callbackUrl.
Parameter
Type
Description
Example
cancelUrl
AN(255)
URL invoked when the customer cancels during the checkout flow. Must share the same root domain as callbackUrl.
https://www.example.com/cancel
└signatureAN(200)Alphanumeric, up to 200 bytes*SHA-256SHA-256 hash value for tamper protection.(auto-generated)
SHA-256 hash value for tamper protection.
Parameter
Type
Description
Example
signatureRequired
AN(200)
SHA-256
SHA-256 hash value for tamper protection.
-
NOTE

Signature Composition

mercntId + ordNo + trDay + trTime + trPrice (plaintext) + callbackUrl HOST + hashKey
NOTE

Extracting callbackUrl HOST (apiVer 2.0)

  • Use only the domain, excluding the protocol (https://, http://) and port number.
  • Example: https://develop.sbsvc.online:60001/callback/success → develop.sbsvc.online
  • Example: https://www.example.com/callback → www.example.com

Optional Parameters

└taxPriceAN(13)Alphanumeric, up to 13 bytesAES-256AES-256/ECB/PKCS5Padding + HexTaxable amount. Required when dutyFreeYn is G (mixed taxation).
Taxable amount. Required when dutyFreeYn is G (mixed taxation).
Parameter
Type
Description
Example
taxPrice
AN(13)
AES-256
Taxable amount. Required when dutyFreeYn is G (mixed taxation).
8000
└vatPriceAN(13)Alphanumeric, up to 13 bytesAES-256AES-256/ECB/PKCS5Padding + HexVAT amount. Typically 10% of taxable amount.
VAT amount. Typically 10% of taxable amount.
Parameter
Type
Description
Example
vatPrice
AN(13)
AES-256
VAT amount. Typically 10% of taxable amount.
800
└dutyFreePriceAN(13)Alphanumeric, up to 13 bytesAES-256AES-256/ECB/PKCS5Padding + HexTax-exempt amount. Required when dutyFreeYn is G (mixed taxation).
Tax-exempt amount. Required when dutyFreeYn is G (mixed taxation).
Parameter
Type
Description
Example
dutyFreePrice
AN(13)
AES-256
Tax-exempt amount. Required when dutyFreeYn is G (mixed taxation).
4000
└containerDepositAN(5)Alphanumeric, up to 5 bytesAES-256AES-256/ECB/PKCS5Padding + HexContainer deposit amount. Excluded from cash receipt.
Container deposit amount. Excluded from cash receipt.
Parameter
Type
Description
Example
containerDeposit
AN(5)
AES-256
Container deposit amount. Excluded from cash receipt.
300
└criPsblYnA(1)Alphabetic, up to 1 bytesCash receipt issuance eligibility. Defaults to Y if omitted.
Cash receipt issuance eligibility. Defaults to Y if omitted.
Y: Eligible N: Not eligible
Parameter
Type
Description
Example
criPsblYn
A(1)
Cash receipt issuance eligibility. Defaults to Y if omitted.
Y: Eligible / N: Not eligible
Y
└addDeductionYnA(1)Alphabetic, up to 1 bytesAdditional tax deduction category.
Additional tax deduction category.
Y: Public transit C: Books/cultural events N: None
Parameter
Type
Description
Example
addDeductionYn
A(1)
Additional tax deduction category.
Y: Public transit / C: Books/cultural events / N: None
N
└shopNmAN(10)Alphanumeric, up to 10 bytesStore name.
Store name.
Parameter
Type
Description
Example
shopNm
AN(10)
Store name.
My Store
└cphoneNoAN(11)Alphanumeric, up to 11 bytesAES-256AES-256/ECB/PKCS5Padding + HexCustomer mobile number (digits only, no hyphens).
Customer mobile number (digits only, no hyphens).
Parameter
Type
Description
Example
cphoneNo
AN(11)
AES-256
Customer mobile number (digits only, no hyphens).
01032012938
└emailAN(30)Alphanumeric, up to 30 bytesAES-256AES-256/ECB/PKCS5Padding + HexCustomer email address.
Customer email address.
Parameter
Type
Description
Example
email
AN(30)
AES-256
Customer email address.
id@mail.com
└regularpayYnA(1)Alphabetic, up to 1 bytesRecurring billing enrollment flag. Set to Y with trPrice=0 for a billing-key-only enrollment (zero-amount auth), or Y with a non-zero trPrice for a combined payment and enrollment.
Recurring billing enrollment flag. Set to Y with trPrice=0 for a billing-key-only enrollment (zero-amount auth), or Y with a non-zero trPrice for a combined payment and enrollment.
Y: Enroll recurring billing N: One-time payment
Parameter
Type
Description
Example
regularpayYn
A(1)
Recurring billing enrollment flag. Set to Y with trPrice=0 for a billing-key-only enrollment (zero-amount auth), or Y with a non-zero trPrice for a combined payment and enrollment.
Y: Enroll recurring billing / N: One-time payment
N
└mercntParam1AN(1000)Alphanumeric, up to 1000 bytesMerchant-defined data field 1. Echoed back in the response and transaction history.
Merchant-defined data field 1. Echoed back in the response and transaction history.
Parameter
Type
Description
Example
mercntParam1
AN(1000)
Merchant-defined data field 1. Echoed back in the response and transaction history.
-
└mercntParam2AN(1000)Alphanumeric, up to 1000 bytesMerchant-defined data field 2. Echoed back in the response and transaction history.
Merchant-defined data field 2. Echoed back in the response and transaction history.
Parameter
Type
Description
Example
mercntParam2
AN(1000)
Merchant-defined data field 2. Echoed back in the response and transaction history.
-
└payLimitCdAN(10)Alphanumeric, up to 10 bytesPayment limit code. Controls customer spending limits per EZAuth policy.
Payment limit code. Controls customer spending limits per EZAuth policy.
Parameter
Type
Description
Example
payLimitCd
AN(10)
Payment limit code. Controls customer spending limits per EZAuth policy.
-

Response Parameters (Callback)

Parameters delivered to callbackUrl upon authentication completion.

Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes
└resultCdN(1)Numeric, up to 1 bytes*Result code.0
Result code.
0: Success -1: Failure
Parameter
Type
Description
Example
resultCdRequired
N(1)
Result code.
0: Success / -1: Failure
0
└errCdAN(5)Alphanumeric, up to 5 bytes*Error code. See error code reference.0000
Error code. See error code reference.
Parameter
Type
Description
Example
errCdRequired
AN(5)
Error code. See error code reference.
0000
└resultMsgAN(200)Alphanumeric, up to 200 bytes*Human-readable result message.Success
Human-readable result message.
Parameter
Type
Description
Example
resultMsgRequired
AN(200)
Human-readable result message.
Success
└mercntIdAN(8)Alphanumeric, up to 8 bytes*Merchant ID assigned by Hecto Financial.ms00003t
Merchant ID assigned by Hecto Financial.
Parameter
Type
Description
Example
mercntIdRequired
AN(8)
Merchant ID assigned by Hecto Financial.
ms00003t
└ordNoAN(100)Alphanumeric, up to 100 bytes*Order number from the original request.OID201902210001
Order number from the original request.
Parameter
Type
Description
Example
ordNoRequired
AN(100)
Order number from the original request.
OID201902210001
└authNoAN(20)Alphanumeric, up to 20 bytes*Authentication number. Required when calling the capture API.PAR20190220000000001
Authentication number. Required when calling the capture API.
*Must be passed to the capture API
Parameter
Type
Description
Example
authNoRequired
AN(20)
Authentication number. Required when calling the capture API.
* Must be passed to the capture API
PAR20190220000000001
└trPriceN(13)Numeric, up to 13 bytes*Original requested transaction amount.15000
Original requested transaction amount.
Parameter
Type
Description
Example
trPriceRequired
N(13)
Original requested transaction amount.
15000
└discntPriceN(13)Numeric, up to 13 bytes*Promotional discount amount applied.1000
Promotional discount amount applied.
Parameter
Type
Description
Example
discntPriceRequired
N(13)
Promotional discount amount applied.
1000
└payPriceN(13)Numeric, up to 13 bytes*Final settlement amount (after discounts).14000
Final settlement amount (after discounts).
Parameter
Type
Description
Example
payPriceRequired
N(13)
Final settlement amount (after discounts).
14000
└trDayN(8)Numeric, up to 8 bytes*Transaction date (yyyyMMdd).20190221
Transaction date (yyyyMMdd).
Parameter
Type
Description
Example
trDayRequired
N(8)
Transaction date (yyyyMMdd).
20190221
└trTimeN(6)Numeric, up to 6 bytes*Transaction time (HH24MISS).142120
Transaction time (HH24MISS).
Parameter
Type
Description
Example
trTimeRequired
N(6)
Transaction time (HH24MISS).
142120
└mercntParam1AN(1000)Alphanumeric, up to 1000 bytesMerchant-defined data field 1 from the original request.
Merchant-defined data field 1 from the original request.
Parameter
Type
Description
Example
mercntParam1
AN(1000)
Merchant-defined data field 1 from the original request.
-
└mercntParam2AN(1000)Alphanumeric, up to 1000 bytesMerchant-defined data field 2 from the original request.
Merchant-defined data field 2 from the original request.
Parameter
Type
Description
Example
mercntParam2
AN(1000)
Merchant-defined data field 2 from the original request.
-

Integration Example

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>EZAuth Bank Transfer</title>
</head>
<body>
    <form id="payForm" name="payForm">
        <input type="hidden" name="hdInfo" value="IA_AUTHPAGE_1.0_1.0" />
        <input type="hidden" name="apiVer" value="2.0" />
        <input type="hidden" name="processType" value="D" />
        <input type="hidden" name="mercntId" value="ms00003t" />
        <input type="hidden" name="ordNo" value="OID201902210001" />
        <input type="hidden" name="trDay" value="20190221" />
        <input type="hidden" name="trTime" value="142120" />
        <input type="hidden" name="trPrice" value="[AES-256 encrypted amount]" />
        <input type="hidden" name="productNm" value="Test Product" />
        <input type="hidden" name="dutyFreeYn" value="N" />
        <input type="hidden" name="callbackUrl" value="https://www.example.com/callback" />
        <input type="hidden" name="cancelUrl" value="https://www.example.com/cancel" />
        <input type="hidden" name="signature" value="[SHA-256 hash]" />
    </form>

    <!-- Load SDK -->
    <script src="https://tbezauth.settlebank.co.kr/js/SettlePay.js" charset="UTF-8"></script>
    <script>
        SettlePay.execute(document.getElementById('payForm'));
    </script>
</body>
</html>
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test