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

Money Withdrawal API

Withdraws a member's Money to the registered bank account.


API Information

POST/v1/money/withdrawal
Content-Typeapplication/json
Sandboxhttps://tb-mps-api.hectofinancial.co.kr/v1/money/withdrawal
Productionhttps://mps-api.hectofinancial.co.kr/v1/money/withdrawal

Timeout Setting

Set the timeout for withdrawal API calls to at least 25 seconds. (Actual bank response can take up to 20 seconds.)

Withdrawal Types

TypeAPIDescription
Money withdrawal/v1/money/withdrawalStandard Money withdrawal
Pending withdrawal/v1/money/wait/withdrawalWithdrawal of Money in pending state (full amount only)
Withdrawable balance inquiry/v1/wallet/balance/withdrawalInquiry of withdrawable amount and count
NOTE

Points Cannot Be Withdrawn

Points cannot be withdrawn. They can only be used for spend (payment).

Request Parameters

Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes
└custNoAN(20)Alphanumeric, up to 20 bytes*Prepaid member number.
Prepaid member number.
*Unique prepaid member number assigned by Hecto Financial.
Parameter
Type
Description
Example
custNoRequired
AN(20)
Prepaid member number.
* Unique prepaid member number assigned by Hecto Financial.
2400001605
└mTrdNoAN(50)Alphanumeric, up to 50 bytes*Merchant transaction reference number.
Merchant transaction reference number.
*Transaction reference number generated by the merchant (no Korean characters).
Parameter
Type
Description
Example
mTrdNoRequired
AN(50)
Merchant transaction reference number.
* Transaction reference number generated by the merchant (no Korean characters).
ORDER20240716
└divCdAN(2)Alphanumeric, up to 2 bytes*Division code.
Division code.
MW: Money withdrawal (fixed value)
Parameter
Type
Description
Example
divCdRequired
AN(2)
Division code.
MW: Money withdrawal (fixed value)
MW
└trdAmtN(7)Numeric, up to 7 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Requested withdrawal amount.
Requested withdrawal amount.
*AES-256/ECB/PKCS5Padding encryption, then Base64 encoding.
Parameter
Type
Description
Example
trdAmtRequired
N(7)
AES-256
Requested withdrawal amount.
* AES-256/ECB/PKCS5Padding encryption, then Base64 encoding.
-
└mnyBlcN(7)Numeric, up to 7 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Money balance.
Money balance.
*AES-256/ECB/PKCS5Padding encryption required.
Parameter
Type
Description
Example
mnyBlcRequired
N(7)
AES-256
Money balance.
* AES-256/ECB/PKCS5Padding encryption required.
-
└custBdnFeeAmtN(7)Numeric, up to 7 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Customer-borne fee amount.
Customer-borne fee amount.
*AES-256/ECB/PKCS5Padding encryption required.
Parameter
Type
Description
Example
custBdnFeeAmt
N(7)
AES-256
Customer-borne fee amount.
* AES-256/ECB/PKCS5Padding encryption required.
-
└reqDtAN(8)Alphanumeric, up to 8 bytesRequest date.
Request date.
*yyyyMMdd format. If omitted, the server date is used automatically.
Parameter
Type
Description
Example
reqDt
AN(8)
Request date.
* yyyyMMdd format. If omitted, the server date is used automatically.
20241212
└reqTmAN(6)Alphanumeric, up to 6 bytesRequest time.
Request time.
*HHmmss format. If omitted, the server time is used automatically.
Parameter
Type
Description
Example
reqTm
AN(6)
Request time.
* HHmmss format. If omitted, the server time is used automatically.
192035
└pinNoAN(6)Alphanumeric, up to 6 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Payment PIN.
Payment PIN.
*AES-256/ECB/PKCS5Padding encryption required.
Parameter
Type
Description
Example
pinNoRequired
AN(6)
AES-256
Payment PIN.
* AES-256/ECB/PKCS5Padding encryption required.
123456
└mResrvField1AN(255)Alphanumeric, up to 255 bytesMerchant reserve field 1.
Merchant reserve field 1.
*Transmitted in plaintext. Do not include sensitive personal information.
Parameter
Type
Description
Example
mResrvField1
AN(255)
Merchant reserve field 1.
* Transmitted in plaintext. Do not include sensitive personal information.
-
└mResrvField2AN(255)Alphanumeric, up to 255 bytesMerchant reserve field 2.
Merchant reserve field 2.
*Transmitted in plaintext. Do not include sensitive personal information.
Parameter
Type
Description
Example
mResrvField2
AN(255)
Merchant reserve field 2.
* Transmitted in plaintext. Do not include sensitive personal information.
-
└mResrvField3AN(255)Alphanumeric, up to 255 bytesMerchant reserve field 3.
Merchant reserve field 3.
*Transmitted in plaintext. Do not include sensitive personal information.
Parameter
Type
Description
Example
mResrvField3
AN(255)
Merchant reserve field 3.
* Transmitted in plaintext. Do not include sensitive personal information.
-
└pktHashAN(200)Alphanumeric, up to 200 bytes*SHA-256SHA-256 hash value.(auto-generated)
SHA-256 hash value.
*Signature composition: prepaid member number + merchant ID + merchant transaction reference number + transaction amount (withdrawal amount, plaintext) + hash key.
Parameter
Type
Description
Example
pktHashRequired
AN(200)
SHA-256
SHA-256 hash value.
* Signature composition: prepaid member number + merchant ID + merchant transaction reference number + transaction amount (withdrawal amount, plaintext) + hash key.
-

