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

Mobile Payment (Checkout)

The Mobile Payment Checkout method allows customers to pay by verifying their mobile phone number, with the payment amount added to their phone bill.

Test Key Information

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

API Information

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

Important Notes

Mobile Payment Important Notes

Mobile payment has a monthly limit per carrier policy. Carrier billing (DCB) and content usage fees are handled separately.
  • Each carrier has its own carrier billing (DCB) limit.
  • Payments may be restricted for minors.
  • Cancellations are only available within the current month; payments from previous months require a refund.
  • Settlement is processed according to carrier 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
nxhp_sb_il: Mobile Payment (Standard) nxhp_sb_hd: Hybrid Capture nxhp_sb_ma: Recurring Payment
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nxhp_sb_il: Mobile Payment (Standard) / nxhp_sb_hd: Hybrid Capture / nxhp_sb_ma: Recurring Payment
nxhp_sb_il
└methodAN(20)Alphanumeric, up to 20 bytes*Payment method identifier for this transaction
Payment method identifier for this transaction
*Fixed value
Parameter
Type
Description
Example
methodRequired
AN(20)
Payment method identifier for this transaction
* Fixed value
mobile
└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 (ASCII only; Korean characters not permitted)
Unique order number generated by the merchant (ASCII only; Korean characters not permitted)
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique order number generated by the merchant (ASCII only; Korean characters not permitted)
MOBILE20211231100000
└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
Product name
Parameter
Type
Description
Example
pmtPrdtNmRequired
AHN(128)
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*URL of the endpoint to receive payment results (server-to-server webhook URL)
URL of the endpoint to receive payment results (server-to-server webhook URL)
Parameter
Type
Description
Example
notiUrlRequired
AN(250)
URL of the endpoint to receive payment results (server-to-server webhook URL)
https://example.com/notiUrl
└nextUrlAN(250)Alphanumeric, up to 250 bytes*URL to redirect to after the payment result screen
URL to redirect to after the payment result screen
*Redirected when the button inside the checkout is clicked. Check outStatCd to determine payment success (0021) or failure (0031).
Parameter
Type
Description
Example
nextUrlRequired
AN(250)
URL to redirect to after the payment result screen
* Redirected when the button inside the checkout is clicked. Check outStatCd to determine payment success (0021) or failure (0031).
https://example.com/nextUrl
└cancUrlAN(250)Alphanumeric, up to 250 bytes*URL to redirect to when the customer clicks the X button in the checkout
URL to redirect to 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 to 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
Parameter
Type
Description
Example
mchtCustId
AN(50)
AES-256
Merchant customer ID
HongGilDong
└custIpAN(15)Alphanumeric, up to 15 bytesCustomer IP address. Must be in IPv4 format (IPv6 not supported).
Customer IP address. Must be in IPv4 format (IPv6 not supported).
Parameter
Type
Description
Example
custIp
AN(15)
Customer IP address. Must be in IPv4 format (IPv6 not supported).
127.0.0.1
└emailAN(60)Alphanumeric, up to 60 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Customer email address
Customer email address
Parameter
Type
Description
Example
email
AN(60)
AES-256
Customer email address
test@example.com
└mchtParamAHN(4000)Alphanumeric + Korean, up to 4000 bytesMerchant reserved field (returned as-is in the response)
Merchant reserved field (returned as-is in the response)
Parameter
Type
Description
Example
mchtParam
AHN(4000)
Merchant reserved field (returned as-is in the response)
name=HongGilDong&age=25
└cphoneNoN(11)Numeric, up to 11 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Mobile phone number (without hyphens)
Mobile phone number (without hyphens)
Parameter
Type
Description
Example
cphoneNo
N(11)
AES-256
Mobile phone number (without hyphens)
01012345678
└prdtTermN(14)Numeric, up to 14 bytesProduct provision period (yyyyMMddHHmmss). If not provided, displayed as a standard payment.
Product provision period (yyyyMMddHHmmss). If not provided, displayed as a standard payment.
Parameter
Type
Description
Example
prdtTerm
N(14)
Product provision period (yyyyMMddHHmmss). If not provided, displayed as a standard payment.
20221231235959
└telecomCdAN(23)Alphanumeric, up to 23 bytesCarrier code. Only the specified carriers are displayed on screen. Use pipe (|) separator for multiple carriers.
Carrier code. Only the specified carriers are displayed on screen. Use pipe (|) separator for multiple carriers.
SKT: SK Telecom KTF: KT LGT: LG U+ CJH: CJ Hello Mobile KCT: Korea Cable Telecom SKL: SK 7Mobile
Parameter
Type
Description
Example
telecomCd
AN(23)
Carrier code. Only the specified carriers are displayed on screen. Use pipe (|) separator for multiple carriers.
SKT: SK Telecom / KTF: KT / LGT: LG U+ / CJH: CJ Hello Mobile / KCT: Korea Cable Telecom / SKL: SK 7Mobile
SKT
└taxTypeCdA(1)Alphabetic, up to 1 bytesTax exemption status. If blank, follows merchant settings.
Tax exemption status. If blank, follows merchant settings.
N: Taxable Y: Tax-exempt G: Mixed taxation
Parameter
Type
Description
Example
taxTypeCd
A(1)
Tax exemption status. If blank, follows merchant settings.
N: Taxable / Y: Tax-exempt / G: Mixed taxation
N
└taxAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Taxable amount. Required only for mixed taxation (G).
Taxable amount. Required only for mixed taxation (G).
Parameter
Type
Description
Example
taxAmt
N(12)
AES-256
Taxable amount. Required only for mixed taxation (G).
909
└vatAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64VAT amount. Required only for mixed taxation (G).
VAT amount. Required only for mixed taxation (G).
Parameter
Type
Description
Example
vatAmt
N(12)
AES-256
VAT amount. Required only for mixed taxation (G).
91
└taxFreeAmtN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Tax-free amount. Required only for mixed taxation (G).
Tax-free amount. Required only for mixed taxation (G).
Parameter
Type
Description
Example
taxFreeAmt
N(12)
AES-256
Tax-free amount. Required only for mixed taxation (G).
0
└autoPayTypeA(1)Alphabetic, up to 1 bytesRecurring payment type. If blank, treated as a standard payment.
Recurring payment type. If blank, treated as a standard payment.
M: Monthly Recurring Payment
Parameter
Type
Description
Example
autoPayType
A(1)
Recurring payment type. If blank, treated as a standard payment.
M: Monthly Recurring Payment
M

