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

Wallet Recurring Payment API

This is a Charge Subscription API using a KakaoPay Subscription Key. You can use a Subscription Key issued through KakaoPay digital wallet payment to make recurring charges.

Test Key Information

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

API Information

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

Important Notes

A separate merchant ID is required for each purpose

A Subscription Key is not issued with a general payment merchant ID. Get a separate merchant ID for subscription or sequential payments through your sales representative.
  • KakaoPay and Naver Pay are supported.

Merchant ID by purpose

A single merchant ID cannot be used for both general payments and subscription or sequential payments. You need a separate merchant ID for each purpose. Request them through your sales representative.

PurposeautoPayTypeTest merchant ID
General payment (KakaoPay, Naver Pay)Not usedhecto_test
KakaoPay subscriptionAnxkkp_auto
KakaoPay sequential paymentSnxkkp_seq
Naver Pay subscriptionAnxnvp_auto
  • Subscription Key issuance procedure:
    1. Use the merchant ID for the purpose when calling the checkout (see the table above)
    2. Set the autoPayType parameter (KakaoPay: A or S / Naver Pay: A) and the customer ID mchtCustId
    3. Receive the billKey from the response upon successful payment
  • The issued Subscription Key is used in the billKey parameter when calling the Charge Subscription API.
  • mUserId in the Charge Subscription API must match the mchtCustId sent in the key issuance checkout (the original value before encryption). Always send mchtCustId in the key issuance checkout.

KRW 0 Subscription Key issuance by provider

ProviderCheckout trdAmt = 0Description
KakaoPaySupportedA Subscription Key can be issued without a charge.
Naver PayNot supportedA Subscription Key is issued only after an actual payment.
NOTE

Subscription Key issuance checkout

For how to call the checkout to issue a Subscription Key, see the KakaoPay checkout document.

Request Parameters

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

params Object

└mchtIdAN(10)Alphanumeric, up to 10 bytes*Unique merchant ID assigned by Hecto Financial
Unique merchant ID assigned by Hecto Financial
nxkkp_auto: KakaoPay subscription (automatic payment)
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Unique merchant ID assigned by Hecto Financial
nxkkp_auto: KakaoPay subscription (automatic payment)
nxkkp_auto
└verAN(4)Alphanumeric, up to 4 bytes*Message version
Message version
*Fixed value
Parameter
Type
Description
Example
verRequired
AN(4)
Message version
* Fixed value
0A19
└methodA(2)Alphabetic, up to 2 bytes*Payment method
Payment method
*Fixed value (PZ: Digital Wallet)
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method
* Fixed value (PZ: Digital Wallet)
PZ
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type code
Business type code
*Fixed value (B3: Subscription charge)
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type code
* Fixed value (B3: Subscription charge)
B3
└encCdN(2)Numeric, up to 2 bytes*Encryption classification code
Encryption classification code
*Fixed value
Parameter
Type
Description
Example
encCdRequired
N(2)
Encryption classification code
* Fixed value
23
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Unique order number generated by the merchant
Unique order number generated by the merchant
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique order number generated by the merchant
ORDER20211231100000
└trdDtN(8)Numeric, up to 8 bytes*Request date (yyyyMMdd)
Request date (yyyyMMdd)
Parameter
Type
Description
Example
trdDtRequired
N(8)
Request date (yyyyMMdd)
20211231
└trdTmN(6)Numeric, up to 6 bytes*Request time (HH24MISS)
Request time (HH24MISS)
Parameter
Type
Description
Example
trdTmRequired
N(6)
Request time (HH24MISS)
100000
└mobileYnA(1)Alphabetic, up to 1 bytesMobile indicator
Mobile indicator
Y: Mobile web/app N: PC or other
Parameter
Type
Description
Example
mobileYn
A(1)
Mobile indicator
Y: Mobile web/app / N: PC or other
N
└osTypeA(1)Alphabetic, up to 1 bytesOS type
OS type
A: Android I: iOS W: Windows M: Mac E: Other
Parameter
Type
Description
Example
osType
A(1)
OS type
A: Android / I: iOS / W: Windows / M: Mac / E: Other
W

data Object

└pktHashAN(64)Alphanumeric, up to 64 bytes*SHA-256Hash value generated using SHA256(auto-generated)
Hash value generated using SHA256
Parameter
Type
Description
Example
pktHashRequired
AN(64)
SHA-256
Hash value generated using SHA256
-
NOTE

Hash generation combination

