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

Real-Time Transaction Inquiry API

Retrieve the status of an original transaction in real time.


Sandbox Key Information

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

Important Notes

NOTE

Single Transaction Status Inquiry by Payment Method

Enter the date of the original transaction request as the original transaction date. (Transactions within one day before and after the transaction date can be queried.)
  • If the original transaction reference number is available, passing orgTrdNo as an additional parameter improves query accuracy.

API Information

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

Request Parameters

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

params Object

└mchtIdAN(12)Alphanumeric, up to 12 bytes*Unique Merchant ID assigned by Hecto Financial.
Unique Merchant ID assigned by Hecto Financial.
Parameter
Type
Description
Example
mchtIdRequired
AN(12)
Unique Merchant ID assigned by Hecto Financial.
pg_test
└verAN(4)Alphanumeric, up to 4 bytes*Message version.
Message version.
*Fixed value
Parameter
Type
Description
Example
verRequired
AN(4)
Message version.
* Fixed value
0A1M
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Unique transaction reference number generated by the merchant for this inquiry request.
Unique transaction reference number generated by the merchant for this inquiry request.
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique transaction reference number generated by the merchant for this inquiry request.
WLINFO20260107143000
└trdDtN(8)Numeric, up to 8 bytes*Date this message is being sent (YYYYMMDD).
Date this message is being sent (YYYYMMDD).
Parameter
Type
Description
Example
trdDtRequired
N(8)
Date this message is being sent (YYYYMMDD).
20260107
└trdTmN(6)Numeric, up to 6 bytes*Time this message is being sent (HHMMSS).
Time this message is being sent (HHMMSS).
Parameter
Type
Description
Example
trdTmRequired
N(6)
Time this message is being sent (HHMMSS).
143000

data Object

└pktHashAN(200)Alphanumeric, up to 200 bytes*SHA-256Hash value generated using SHA-256.(auto-generated)
Hash value generated using SHA-256.
*Transaction date + Transaction time + Merchant ID + Merchant order number + Transaction amount (plaintext) + Hash key
Parameter
Type
Description
Example
pktHashRequired
AN(200)
SHA-256
Hash value generated using SHA-256.
* Transaction date + Transaction time + Merchant ID + Merchant order number + Transaction amount (plaintext) + Hash key
-
└methodA(2)Alphabetic, up to 2 bytes*Payment method code.
Payment method code.
WL: White-Label
*Fixed value
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method code.
WL: White-Label
* Fixed value
WL
└trdAmtN(12)Numeric, up to 12 bytes*Transaction amount (plaintext).
Transaction amount (plaintext).
*KRW 1,000 → 1000
Parameter
Type
Description
Example
trdAmtRequired
N(12)
Transaction amount (plaintext).
* KRW 1,000 → 1000
1000
└orgTrdDtN(8)Numeric, up to 8 bytes*Request date of the original payment transaction (YYYYMMDD).
Request date of the original payment transaction (YYYYMMDD).
Parameter
Type
Description
Example
orgTrdDtRequired
N(8)
Request date of the original payment transaction (YYYYMMDD).
20260107
└orgMchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Merchant order number of the original transaction.
Merchant order number of the original transaction.
Parameter
Type
Description
Example
orgMchtTrdNoRequired
AN(100)
Merchant order number of the original transaction.
ORDER20260107143000
└orgTrdNoAN(40)Alphanumeric, up to 40 bytesTransaction reference number issued by Hecto Financial at the time of payment.
Transaction reference number issued by Hecto Financial at the time of payment.
Parameter
Type
Description
Example
orgTrdNo
AN(40)
Transaction reference number issued by Hecto Financial at the time of payment.
STFP_PGCApg_test0000260107143000M1717578

Response Parameters

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

params Object

