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

Void / Refund API

Void a completed payment transaction. For simple cash payments, funds are refunded to the debited account.


Sandbox Key Information

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

Important Notes

orgTrdNo Required

Pass the trdNo (transaction reference number) from the payment response as the orgTrdNo parameter.
NOTE

Partial Void

For partial voids on credit cards, cnclOrd must be incremented sequentially starting from 001.

API Information

POST/whitelabel/v1/pay_cancel.do
Content-Typeapplication/json
Sandboxhttps://tbapi.settlebank.co.kr/whitelabel/v1/pay_cancel.do
Productionhttps://api.settlebank.co.kr/whitelabel/v1/pay_cancel.do

Request Parameters

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

params Object

└mchtIdAN(12)Alphanumeric, up to 12 bytes*Unique Merchant ID assigned by Hecto Financial.
Unique Merchant ID assigned by Hecto Financial.
Parameter
Type
Description
Example
mchtIdRequired
AN(12)
Unique Merchant ID assigned by Hecto Financial.
pg_test
└verAN(4)Alphanumeric, up to 4 bytes*Message version.
Message version.
Parameter
Type
Description
Example
verRequired
AN(4)
Message version.
0A18
└methodA(2)Alphabetic, up to 2 bytes*Payment method.
Payment method.
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method.
WL
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type code.
Business type code.
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type code.
C4
└encCdN(2)Numeric, up to 2 bytes*Encryption type code.
Encryption type code.
Parameter
Type
Description
Example
encCdRequired
N(2)
Encryption type code.
23
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Unique order number for the void request.
Unique order number for the void request.
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Unique order number for the void request.
CANCEL20260107150000
└trdDtN(8)Numeric, up to 8 bytes*Void request date (yyyyMMdd).
Void request date (yyyyMMdd).
Parameter
Type
Description
Example
trdDtRequired
N(8)
Void request date (yyyyMMdd).
20260107
└trdTmN(6)Numeric, up to 6 bytes*Void request time (HHmmss).
Void request time (HHmmss).
Parameter
Type
Description
Example
trdTmRequired
N(6)
Void request time (HHmmss).
150000
└mobileYnA(1)Alphabetic, up to 1 bytesMobile flag.
Mobile flag.
Y: Mobile web/app N: PC
Parameter
Type
Description
Example
mobileYn
A(1)
Mobile flag.
Y: Mobile web/app / N: PC
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(200)Alphanumeric, up to 200 bytes*SHA-256Hash value generated using SHA-256.(auto-generated)
Hash value generated using SHA-256.
*trdDt + trdTm + mchtId + mchtTrdNo + trdAmt(plaintext) + hash key
Parameter
Type
Description
Example
pktHashRequired
AN(200)
SHA-256
Hash value generated using SHA-256.
* trdDt + trdTm + mchtId + mchtTrdNo + trdAmt(plaintext) + hash key
-
└mchtCustIdAN(100)Alphanumeric, up to 100 bytes*Merchant customer ID.
Merchant customer ID.
Parameter
Type
Description
Example
mchtCustIdRequired
AN(100)
Merchant customer ID.
honggildong
└orgTrdNoAN(40)Alphanumeric, up to 40 bytes*Transaction reference number from the payment response (trdNo).
Transaction reference number from the payment response (trdNo).
Parameter
Type
Description
Example
orgTrdNoRequired
AN(40)
Transaction reference number from the payment response (trdNo).
STFP_PGCApg_test0000260107143100M1234567
└trdAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Void amount (required for partial void).
Void amount (required for partial void).
Parameter
Type
Description
Example
trdAmt
AN(12)
AES-256
Void amount (required for partial void).
1000
└taxTypeCdA(1)Alphabetic, up to 1 bytesTax exemption status.
Tax exemption status.
N: Taxable Y: Tax-exempt G: Mixed taxation
Parameter
Type
Description
Example
taxTypeCd
A(1)
Tax exemption status.
N: Taxable / Y: Tax-exempt / G: Mixed taxation
N
└taxAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Taxable amount (required for mixed taxation).
Taxable amount (required for mixed taxation).
Parameter
Type
Description
Example
taxAmt
AN(12)
AES-256
Taxable amount (required for mixed taxation).
909
└vatAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64VAT amount (required for mixed taxation).
VAT amount (required for mixed taxation).
Parameter
Type
Description
Example
vatAmt
AN(12)
AES-256
VAT amount (required for mixed taxation).
91
└taxFreeAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Tax-free amount (required for mixed taxation).
Tax-free amount (required for mixed taxation).
Parameter
Type
Description
Example
taxFreeAmt
AN(12)
AES-256
Tax-free amount (required for mixed taxation).
0
└svcAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5Padding + Base64Service charge.
Service charge.
Parameter
Type
Description
Example
svcAmt
AN(12)
AES-256
Service charge.
0
└crcCdA(3)Alphabetic, up to 3 bytesCurrency code (required for credit card).
Currency code (required for credit card).
Parameter
Type
Description
Example
crcCd
A(3)
Currency code (required for credit card).
KRW
└cnclOrdN(3)Numeric, up to 3 bytesVoid sequence number (required for credit card; starts at 001).
Void sequence number (required for credit card; starts at 001).
Parameter
Type
Description
Example
cnclOrd
N(3)
Void sequence number (required for credit card; starts at 001).
001