trdDt + trdTm + mchtId + mchtTrdNo + trdAmtEnc (plaintext) + hashKey
└corpPayCodeAN(40)Alphanumeric, up to 40 bytes*Digital wallet provider ID
Digital wallet provider ID
KKP: KakaoPay NVP: NaverPay
Parameter
Type
Description
Example
corpPayCodeRequired
AN(40)
Digital wallet provider ID
KKP: KakaoPay / NVP: NaverPay
KKP
└mUserIdAHN(50)Alphanumeric + Korean, up to 50 bytes*Merchant customer ID used at the time of Subscription Key issuance
Merchant customer ID used at the time of Subscription Key issuance
*Must match the mchtCustId sent in the key issuance checkout (the original value before encryption).
Parameter
Type
Description
Example
mUserIdRequired
AHN(50)
Merchant customer ID used at the time of Subscription Key issuance
* Must match the mchtCustId sent in the key issuance checkout (the original value before encryption).
HongGilDong
└ordNmAHN(30)Alphanumeric + Korean, up to 30 bytes*Order name
Order name
Parameter
Type
Description
Example
ordNmRequired
AHN(30)
Order name
Hong Gil-dong
└crcCdA(3)Alphabetic, up to 3 bytes*Currency classification value
Currency classification value
*Fixed value
Parameter
Type
Description
Example
crcCdRequired
A(3)
Currency classification value
* Fixed value
KRW
└taxTypeA(1)Alphabetic, up to 1 bytesTax type
Tax type
N: Taxable Y: Tax-exempt G: Mixed tax
Parameter
Type
Description
Example
taxType
A(1)
Tax type
N: Taxable / Y: Tax-exempt / G: Mixed tax
N
└trdAmtEncN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5Padding + Base64Transaction amount
Transaction amount
Parameter
Type
Description
Example
trdAmtEncRequired
N(12)
AES-256
Transaction amount
1000
└taxAmtEncN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Taxable amount (required for mixed tax)
Taxable amount (required for mixed tax)
Parameter
Type
Description
Example
taxAmtEnc
N(12)
AES-256
Taxable amount (required for mixed tax)
909
└vatAmtEncN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64VAT amount (required for mixed tax)
VAT amount (required for mixed tax)
Parameter
Type
Description
Example
vatAmtEnc
N(12)
AES-256
VAT amount (required for mixed tax)
91
└taxFreeAmtEncN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Tax-exempt amount (required for mixed tax)
Tax-exempt amount (required for mixed tax)
Parameter
Type
Description
Example
taxFreeAmtEnc
N(12)
AES-256
Tax-exempt amount (required for mixed tax)
0
└svcAmtEncN(12)Numeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Service charge
Service charge
Parameter
Type
Description
Example
svcAmtEnc
N(12)
AES-256
Service charge
0
└billKeyAN(50)Alphanumeric, up to 50 bytes*Subscription Key issued by Hecto Financial
Subscription Key issued by Hecto Financial
Parameter
Type
Description
Example
billKeyRequired
AN(50)
Subscription Key issued by Hecto Financial
SBILL0123456789
└prdtNmAHN(128)Alphanumeric + Korean, up to 128 bytes*Product name
Product name
Parameter
Type
Description
Example
prdtNmRequired
AHN(128)
Product name
Test Product
└etcOrdInfoAHN(4000)Alphanumeric + Korean, up to 4000 bytesMerchant reserved field for entering additional order information
Merchant reserved field for entering additional order information
Parameter
Type
Description
Example
etcOrdInfo
AHN(4000)
Merchant reserved field for entering additional order information
name=HongGilDong&age=25
└csrcIssReqYnA(1)Alphabetic, up to 1 bytesCash receipt issuance flag
Cash receipt issuance flag
Y: Issue N: Do not issue
*NaverPay only
Parameter
Type
Description
Example
csrcIssReqYn
A(1)
Cash receipt issuance flag
Y: Issue / N: Do not issue
* NaverPay only
N
└cashRcptPrposDivCdN(1)Numeric, up to 1 bytesCash receipt purpose classification
Cash receipt purpose classification
0: Income deduction 1: Expense proof
*Required when using cash receipt. NaverPay only
Parameter
Type
Description
Example
cashRcptPrposDivCd
N(1)
Cash receipt purpose classification
0: Income deduction / 1: Expense proof
* Required when using cash receipt. NaverPay only
0
└csrcRegNoDivCdN(1)Numeric, up to 1 bytesRegistration number type code
Registration number type code
1: Card 2: Resident registration number 3: Business registration number 4: Mobile phone number
*Required when using cash receipt. NaverPay only
Parameter
Type
Description
Example
csrcRegNoDivCd
N(1)
Registration number type code
1: Card / 2: Resident registration number / 3: Business registration number / 4: Mobile phone number
* Required when using cash receipt. NaverPay only
4
└csrcRegNoAN(64)Alphanumeric, up to 64 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Unique identification information
Unique identification information
*Required when using cash receipt. NaverPay only
Parameter
Type
Description
Example
csrcRegNo
AN(64)
AES-256
Unique identification information
* Required when using cash receipt. NaverPay only
1234567890

