Skip to main content

Register Transaction

By registering order information to open the payment screen, you can receive the Payment Window URL in the response.

Request​

Request URL
POST https://{API Domain}/api/ep9/trades/webpay
Content-type: application/json; charset=utf-8

Parameters​

Field NameTypeLengthRequiredDescription
mallIdString8Byte✅Merchant ID assigned by KICC
shopOrderNoString40Byte✅Merchant Order No. Must be Unique.
amountNumber✅Payment Amount
payMethodTypeCodeString2Byte✅Payment Method Code (See Payment Method Codes). Request "00" if not selecting a specific method.
currencyString2Byte✅Currency Code (KRW: “00”)
returnUrlString256Byte✅URL to redirect to after authentication completes.
deviceTypeCodeString20Byte✅Device Type
PC: “pc”, Mobile: “mobile”
clientTypeCodeString2Byte✅Window Type Code (Fixed at "00" for Integrated)
langFlagString3ByteKOR: Korean, ENG: English, JPN: Japanese, CHN: Chinese
appSchemeString256ByteMerchant App Scheme (Required for iOS App-to-App return)
See WebView Guide
orderInfoObject✅Order Info
See orderInfo below
payMethodInfoObjectPayment Method Management Info
See payMethodInfo below
taxInfoObjectComplex Tax Info (Required if using Complex Tax)
See taxInfo below
shopValueInfoObjectMerchant Custom Fields (Returned in Approval/Notify response)
See shopValueInfo below
depositInfoListArrayResource Circulation Deposit List
See depositInfoList below
escrowInfoObjectEscrow Info (Required if using Escrow)
See escrowInfo below
basketInfoListArrayBasket List (Required if using Split Settlement)
See basketInfoList below

orderInfo (Order Information)​

Field NameTypeLengthRequiredDescription
goodsNameString50Byte✅Product Name
customerInfoObjectCustomer Info
See customerInfo below

orderInfo > customerInfo (Customer Information)​

Field NameTypeLengthRequiredDescription
customerIdString20ByteCustomer ID
customerNameString20ByteCustomer Name
customerMailString50ByteCustomer Email
customerContactNoString11ByteContact Number (Numbers only)
customerAddrString200ByteCustomer Address

payMethodInfo (Payment Method Management Info)​

Field NameTypeLengthRequiredDescription
cardMethodInfoObjectCredit Card Config Info (Required only if customizing Card or Simple Pay display)
See cardMethodInfo below
virtualAccountMethodInfoObjectVirtual Account Config Info (Required only if customizing Bank display)
See virtualAccountMethodInfo below

payMethodInfo > cardMethodInfo (Credit Card Config)​

Field NameTypeLengthRequiredDescription
paymentTypeString1ByteCredit Card Payment Type
Empty: General
"0": Key-in Auth
"1": Key-in Non-auth
installmentMonthListArrayList of installment months to display
Lump-sum only: [0]
Up to 6 months: [0, 2, 3, 4, 5, 6]
setFreeInstallmentString1ByteUse Interest-free: Y/N (Follows ledger settings if empty)
setCardPointString1ByteUse Card Points: Y/N (Follows ledger settings if empty)
joinCdString4ByteAffiliate Service Code (Contact sales to use)
displayAreaArrayDisplay Area List (Follows ledger settings if empty)
"CARD": Credit Card only, "SPAY": Simple Pay only
usedSpayCodeArrayList of Simple Pay providers to display (See CP Codes)
Example (KakaoPay only): ["KKO"]
cardInfoListArrayList of Credit Card companies to display
See cardInfoList below

payMethodInfo > cardMethodInfo > cardInfoList (Credit Card List)​

Field NameTypeLengthRequiredDescription
cardCdString3Byte✅Card Company Code to display (See Window Card Codes)
cardPointString2ByteCard Point Value. Use "60" if setCardPoint is "Y".
freeInstallmentMonthListArrayInterest-free Month List. Applied if setFreeInstallment is "Y".
Example (2~6 months): [2,3,4,5,6]

payMethodInfo > virtualAccountMethodInfo (Virtual Account Config)​

Field NameTypeLengthRequiredDescription
bankListArrayList of Banks to display (See Bank Codes)
expiryDateString8ByteExpiration Date (yyyyMMdd)
expiryTimeString6ByteExpiration Time (hhmmss)

taxInfo (Complex Tax Info)​

Field NameTypeLengthRequiredDescription
taxAmountNumber✅Taxable Amount
freeAmountNumber✅Tax-free Amount
vatAmountNumber✅VAT Amount

shopValueInfo (Merchant Custom Fields)​

