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

Spend API

Processes a spend (payment) using the member's Money and Points.


API Information

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

Integration Process

Customer
Merchant
Hecto Financial
11. Payment request
1. Payment request
22. Balance inquiry API
2. Balance inquiry API
33. Balance response
3. Balance response
44. Spend API (PIN authentication)
4. Spend API (PIN authentication)
55. Spend complete response
5. Spend complete response
66. Payment complete
6. Payment complete

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).
NSTEST20240715000006
└trdAmtN(7)Numeric, up to 7 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Transaction amount (requested spend amount).
Transaction amount (requested spend amount).
*AES-256/ECB/PKCS5Padding encryption, then Base64 encoding.
Parameter
Type
Description
Example
trdAmtRequired
N(7)
AES-256
Transaction amount (requested spend amount).
* AES-256/ECB/PKCS5Padding encryption, then Base64 encoding.
10000
└mnyBlcN(7)Numeric, up to 7 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Money balance.
Money balance.
*Member's Money balance. AES-256/ECB/PKCS5Padding encryption required.
Parameter
Type
Description
Example
mnyBlcRequired
N(7)
AES-256
Money balance.
* Member's Money balance. AES-256/ECB/PKCS5Padding encryption required.
20000
└pntBlcN(7)Numeric, up to 7 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Points balance.
Points balance.
*Member's Points balance. AES-256/ECB/PKCS5Padding encryption required.
Parameter
Type
Description
Example
pntBlcRequired
N(7)
AES-256
Points balance.
* Member's Points balance. AES-256/ECB/PKCS5Padding encryption required.
1000
└blcUseOrdAN(1)Alphanumeric, up to 1 bytesBalance usage priority.
Balance usage priority.
M: Money first P: Points first (default)
Parameter
Type
Description
Example
blcUseOrd
AN(1)
Balance usage priority.
M: Money first / P: Points first (default)
P
└reqDtAN(8)Alphanumeric, up to 8 bytesRequest date.
Request date.
*yyyyMMdd format.
Parameter
Type
Description
Example
reqDt
AN(8)
Request date.
* yyyyMMdd format.
20240826
└reqTmAN(6)Alphanumeric, up to 6 bytesRequest time.
Request time.
*HHmmss format.
Parameter
Type
Description
Example
reqTm
AN(6)
Request time.
* HHmmss format.
160010
└csrcIssReqYnAN(1)Alphanumeric, up to 1 bytesCash receipt issuance request flag.
Cash receipt issuance request flag.
Y: Request issuance N: Do not issue
*Request to issue a cash receipt for the Money amount spent.
Parameter
Type
Description
Example
csrcIssReqYn
AN(1)
Cash receipt issuance request flag.
Y: Request issuance / N: Do not issue
* Request to issue a cash receipt for the Money amount spent.
Y
└stlMIdAN(20)Alphanumeric, up to 20 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Settlement merchant ID.
Settlement merchant ID.
*Merchant ID for settlement target. AES-256/ECB/PKCS5Padding encryption required.
Parameter
Type
Description
Example
stlMIdRequired
AN(20)
AES-256
Settlement merchant ID.
* Merchant ID for settlement target. AES-256/ECB/PKCS5Padding encryption required.
R0L4ColX2RqUDQyo5lWTPQ==
└storCdAN(20)Alphanumeric, up to 20 bytesStore code.
Store code.
Parameter
Type
Description
Example
storCd
AN(20)
Store code.
HF0001
└storNmAN(128)Alphanumeric, up to 128 bytesStore name.
Store name.
*Used in spend notification emails when sent to the customer.
Parameter
Type
Description
Example
storNm
AN(128)
Store name.
* Used in spend notification emails when sent to the customer.
Hecto Financial
└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.
6NykSPILA01QdAh6sTGaBA==
└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 (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 (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(255)Alphanumeric, up to 255 bytes*Result message.Success
Result message.
Parameter
Type
Description
Example
rsltMsgRequired
AN(255)
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. Required for void.
Parameter
Type
Description
Example
trdNoRequired
AN(50)
Transaction approval number.
* Unique transaction number assigned by Hecto Financial. Required for void.
24071616270200002193
└trdDtAN(8)Alphanumeric, up to 8 bytes*Transaction date.20240716
Transaction date.
*yyyyMMdd format.
Parameter
Type
Description
Example
trdDtRequired
AN(8)
Transaction date.
* yyyyMMdd format.
20240716
└trdTmAN(6)Alphanumeric, up to 6 bytes*Transaction time.164101
Transaction time.
*HHmmss format.
Parameter
Type
Description
Example
trdTmRequired
AN(6)
Transaction time.
* HHmmss format.
164101
└trdAmtN(7)Numeric, up to 7 bytes*Transaction amount.10000
Transaction amount.
*Total amount spent (Money + Points).
Parameter
Type
Description
Example
trdAmtRequired
N(7)
Transaction amount.
* Total amount spent (Money + Points).
10000
└mnyAmtN(7)Numeric, up to 7 bytes*Money amount spent.9000
Money amount spent.
Parameter
Type
Description
Example
mnyAmtRequired
N(7)
Money amount spent.
9000
└pntAmtN(7)Numeric, up to 7 bytes*Points amount spent.1000
Points amount spent.
Parameter
Type
Description
Example
pntAmtRequired
N(7)
Points amount spent.
1000
└mnyBlcN(7)Numeric, up to 7 bytes*Money balance after spend.11000
Money balance after spend.
Parameter
Type
Description
Example
mnyBlcRequired
N(7)
Money balance after spend.
11000
└pntBlcN(7)Numeric, up to 7 bytes*Points balance after spend.0
Points balance after spend.
Parameter
Type
Description
Example
pntBlcRequired
N(7)
Points balance after spend.
0
└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 + Money amount + Points 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 + Money amount + Points amount + hash key.
-

Request Example

{
  "custNo": "2400001605",
  "mTrdNo": "NSTEST20240715000006",
  "trdAmt": "OtHHsG793ox9XewbvX21Lw==",
  "mnyBlc": "2fISihtRzzKJZZay2s8LFQ==",
  "pntBlc": "ceBxI7xbssp9mlz9hRzTJw==",
  "blcUseOrd": "M",
  "reqDt": "20240826",
  "reqTm": "160010",
  "csrcIssReqYn": "Y",
  "stlMId": "R0L4ColX2RqUDQyo5lWTPQ==",
  "storCd": "HF0001",
  "storNm": "Hecto Financial",
  "pinNo": "6NykSPILA01QdAh6sTGaBA==",
  "pktHash": "eb19306c05c1fd19c0fb185358243512d0ffad44ab299e629d89428ad6134f46"
}

Response Examples

Success

{
  "rsltCd": "0000",
  "rsltMsg": "Success",
  "rsltObj": {
    "custNo": "2400001605",
    "mtrdNo": "ORDER20240716",
    "trdNo": "24071616270200002193",
    "trdDt": "20240716",
    "trdTm": "164101",
    "trdAmt": "10000",
    "mnyAmt": "9000",
    "pntAmt": "1000",
    "mnyBlc": "11000",
    "pntBlc": "0",
    "pktHash": "f395b6725a9a18f2563ce34f8bc76698051d27c05de5ba815f463f00429061c"
  }
}

Failure (Insufficient Balance)

{
  "rsltCd": "T-009",
  "rsltMsg": "Please verify the original transaction amount or requested amount."
}

Failure (Incorrect PIN)

{
  "rsltCd": "T-010",
  "rsltMsg": "Incorrect payment PIN. (2 attempts)"
}

Important Notes

Payment PIN Attempt Limit

The account will be locked after 5 consecutive incorrect PIN entries. The PIN must be reset from the My Information page.
  • Call the Balance Inquiry API first to confirm the mnyBlc and pntBlc values before processing a spend.
  • Use blcUseOrd to set the spend priority between Money and Points.
  • The transaction reference number (mTrdNo) must be unique.
  • All amount parameters are plaintext values; use decoded values when encrypting.
💬

Need technical support?

Code Samples

HectoFinancial GitHub