Response Parameters

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

params Object

└mchtIdAN(10)Alphanumeric, up to 10 bytes*Merchant IDnxkkp_auto
Merchant ID
Parameter
Type
Description
Example
mchtIdRequired
AN(10)
Merchant ID
nxkkp_auto
└verAN(4)Alphanumeric, up to 4 bytesMessage version0A19
Message version
Parameter
Type
Description
Example
ver
AN(4)
Message version
0A19
└methodA(2)Alphabetic, up to 2 bytesPayment methodPZ
Payment method
Parameter
Type
Description
Example
method
A(2)
Payment method
PZ
└bizTypeAN(2)Alphanumeric, up to 2 bytesBusiness type codeB3
Business type code
Parameter
Type
Description
Example
bizType
AN(2)
Business type code
B3
└encCdN(2)Numeric, up to 2 bytes*Encryption classification code23
Encryption classification code
Parameter
Type
Description
Example
encCdRequired
N(2)
Encryption classification code
23
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Merchant order numberORDER20211231100000
Merchant order number
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Merchant order number
ORDER20211231100000
└trdNoAN(40)Alphanumeric, up to 40 bytes*Hecto Financial transaction numberSTFP_PGPZnx_mid_hd0230315153232M1196602
Hecto Financial transaction number
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Hecto Financial transaction number
STFP_PGPZnx_mid_hd0230315153232M1196602
└trdDtN(8)Numeric, up to 8 bytes*Approval request date (YYYYMMDD)20211231
Approval request date (YYYYMMDD)
Parameter
Type
Description
Example
trdDtRequired
N(8)
Approval request date (YYYYMMDD)
20211231
└trdTmN(6)Numeric, up to 6 bytes*Approval request time (HHMMSS)100000
Approval request time (HHMMSS)
Parameter
Type
Description
Example
trdTmRequired
N(6)
Approval request time (HHMMSS)
100000
└outStatCdAN(4)Alphanumeric, up to 4 bytes*Transaction status code (success/failure)0021
Transaction status code (success/failure)
0021: Success 0031: Failure
Parameter
Type
Description
Example
outStatCdRequired
AN(4)
Transaction status code (success/failure)
0021: Success / 0031: Failure
0021
└outRsltCdAN(4)Alphanumeric, up to 4 bytes*Result code0000
Result code
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Result code
0000
└outRsltMsgAHN(200)Alphanumeric + Korean, up to 200 bytes*Result messageProcessed successfully.
Result message
Parameter
Type
Description
Example
outRsltMsgRequired
AHN(200)
Result message
Processed successfully.

data Object

└pktHashAN(64)Alphanumeric, up to 64 bytes*Hash value generated using SHA256f395b6725a9a18...
Hash value generated using SHA256
Parameter
Type
Description
Example
pktHashRequired
AN(64)
Hash value generated using SHA256
f395b6725a9a18...
NOTE

Hash Generation Combination

outStatCd + trdDt + trdTm + mchtId + mchtTrdNo + trdAmtEnc (plaintext) + hashKey
└AuthTrdNoAN(40)Alphanumeric, up to 40 bytes*Transaction number issued by Hecto Financial at the time of paymentSTFP_PGCAnxca_jt_il0211129135810M1494620
Transaction number issued by Hecto Financial at the time of payment
Parameter
Type
Description
Example
AuthTrdNoRequired
AN(40)
Transaction number issued by Hecto Financial at the time of payment
STFP_PGCAnxca_jt_il0211129135810M1494620
└TrdAmtEncN(12)Numeric, up to 12 bytes*AES-256AES-256/ECB/PKCS5PaddingTransaction amount1000
Transaction amount
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
TrdAmtEncRequired
N(12)
AES-256
Transaction amount
* Certain response fields are AES-256 encrypted. Decrypt them before use.
1000
└csrcIssNoAN(9)Alphanumeric, up to 9 bytesCash receipt approval number0123456789
Cash receipt approval number
*NaverPay only
Parameter
Type
Description
Example
csrcIssNo
AN(9)
Cash receipt approval number
* NaverPay only
0123456789

Webhook

NOTE

No webhook

The Charge Subscription API does not send a webhook. Please confirm the result from the response message.
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test