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

Transaction Detail API

Retrieves detailed information for a specific transaction.


API Information

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

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
└ciAN(255)Alphanumeric, up to 255 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Member CI value.
Member CI value.
*Customer's unique CI value. AES-256/ECB/PKCS5Padding encryption required.
Parameter
Type
Description
Example
ciRequired
AN(255)
AES-256
Member CI value.
* Customer's unique CI value. AES-256/ECB/PKCS5Padding encryption required.
-
└trdNoAN(50)Alphanumeric, up to 50 bytes*Transaction approval number.
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
└trdDtAN(8)Alphanumeric, up to 8 bytes*Transaction approval date.
Transaction approval date.
*yyyyMMdd format.
Parameter
Type
Description
Example
trdDtRequired
AN(8)
Transaction approval date.
* yyyyMMdd format.
20240722

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.
Parameter
Type
Description
Example
trdNoRequired
AN(50)
Transaction approval number.
* Unique transaction number assigned by Hecto Financial.
24071616270200002193
└chrgTrdNoAN(50)Alphanumeric, up to 50 bytesTop-up transaction number
Top-up transaction number
*Delivered when the transaction division code (trdDivCd) is a top-up (MP/PP).
Parameter
Type
Description
Example
chrgTrdNo
AN(50)
Top-up transaction number
* Delivered when the transaction division code (trdDivCd) is a top-up (MP/PP).
-
└orgTrdNoAN(50)Alphanumeric, up to 50 bytesOriginal transaction numberORDER20240715
Original transaction number
*Empty by default. Delivered when trdDivCd is a cancellation type (UC/MC/PC).
Parameter
Type
Description
Example
orgTrdNo
AN(50)
Original transaction number
* Empty by default. Delivered when trdDivCd is a cancellation type (UC/MC/PC).
ORDER20240715
└orgTrdDtAN(8)Alphanumeric, up to 8 bytesOriginal transaction date
Original transaction date
*Empty by default. Delivered when trdDivCd is a cancellation type (UC/MC/PC).
Parameter
Type
Description
Example
orgTrdDt
AN(8)
Original transaction date
* Empty by default. Delivered when trdDivCd is a cancellation type (UC/MC/PC).
-
└reqDtAN(8)Alphanumeric, up to 8 bytesRequest date.20240717
Request date.
*Merchant request date. yyyyMMdd format.
Parameter
Type
Description
Example
reqDt
AN(8)
Request date.
* Merchant request date. yyyyMMdd format.
20240717
└reqTmAN(6)Alphanumeric, up to 6 bytesRequest time.190203
Request time.
*Merchant request time. HHmmss format.
Parameter
Type
Description
Example
reqTm
AN(6)
Request time.
* Merchant request time. HHmmss format.
190203
└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
└trdDivCdAN(2)Alphanumeric, up to 2 bytes*Transaction code.
Transaction code.
CU: Spend UC: Spend void MP: Money top-up MC: Money top-up void MW: Money withdrawal WW: Pending withdrawal MG: Money gift transfer MR: Money received PP: Points issuance PC: Points issuance void
Parameter
Type
Description
Example
trdDivCdRequired
AN(2)
Transaction code.
CU: Spend / UC: Spend void / MP: Money top-up / MC: Money top-up void / MW: Money withdrawal / WW: Pending withdrawal / MG: Money gift transfer / MR: Money received / PP: Points issuance / PC: Points issuance void
-
└trdDivDtlCdAN(12)Alphanumeric, up to 12 bytesTransaction division detail code.
Transaction division detail code.
*Merchant transaction division detail code (only pre-registered values are used).
Parameter
Type
Description
Example
trdDivDtlCd
AN(12)
Transaction division detail code.
* Merchant transaction division detail code (only pre-registered values are used).
-
└chrgMeanCdAN(2)Alphanumeric, up to 2 bytesTop-up method code.RA
Top-up method code.
*Applicable only to MP (Money top-up) and PP (Points issuance).
Parameter
Type
Description
Example
chrgMeanCd
AN(2)
Top-up method code.
* Applicable only to MP (Money top-up) and PP (Points issuance).
RA
└trdSumryAN(100)Alphanumeric, up to 100 bytesTransaction summary.987
Transaction summary.
*Issuance reason, issuance void reason, or withdrawal bank account number (last 3 digits).
Parameter
Type
Description
Example
trdSumry
AN(100)
Transaction summary.
* Issuance reason, issuance void reason, or withdrawal bank account number (last 3 digits).
987
└trdAmtN(7)Numeric, up to 7 bytes*Transaction amount.2000
Transaction amount.
Parameter
Type
Description
Example
trdAmtRequired
N(7)
Transaction amount.
2000
└mnyAmtN(7)Numeric, up to 7 bytes*Money amount.1000
Money amount.
Parameter
Type
Description
Example
mnyAmtRequired
N(7)
Money amount.
1000
└pntAmtN(7)Numeric, up to 7 bytes*Points amount.1000
Points amount.
Parameter
Type
Description
Example
pntAmtRequired
N(7)
Points amount.
1000
└waitMnyAmtN(7)Numeric, up to 7 bytesPending Money amount.0
Pending Money amount.
Parameter
Type
Description
Example
waitMnyAmt
N(7)
Pending Money amount.
0
└mnyBlcN(7)Numeric, up to 7 bytes*Money balance.10000
Money balance.
Parameter
Type
Description
Example
mnyBlcRequired
N(7)
Money balance.
10000
└pntBlcN(7)Numeric, up to 7 bytes*Points balance.1000
Points balance.
Parameter
Type
Description
Example
pntBlcRequired
N(7)
Points balance.
1000
└waitMnyBlcN(7)Numeric, up to 7 bytes*Pending Money balance.0
Pending Money balance.
Parameter
Type
Description
Example
waitMnyBlcRequired
N(7)
Pending Money balance.
0
└mnyVldPdAN(8)Alphanumeric, up to 8 bytesMoney validity period.20340722
Money validity period.
*Applicable when transaction code is MP (Money top-up). yyyyMMdd format.
Parameter
Type
Description
Example
mnyVldPd
AN(8)
Money validity period.
* Applicable when transaction code is MP (Money top-up). yyyyMMdd format.
20340722
└pntVldPdAN(8)Alphanumeric, up to 8 bytesPoints validity period.20340722
Points validity period.
*Applicable when transaction code is PP (Points issuance). yyyyMMdd format.
Parameter
Type
Description
Example
pntVldPd
AN(8)
Points validity period.
* Applicable when transaction code is PP (Points issuance). yyyyMMdd format.
20340722
└cnclYnAN(1)Alphanumeric, up to 1 bytesVoid flag.
Void flag.
Y: Voided N: Not voided
*Applicable to CU (Spend), MP (Money top-up), and PP (Points issuance) transactions that have been voided.
Parameter
Type
Description
Example
cnclYn
AN(1)
Void flag.
Y: Voided / N: Not voided
* Applicable to CU (Spend), MP (Money top-up), and PP (Points issuance) transactions that have been voided.
-
└csrcIssReqYnAN(1)Alphanumeric, up to 1 bytesCash receipt request flag.
Cash receipt request flag.
Y: Requested N: Not requested
*Applicable when transaction code is CU (Spend).
Parameter
Type
Description
Example
csrcIssReqYn
AN(1)
Cash receipt request flag.
Y: Requested / N: Not requested
* Applicable when transaction code is CU (Spend).
-
└csrcIssStatCdAN(1)Alphanumeric, up to 1 bytesCash receipt issuance status.
Cash receipt issuance status.
*Applicable when transaction code is CU (Spend).
Parameter
Type
Description
Example
csrcIssStatCd
AN(1)
Cash receipt issuance status.
* Applicable when transaction code is CU (Spend).
-
└csrcAppNoAN(50)Alphanumeric, up to 50 bytesCash receipt approval number.20240722100000
Cash receipt approval number.
*Applicable when transaction code is CU (Spend).
Parameter
Type
Description
Example
csrcAppNo
AN(50)
Cash receipt approval number.
* Applicable when transaction code is CU (Spend).
20240722100000
└csrcApprDtmAN(14)Alphanumeric, up to 14 bytesCash receipt approval datetime.
Cash receipt approval datetime.
*Applicable when transaction code is CU (Spend). YYYYMMDDHHMMSS format.
Parameter
Type
Description
Example
csrcApprDtm
AN(14)
Cash receipt approval datetime.
* Applicable when transaction code is CU (Spend). YYYYMMDDHHMMSS format.
-
└statusAN(1)Alphanumeric, up to 1 bytesTransaction status.
Transaction status.
0: Processing 1: Completed
*Check withdrawal status for transaction codes MW (Money withdrawal), WW (Pending withdrawal), TW (Termination withdrawal).
Parameter
Type
Description
Example
status
AN(1)
Transaction status.
0: Processing / 1: Completed
* Check withdrawal status for transaction codes MW (Money withdrawal), WW (Pending withdrawal), TW (Termination withdrawal).
-
└stlMIdAN(20)Alphanumeric, up to 20 bytesSettlement merchant ID.
Settlement merchant ID.
*Merchant ID for settlement target.
Parameter
Type
Description
Example
stlMId
AN(20)
Settlement merchant ID.
* Merchant ID for settlement target.
-
└storCdAN(20)Alphanumeric, up to 20 bytesStore code.HF000001
Store code.
Parameter
Type
Description
Example
storCd
AN(20)
Store code.
HF000001
└storNmAN(128)Alphanumeric, up to 128 bytesStore name.Hecto Financial
Store name.
Parameter
Type
Description
Example
storNm
AN(128)
Store name.
Hecto Financial
└cnclTrdAmtN(7)Numeric, up to 7 bytesVoid amount.1000
Void amount.
*For CU/MP/PP transaction codes, the void amount for the original transaction.
Parameter
Type
Description
Example
cnclTrdAmt
N(7)
Void amount.
* For CU/MP/PP transaction codes, the void amount for the original transaction.
1000
└cnclMnyAmtN(7)Numeric, up to 7 bytesVoid Money amount.1000
Void Money amount.
*For CU/MP/PP transaction codes, the void Money amount for the original transaction.
Parameter
Type
Description
Example
cnclMnyAmt
N(7)
Void Money amount.
* For CU/MP/PP transaction codes, the void Money amount for the original transaction.
1000
└cnclPntAmtN(7)Numeric, up to 7 bytesVoid Points amount.0
Void Points amount.
*For CU/MP/PP transaction codes, the void Points amount for the original transaction.
Parameter
Type
Description
Example
cnclPntAmt
N(7)
Void Points amount.
* For CU/MP/PP transaction codes, the void Points amount for the original transaction.
0
└lastCnclDateN(14)Numeric, up to 14 bytesLast void date.20240718190801
Last void date.
*For CU/MP/PP transaction codes, the date of the last void for the original transaction. YYYYMMDDHH24MISS format.
Parameter
Type
Description
Example
lastCnclDate
N(14)
Last void date.
* For CU/MP/PP transaction codes, the date of the last void for the original transaction. YYYYMMDDHH24MISS format.
20240718190801
└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.
-