└mchtIdAN(12)Alphanumeric, up to 12 bytes*Unique Merchant ID assigned by Hecto Financial.pg_test
Unique Merchant ID assigned by Hecto Financial.
Parameter
Type
Description
Example
mchtIdRequired
AN(12)
Unique Merchant ID assigned by Hecto Financial.
pg_test
└verAN(4)Alphanumeric, up to 4 bytes*Message version.0A1M
Message version.
Parameter
Type
Description
Example
verRequired
AN(4)
Message version.
0A1M
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Order number from the request, echoed back.WLINFO20260107143000
Order number from the request, echoed back.
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Order number from the request, echoed back.
WLINFO20260107143000
└trdNoAN(40)Alphanumeric, up to 40 bytes*Hecto Financial transaction reference number.STFP_PGCApg_test0000260107143000M1717578
Hecto Financial transaction reference number.
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Hecto Financial transaction reference number.
STFP_PGCApg_test0000260107143000M1717578
└trdDtN(8)Numeric, up to 8 bytes*Date this message was sent (YYYYMMDD).20260107
Date this message was sent (YYYYMMDD).
Parameter
Type
Description
Example
trdDtRequired
N(8)
Date this message was sent (YYYYMMDD).
20260107
└trdTmN(6)Numeric, up to 6 bytes*Time this message was sent (HHMMSS).143000
Time this message was sent (HHMMSS).
Parameter
Type
Description
Example
trdTmRequired
N(6)
Time this message was sent (HHMMSS).
143000
└outStatCdN(4)Numeric, up to 4 bytes*Transaction status code.0021
Transaction status code.
0021: Success 0031: Failure
*Confirmed success: status = 0021 AND result code = 0000
Parameter
Type
Description
Example
outStatCdRequired
N(4)
Transaction status code.
0021: Success / 0031: Failure
* Confirmed success: status = 0021 AND result code = 0000
0021
└outRsltCdAN(4)Alphanumeric, up to 4 bytes*Result code.0000
Result code.
0000: Normal transaction (for virtual account: deposit successful) 0001: Voided (for virtual account: refunded) 0009: Payment failed
*For other rejection codes, refer to the rejection code table.
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Result code.
0000: Normal transaction (for virtual account: deposit successful) / 0001: Voided (for virtual account: refunded) / 0009: Payment failed
* For other rejection codes, refer to the rejection code table.
0000
└outRsltMsgAHN(200)Alphanumeric + Korean, up to 200 bytes*Result message.정상거래
Result message.
Parameter
Type
Description
Example
outRsltMsgRequired
AHN(200)
Result message.
정상거래

data Object

└pktHashAN(64)Alphanumeric, up to 64 bytes*The hash value echoed back from the request.996E651D9435700D54E0D69B5726B5489AD0691C3FC86BE572314D39A2AE8B6D
The hash value echoed back from the request.
Parameter
Type
Description
Example
pktHashRequired
AN(64)
The hash value echoed back from the request.
996E651D9435700D54E0D69B5726B5489AD0691C3FC86BE572314D39A2AE8B6D
└methodA(2)Alphabetic, up to 2 bytes*Payment method code.WL
Payment method code.
WL: White-Label
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method code.
WL: White-Label
WL
└trdAmtN(12)Numeric, up to 12 bytes*Transaction amount.1000
Transaction amount.
Parameter
Type
Description
Example
trdAmtRequired
N(12)
Transaction amount.
1000
└cnclAmtN(12)Numeric, up to 12 bytesVoid amount (KRW 0 if no void exists).0
Void amount (KRW 0 if no void exists).
Parameter
Type
Description
Example
cnclAmt
N(12)
Void amount (KRW 0 if no void exists).
0

Request Example

{
  "params": {
    "mchtId": "pg_test",
    "ver": "0A1M",
    "mchtTrdNo": "WLINFO20260107143000",
    "trdDt": "20260107",
    "trdTm": "143000"
  },
  "data": {
    "pktHash": "996E651D9435700D54E0D69B5726B5489AD0691C3FC86BE572314D39A2AE8B6D",
    "method": "WL",
    "trdAmt": "1000",
    "orgTrdDt": "20260107",
    "orgMchtTrdNo": "ORDER20260107143000",
    "orgTrdNo": "STFP_PGCApg_test0000260107143000M1717578"
  }
}

Response Example

{
  "params": {
    "mchtId": "pg_test",
    "ver": "0A1M",
    "mchtTrdNo": "WLINFO20260107143000",
    "trdNo": "STFP_PGCApg_test0000260107143000M1717578",
    "trdDt": "20260107",
    "trdTm": "143000",
    "outStatCd": "0021",
    "outRsltCd": "0000",
    "outRsltMsg": "정상거래"
  },
  "data": {
    "pktHash": "996E651D9435700D54E0D69B5726B5489AD0691C3FC86BE572314D39A2AE8B6D",
    "method": "WL",
    "trdAmt": "1000",
    "cnclAmt": "0"
  }
}
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test