Response Parameters

params Object

└mchtIdAN(12)Alphanumeric, up to 12 bytes*Merchant ID.pg_test
Merchant ID.
Parameter
Type
Description
Example
mchtIdRequired
AN(12)
Merchant ID.
pg_test
└verAN(4)Alphanumeric, up to 4 bytes*Message version.0A18
Message version.
*Fixed value
Parameter
Type
Description
Example
verRequired
AN(4)
Message version.
* Fixed value
0A18
└methodA(2)Alphabetic, up to 2 bytes*Payment method.WL
Payment method.
*Fixed value
Parameter
Type
Description
Example
methodRequired
A(2)
Payment method.
* Fixed value
WL
└bizTypeAN(2)Alphanumeric, up to 2 bytes*Business type code.C4
Business type code.
*Fixed value
Parameter
Type
Description
Example
bizTypeRequired
AN(2)
Business type code.
* Fixed value
C4
└encCdN(2)Numeric, up to 2 bytes*Encryption type code.23
Encryption type code.
*Fixed value
Parameter
Type
Description
Example
encCdRequired
N(2)
Encryption type code.
* Fixed value
23
└mchtTrdNoAN(100)Alphanumeric, up to 100 bytes*Merchant order number.CANCEL20260107150000
Merchant order number.
Parameter
Type
Description
Example
mchtTrdNoRequired
AN(100)
Merchant order number.
CANCEL20260107150000
└outStatCdAN(4)Alphanumeric, up to 4 bytes*Transaction status code.0021
Transaction status code.
0021: Success 0031: Failure
Parameter
Type
Description
Example
outStatCdRequired
AN(4)
Transaction status code.
0021: Success / 0031: Failure
0021
└outRsltCdAN(4)Alphanumeric, up to 4 bytes*Rejection code (detailed code on failure).0000
Rejection code (detailed code on failure).
Parameter
Type
Description
Example
outRsltCdRequired
AN(4)
Rejection code (detailed code on failure).
0000
└outRsltMsgAHN(200)Alphanumeric + Korean, up to 200 bytes*Result message.Processed successfully.
Result message.
Parameter
Type
Description
Example
outRsltMsgRequired
AHN(200)
Result message.
Processed successfully.
└trdNoAN(40)Alphanumeric, up to 40 bytes*Void transaction reference number.STFP_PGCApg_test0000260107150000M7654321
Void transaction reference number.
Parameter
Type
Description
Example
trdNoRequired
AN(40)
Void transaction reference number.
STFP_PGCApg_test0000260107150000M7654321
└trdDtN(8)Numeric, up to 8 bytes*Void response date.20260107
Void response date.
Parameter
Type
Description
Example
trdDtRequired
N(8)
Void response date.
20260107
└trdTmN(6)Numeric, up to 6 bytes*Void response time.150000
Void response time.
Parameter
Type
Description
Example
trdTmRequired
N(6)
Void response time.
150000

data Object

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

Hash Generation Combination