Request Example

{
  "custNo": "2400001605",
  "ci": "AES-encrypted CI value",
  "trdNo": "24071616270200002193",
  "trdDt": "20240716"
}

Response Examples

Success (Spend Transaction)

{
  "rsltCd": "0000",
  "rsltMsg": "Success",
  "rsltObj": {
    "custNo": "2400001605",
    "mtrdNo": "ORDER20240716",
    "trdNo": "24071616270200002193",
    "reqDt": "20240716",
    "reqTm": "164100",
    "trdDt": "20240716",
    "trdTm": "164101",
    "trdDivCd": "CU",
    "trdSumry": "",
    "trdAmt": "10000",
    "mnyAmt": "9000",
    "pntAmt": "1000",
    "waitMnyAmt": "0",
    "mnyBlc": "11000",
    "pntBlc": "0",
    "waitMnyBlc": "0",
    "cnclYn": "N",
    "csrcIssReqYn": "Y",
    "csrcIssStatCd": "Y",
    "csrcAppNo": "20240716164102",
    "csrcApprDtm": "20240716164102",
    "storCd": "HF000001",
    "storNm": "Hecto Financial",
    "cnclTrdAmt": "0",
    "cnclMnyAmt": "0",
    "cnclPntAmt": "0",
    "chrgTrdNo": "",
    "orgTrdNo": "",
    "orgTrdDt": ""
  }
}

Success (Withdrawal Transaction)

{
  "rsltCd": "0000",
  "rsltMsg": "Success",
  "rsltObj": {
    "custNo": "2400001605",
    "mtrdNo": "ORDER20240717",
    "trdNo": "24071716270200002194",
    "trdDt": "20240717",
    "trdTm": "100000",
    "trdDivCd": "MW",
    "trdSumry": "987",
    "trdAmt": "50000",
    "mnyAmt": "50000",
    "pntAmt": "0",
    "mnyBlc": "0",
    "pntBlc": "0",
    "waitMnyBlc": "0",
    "status": "1",
    "chrgTrdNo": "",
    "orgTrdNo": "",
    "orgTrdDt": ""
  }
}

Failure

{
  "rsltCd": "T-001",
  "rsltMsg": "Please check the transaction reference number."
}
💬

Need technical support?

Code Samples

HectoFinancial GitHub