Response Parameters

Upon payment completion or failure, the response redirects to nextUrl. When the customer clicks the X button in the checkout, the response redirects to cancUrl. The parameters below 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 IDnxhp_sb_il
Merchant ID
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Merchant ID
nxhp_sb_il
└outStatCdAN(4)Alphanumeric, up to 4 bytes*Transaction status code0021
Transaction status code
0021: Success 0031: Failure 0061: Authentication success (Hybrid Capture)
Parameter
Type
Description
Example
outStatCdRequired
AN(4)
Transaction status code
0021: Success / 0031: Failure / 0061: Authentication success (Hybrid Capture)
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 methodmobile
Payment method
Parameter
Type
Description
Example
methodRequired
AN(20)
Payment method
mobile
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Merchant order numberMOBILE20211231100000
Merchant order number
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Merchant order number
MOBILE20211231100000
└trdNoAN(40)Alphanumeric, up to 40 bytes*Hecto Financial transaction numberSTFP_PGMPnxhp_sb_il0211129135810M1494620
Hecto Financial transaction number
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Hecto Financial transaction number
STFP_PGMPnxhp_sb_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

Mobile Payment-Specific Response

└fnCdN(3)Numeric, up to 3 bytesCarrier codeSK
Carrier code
Parameter
Type
Description
Example
fnCd
N(3)
Carrier code
SK
└fnNmA(50)Alphabetic, up to 50 bytesCarrier nameSKT
Carrier name
Parameter
Type
Description
Example
fnNm
A(50)
Carrier name
SKT
└billKeyAN(50)Alphanumeric, up to 50 bytesRecurring payment bill key. Used for subsequent charges (applicable to merchants using bill keys only).MO0123456789
Recurring payment bill key. Used for subsequent charges (applicable to merchants using bill keys only).
Parameter
Type
Description
Example
billKey
AN(50)
Recurring payment bill key. Used for subsequent charges (applicable to merchants using bill keys only).
MO0123456789
└mchtCustIdAN(50)Alphanumeric, up to 50 bytesAES-256AES-256/ECB/PKCS5PaddingMerchant customer IDHongGilDong
Merchant customer ID
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
mchtCustId
AN(50)
AES-256
Merchant customer ID
* Certain response fields are AES-256 encrypted. Decrypt them before use.
HongGilDong
└authDtN(14)Numeric, up to 14 bytesApproval datetime20211231100000
Approval datetime
Parameter
Type
Description
Example
authDt
N(14)
Approval datetime
20211231100000
└mchtParamAHN(4000)Alphanumeric + Korean, up to 4000 bytesMerchant field value passed in the request, returned as-isname=HongGilDong&age=25
Merchant field value passed in the request, returned as-is
Parameter
Type
Description
Example
mchtParam
AHN(4000)
Merchant field value passed in the request, returned as-is
name=HongGilDong&age=25

Webhook (Payment Result)

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

NOTE

Webhook Reference

For Mobile Payment webhook parameters and processing details, see the Webhook documentation.
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test