outStatCd + trdDt + trdTm + mchtId + mchtTrdNo + mchtCustId + hash key
└mchtCustIdAN(100)Alphanumeric, up to 100 bytes*Merchant customer ID.honggildong
Merchant customer ID.
Parameter
Type
Description
Example
mchtCustIdRequired
AN(100)
Merchant customer ID.
honggildong
└payMethodA(2)Alphabetic, up to 2 bytes*Payment method code.CA
Payment method code.
RT: Simple payment void CA: Credit card void
Parameter
Type
Description
Example
payMethodRequired
A(2)
Payment method code.
RT: Simple payment void / CA: Credit card void
CA
└orgTrdNoAN(40)Alphanumeric, up to 40 bytes*Original transaction reference number.STFP_PGCApg_test0000260107143100M1234567
Original transaction reference number.
Parameter
Type
Description
Example
orgTrdNoRequired
AN(40)
Original transaction reference number.
STFP_PGCApg_test0000260107143100M1234567
└taxTypeCdA(1)Alphabetic, up to 1 bytesTax exemption status.
Tax exemption status.
Y: Tax-exempt N: Taxable G: Mixed taxation
Parameter
Type
Description
Example
taxTypeCd
A(1)
Tax exemption status.
Y: Tax-exempt / N: Taxable / G: Mixed taxation
-
└trdAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5PaddingTransaction amount.vqIWIiimsJ5efjSJpfnnTw==
Transaction amount.
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
trdAmt
AN(12)
AES-256
Transaction amount.
* Certain response fields are AES-256 encrypted. Decrypt them before use.
vqIWIiimsJ5efjSJpfnnTw==
└taxAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5PaddingTaxable portion of the void amount.
Taxable portion of the void amount.
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
taxAmt
AN(12)
AES-256
Taxable portion of the void amount.
* Certain response fields are AES-256 encrypted. Decrypt them before use.
-
└vatAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5PaddingVAT portion of the void amount.
VAT portion of the void amount.
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
vatAmt
AN(12)
AES-256
VAT portion of the void amount.
* Certain response fields are AES-256 encrypted. Decrypt them before use.
-
└taxFreeAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5PaddingTax-free portion of the void amount.
Tax-free portion of the void amount.
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
taxFreeAmt
AN(12)
AES-256
Tax-free portion of the void amount.
* Certain response fields are AES-256 encrypted. Decrypt them before use.
-
└svcAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5PaddingService charge portion of the void amount.
Service charge portion of the void amount.
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
svcAmt
AN(12)
AES-256
Service charge portion of the void amount.
* Certain response fields are AES-256 encrypted. Decrypt them before use.
-
└crcCdA(3)Alphabetic, up to 3 bytesCurrency code (credit card only).KRW
Currency code (credit card only).
Parameter
Type
Description
Example
crcCd
A(3)
Currency code (credit card only).
KRW
└cnclOrdN(3)Numeric, up to 3 bytesVoid sequence number (starts at 001; credit card only).001
Void sequence number (starts at 001; credit card only).
Parameter
Type
Description
Example
cnclOrd
N(3)
Void sequence number (starts at 001; credit card only).
001
└cardCnclAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5PaddingCredit card transaction amount (credit card only).
Credit card transaction amount (credit card only).
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
cardCnclAmt
AN(12)
AES-256
Credit card transaction amount (credit card only).
* Certain response fields are AES-256 encrypted. Decrypt them before use.
-
└blcAmtAN(12)Alphanumeric, up to 12 bytesAES-256AES-256/ECB/PKCS5PaddingRemaining voidable balance.
Remaining voidable balance.
*Certain response fields are AES-256 encrypted. Decrypt them before use.
Parameter
Type
Description
Example
blcAmt
AN(12)
AES-256
Remaining voidable balance.
* Certain response fields are AES-256 encrypted. Decrypt them before use.
-
└pktNoAN(20)Alphanumeric, up to 20 bytesMessage number (simple cash payment only).
Message number (simple cash payment only).
Parameter
Type
Description
Example
pktNo
AN(20)
Message number (simple cash payment only).
-

Request Example

{
    "params": {
        "mchtId": "pg_test",
        "ver": "0A18",
        "method": "WL",
        "bizType": "C4",
        "encCd": "23",
        "mchtTrdNo": "CANCEL20260107150000",
        "trdDt": "20260107",
        "trdTm": "150000",
        "mobileYn": "N",
        "osType": "W"
    },
    "data": {
        "pktHash": "197884af9f63bcd2d9792cd5cd39f7b1e7525e88888e2cee28f64fa23bf53312",
        "mchtCustId": "honggildong",
        "orgTrdNo": "STFP_PGCApg_test0000260107143100M1234567",
        "trdAmt": "vqIWIiimsJ5efjSJpfnnTw==",
        "crcCd": "KRW",
        "cnclOrd": "001"
    }
}

Response Example

{
    "params": {
        "mchtId": "pg_test",
        "ver": "0A18",
        "method": "WL",
        "bizType": "C4",
        "encCd": "23",
        "mchtTrdNo": "CANCEL20260107150000",
        "trdNo": "STFP_PGCApg_test0000260107150000M7654321",
        "trdDt": "20260107",
        "trdTm": "150000",
        "outStatCd": "0021",
        "outRsltCd": "0000",
        "outRsltMsg": "Processed successfully."
    },
    "data": {
        "pktHash": "197884af9f63bcd2d9792cd5cd39f7b1e7525e88888e2cee28f64fa23bf53312",
        "mchtCustId": "honggildong",
        "payMethod": "CA",
        "orgTrdNo": "STFP_PGCApg_test0000260107143100M1234567",
        "trdAmt": "vqIWIiimsJ5efjSJpfnnTw=="
    }
}
💬

Need technical support?

Code Samples

HectoFinancial GitHub
API Test