Field NameTypeLengthRequiredDescription
value1String1000ByteField 1
value2String64ByteField 2
value3String32ByteField 3
value4String32ByteField 4
value5String64ByteField 5
value6String64ByteField 6
value7String64ByteField 7

depositInfoList (Resource Circulation Deposit List)​

Field NameTypeLengthRequiredDescription
dpsTypeString1Byte✅Deposit Type (Cup Deposit: “C”)
dpsAmountNumber✅Deposit Amount (Total amount per type)
Request Example
{  
"mallId": "{Merchant ID}",
"shopOrderNo": "{Merchant Order No}",
"amount": 1000,
"payMethodTypeCode": "00",
"currency": "00",
"clientTypeCode": "00",
"returnUrl": "{Merchant Return URL}",
"deviceTypeCode": "mobile",
"orderInfo": {
"goodsName": "Sample Product Name"
}
}

escrowInfo (Escrow Information)​

To use the Escrow Service, please add the following information to your request.

Field NameTypeLengthRequiredDescription
escrowTypeCodeString1Byte✅Escrow Type. Fixed at "K".
deliveryCodeString4Byte✅Delivery Type ("DE01": Self, "DE02": Courier)
goodsInfoListArray✅List of Goods Information (Max 20 items)
recvInfoObject✅Recipient Info
escrowInfo > goodsInfoList (List of Goods Information)​
Field NameTypeLengthRequiredDescription
productNoString40Byte✅Unique Product No. Must be unique within the basket.
productNameString50Byte✅Product Name
productAmountNumber✅Product Amount
CAUTION

The sum of the individual product amounts in the goodsInfoList must match the requested payment amount of Register Transaction.

escrowInfo > recvInfo (Recipient Info)​
Field NameTypeLengthRequiredDescription
recvNameString20Byte✅Recipient Name
recvMobileNoString11Byte✅Recipient Contact No. (Numbers only)
recvMailString50ByteRecipient Email
recvZipCodeString6ByteRecipient Zip Code
recvAddr1String100ByteAddress Line 1
recvAddr2String100ByteAddress Line 2
Request Example
{  
"mallId": "{Merchant ID}",
"shopOrderNo": "{Merchant Order No}",
"amount": 1000,
"payMethodTypeCode": "00",
"currency": "00",
"clientTypeCode": "00",
"returnUrl": "{Merchant Return URL}",
"deviceTypeCode": "mobile",
"orderInfo": {
"goodsName": "Sample Product Name"
},
"escrowInfo": {
"escrowType": "K",
"deliveryCode": "DE01",
"goodsInfoList": [
{
"productNo": "{Unique Product No}",
"productName": "{Product Name}",
"productAmount": 1000
}
],
"recvInfo": {
"recvName": "Recipient Name",
"recvMobileNo": "01012345678",
"recvMail": "test@email.com",
"recvAddr": "Seoul, Korea",
"recvZipCode": "00000",
"recvAddr1": "Address Line 1",
"recvAddr2": "Address Line 2"
}
}
}

basketInfoList (Basket List)​

To use the Split Settlement Service, please add the following information to your request.

Note
  • You must obtain a dedicated Split Settlement Merchant ID to use this service.
  • This cannot be used in combination with Escrow or Complex Taxation services.
Field NameTypeLengthRequiredDescription
productNoString40Byte✅Unique Product No. Must be unique within the basket.
productNameString50Byte✅Product Name
productAmountNumber✅Product Amount
sellerIdString50Byte✅Seller ID
feeUsedBoolean✅Use Seller Fee (true/false)
feeTypeCodeString1ByteFee Type Code (Required if feeUsed is true)
Fixed Amount: "A", Rate: "P"
feeChargeNumberSeller Fee Amount (Required if feeUsed is true)
For Rate("P"): Fee % * 10000 (e.g., 2.12% -> 21200)
Request Example
{  
"mallId": "{Merchant ID}",
"shopOrderNo": "{Merchant Order No}",
"amount": 1000,
"payMethodTypeCode": "00",
"currency": "00",
"clientTypeCode": "00",
"returnUrl": "{Merchant Return URL}",
"deviceTypeCode": "mobile",
"orderInfo": {
"goodsName": "Sample Product Name"
},
"basketInfoList": [
{
"productNo": "{Unique Product No}",
"productName": "{Product Name}",
"productAmount": 1000,
"sellerId": "{Seller ID}",
"feeUsed": true,
"feeTypeCode": "P",
"feeCharge": 2120
}
]
}

Response​

Parameters​

Field NameTypeLengthRequiredDescription
resCdString4Byte✅Response Code (Success: “0000”)
resMsgString1000Byte✅Response Message
authPageUrlString256BytePayment Window URL
Response Example
{
"resCd": "0000",
"resMsg": "Success",
"authPageUrl": "{Payment Window URL}"
}