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

Gift Card Payment (Checkout Method)

The gift card checkout method allows customers to pay using gift cards they hold (Teencash, CultureCash, Smart Book Gift Card, Book Gift Card).

NOTE

T-money Payment

T-money payment is available as a separate payment method.

T-money Payment API →

Test Key Information

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

API Information

POST/gift/{giftCardType}/main.do
Content-Typeapplication/x-www-form-urlencoded
Sandboxhttps://tbnpg.settlebank.co.kr/gift/{giftCardType}/main.do
Productionhttps://npg.settlebank.co.kr/gift/{giftCardType}/main.do
NOTE

API Path by Gift Card Type

The call URL differs depending on the gift card type (method).
methodSandbox URLProduction URL
teencashhttps://tbnpg.settlebank.co.kr/gift/teenCash/main.dohttps://npg.settlebank.co.kr/gift/teenCash/main.do
culturecashhttps://tbnpg.settlebank.co.kr/gift/cultureCash/main.dohttps://npg.settlebank.co.kr/gift/cultureCash/main.do
smartcashhttps://tbnpg.settlebank.co.kr/gift/smartCash/main.dohttps://npg.settlebank.co.kr/gift/smartCash/main.do
booknlifehttps://tbnpg.settlebank.co.kr/gift/booknlife/main.dohttps://npg.settlebank.co.kr/gift/booknlife/main.do

Important Notes

Gift Card Payment Important Notes

Available amounts and conditions differ by gift card type. Check whether partial use is available.
  • Gift card types: CultureCash, Book Gift Card, Smart Book Gift Card, etc.
  • If the gift card balance is less than the payment amount, only the available balance will be used.
  • Partial cancellation may not be available for some gift cards.
  • Gift card settlement proceeds according to the gift card company's policy.

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
nx_mid_il: Gift Card
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nx_mid_il: Gift Card
nx_mid_il
└methodAN(20)Alphanumeric, up to 20 bytes*Payment type code
Payment type code
teencash: Teencash culturecash: CultureCash smartcash: Smart Book Gift Card booknlife: Book Gift Card
*Select based on gift card type
Parameter
Type
Description
Example
methodRequired
AN(20)
Payment type code
teencash: Teencash / culturecash: CultureCash / smartcash: Smart Book Gift Card / booknlife: Book Gift Card
* Select based on gift card type
teencash
└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)
GIFT20211231100000
└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(50)Alphanumeric + Korean, up to 50 bytes*Payment product name
Payment product name
Parameter
Type
Description
Example
pmtPrdtNmRequired
AHN(50)
Payment product name
Test Product
└trdAmtN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Transaction amount
Transaction amount
Parameter
Type
Description
Example
trdAmtRequired
N(12)
AES-256
Transaction amount
1000
└notiUrlAN(250)Alphanumeric, up to 250 bytes*Webhook endpoint URL to receive payment results (server-to-server)
Webhook endpoint URL to receive payment results (server-to-server)
Parameter
Type
Description
Example
notiUrlRequired
AN(250)
Webhook endpoint URL to receive payment results (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 a button inside the checkout is clicked. Check outStatCd to confirm payment success (0021) or failure (0031).
Parameter
Type
Description
Example
nextUrlRequired
AN(250)
URL to redirect to the payment result screen
* Redirected when a button inside the checkout is clicked. Check outStatCd to confirm 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
URL to redirect when the customer clicks the X button in the checkout
*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
* 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
└mchtCustIdAN(50)Alphanumeric, up to 50 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Merchant customer ID
Merchant customer ID
*Required for CultureLand gift card (CultureCash, culturecash)
Parameter
Type
Description
Example
mchtCustId
AN(50)
AES-256
Merchant customer ID
* Required for CultureLand gift card (CultureCash, culturecash)
HongGilDong
└custIpAN(15)Alphanumeric, up to 15 bytesCustomer IP address (the customer device's IP, not the merchant server IP). Must be in IPv4 format (IPv6 not supported).
Customer IP address (the customer device's IP, not the merchant server IP). Must be in IPv4 format (IPv6 not supported).
*Required for CultureLand gift card (CultureCash, culturecash)
Parameter
Type
Description
Example
custIp
AN(15)
Customer IP address (the customer device's IP, not the merchant server IP). Must be in IPv4 format (IPv6 not supported).
* Required for CultureLand gift card (CultureCash, culturecash)
127.0.0.1
└mchtParamAHN(4000)Alphanumeric + Korean, up to 4000 bytesMerchant reserved field (returned as-is when results are delivered)
Merchant reserved field (returned as-is when results are delivered)
Parameter
Type
Description
Example
mchtParam
AHN(4000)
Merchant reserved field (returned as-is when results are delivered)
name=HongGilDong&age=25
└prdtTermN(14)Numeric, up to 14 bytesProduct provision period (yyyyMMddHHmmss; if empty, displayed as a regular payment)
Product provision period (yyyyMMddHHmmss; if empty, displayed as a regular payment)
Parameter
Type
Description
Example
prdtTerm
N(14)
Product provision period (yyyyMMddHHmmss; if empty, displayed as a regular payment)
20221231235959

Response Parameters

Upon payment completion or failure, a redirect to nextUrl occurs; when the customer clicks the X button inside the checkout, a redirect to cancUrl occurs, and the following parameters are passed. Browser close and back navigation are not detected.

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

Common Response

└mchtIdAN(10)Alphanumeric, up to 10 bytes*Merchant IDnx_mid_il
Merchant ID
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Merchant ID
nx_mid_il
└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 code0000
Result code
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Result code
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.
└methodAN(20)Alphanumeric, up to 20 bytes*Payment methodteencash
Payment method
teencash: Teencash culturecash: CultureCash smartcash: Smart Book Gift Card booknlife: Book Gift Card
Parameter
Type
Description
Example
methodRequired
AN(20)
Payment method
teencash: Teencash / culturecash: CultureCash / smartcash: Smart Book Gift Card / booknlife: Book Gift Card
teencash
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Merchant order numberORDER20211231100000
Merchant order number
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Merchant order number
ORDER20211231100000
└mchtCustIdAN(50)Alphanumeric, up to 50 bytesAES-256AES-256/ECB/PKCS5PaddingMerchant customer ID (required for CultureCash)HongGilDong
Merchant customer ID (required for CultureCash)
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
mchtCustId
AN(50)
AES-256
Merchant customer ID (required for CultureCash)
* Certain response fields are AES-256 encrypted. Decrypt them before use.
HongGilDong
└trdNoAN(40)Alphanumeric, up to 40 bytes*Hecto Financial transaction numberSTFP_PGCAnx_mid_il0211129135810M1494620
Hecto Financial transaction number
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Hecto Financial transaction number
STFP_PGCAnx_mid_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 bytesMerchant reserved field (the value received in the request is returned as-is)name=HongGilDong&age=25
Merchant reserved field (the value received in the request is returned as-is)
Parameter
Type
Description
Example
mchtParam
AHN(4000)
Merchant reserved field (the value received in the request is returned as-is)
name=HongGilDong&age=25
└authDtN(14)Numeric, up to 14 bytesApproval datetime20211231100000
Approval datetime
Parameter
Type
Description
Example
authDt
N(14)
Approval datetime
20211231100000

Webhook (Payment Result)

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

NOTE

Webhook Reference

For webhook parameters and processing methods for gift card payment results, see the Webhook document.
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test