Response Parameters

Type Notation
NNumericAAlphabeticHKoreanANAlphanumericAHNAlphanumeric + Korean
e.g. AN(10) = alphanumeric, up to 10 bytes
└rsltCdAN(4)Alphanumeric, up to 4 bytes*Result code.0000
Result code.
0000: Success Other: Failure
Parameter
Type
Description
Example
rsltCdRequired
AN(4)
Result code.
0000: Success / Other: Failure
0000
└rsltMsgAN*Result message.Success
Result message.
Parameter
Type
Description
Example
rsltMsgRequired
AN
Result message.
Success

rsltObj (Response Object)

└custNoAN(20)Alphanumeric, up to 20 bytes*Prepaid member number.2400001605
Prepaid member number.
Parameter
Type
Description
Example
custNoRequired
AN(20)
Prepaid member number.
2400001605
└mtrdNoAN(50)Alphanumeric, up to 50 bytes*Merchant transaction reference number.ORDER20240716
Merchant transaction reference number.
*No Korean characters.
Parameter
Type
Description
Example
mtrdNoRequired
AN(50)
Merchant transaction reference number.
* No Korean characters.
ORDER20240716
└trdNoAN(50)Alphanumeric, up to 50 bytes*Transaction approval number.24071616270200002193
Transaction approval number.
*Unique transaction number assigned by Hecto Financial.
Parameter
Type
Description
Example
trdNoRequired
AN(50)
Transaction approval number.
* Unique transaction number assigned by Hecto Financial.
24071616270200002193
└trdAmtN(7)Numeric, up to 7 bytes*Transaction amount.10000
Transaction amount.
Parameter
Type
Description
Example
trdAmtRequired
N(7)
Transaction amount.
10000
└custBdnFeeAmtN(7)Numeric, up to 7 bytes*Customer-borne fee amount.100
Customer-borne fee amount.
Parameter
Type
Description
Example
custBdnFeeAmtRequired
N(7)
Customer-borne fee amount.
100
└mnyBlcN(7)Numeric, up to 7 bytes*Money balance after the transaction.10000
Money balance after the transaction.
Parameter
Type
Description
Example
mnyBlcRequired
N(7)
Money balance after the transaction.
10000
└trdDtAN(8)Alphanumeric, up to 8 bytes*Transaction date.20241212
Transaction date.
*yyyyMMdd format.
Parameter
Type
Description
Example
trdDtRequired
AN(8)
Transaction date.
* yyyyMMdd format.
20241212
└trdTmAN(6)Alphanumeric, up to 6 bytes*Transaction time.192035
Transaction time.
*HHmmss format.
Parameter
Type
Description
Example
trdTmRequired
AN(6)
Transaction time.
* HHmmss format.
192035
└pktHashAN(200)Alphanumeric, up to 200 bytes*SHA-256 hash value.
SHA-256 hash value.
*Signature composition: prepaid member number + merchant ID + merchant transaction reference number + transaction approval number + transaction amount + hash key.
Parameter
Type
Description
Example
pktHashRequired
AN(200)
SHA-256 hash value.
* Signature composition: prepaid member number + merchant ID + merchant transaction reference number + transaction approval number + transaction amount + hash key.
-

Request Example

{
  "custNo": "2400001605",
  "mTrdNo": "ORDER20240716",
  "divCd": "MW",
  "trdAmt": "AES-encrypted amount",
  "mnyBlc": "AES-encrypted balance",
  "reqDt": "20241212",
  "reqTm": "192035",
  "pinNo": "AES-encrypted PIN",
  "pktHash": "hash value"
}

Response Examples

Success

{
  "rsltCd": "0000",
  "rsltMsg": "Success",
  "rsltObj": {
    "custNo": "2400001605",
    "mtrdNo": "ORDER20240716",
    "trdNo": "24071616270200002193",
    "trdAmt": "10000",
    "custBdnFeeAmt": "100",
    "mnyBlc": "10000",
    "trdDt": "20241212",
    "trdTm": "192035",
    "pktHash": "f395b6725a9a18f2563ce34f8bc76698051d27c05de5ba815f463f00429061c"
  }
}

Failure

{
  "rsltCd": "T-015",
  "rsltMsg": "Withdrawal request amount exceeds the withdrawable balance."
}

Important Notes

Payment PIN Attempt Limit

The account will be locked after 5 consecutive incorrect PIN entries.
  • Withdrawal is only possible to the registered bank account.
  • To change the withdrawal account, use the My Information screen.
  • Withdrawal limits may apply.
  • Points cannot be withdrawn.
💬

Need technical support?

Code Samples

HectoFinancial GitHub