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/v2/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✅Standalone API Payment Method Call Code
currencyString2Byte✅Currency Code (KRW: “00”)
returnUrlString256Byte✅URL to redirect to after authentication completes.
deviceTypeCodeString20Byte✅Device Type
PC: “pc”, Mobile: “mobile”
clientTypeCodeString2Byte✅Fixed at "10"
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
cashInfoObjectCash Receipt Info
See cashInfo 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
(Required for 3D-Secure (Overseas: Visa, Master, JCB, Amex))
customerContactNoString11ByteContact Number (Numbers only)
customerAddrString200ByteCustomer Address

payMethodInfo (Payment Method Management Info)​

Field NameTypeLengthRequiredDescription
cardMethodInfoObjectCredit Card Config Info
See cardMethodInfo below
mobileMethodInfoObjectMobile Config Info
See mobileMethodInfo below

payMethodInfo > cardMethodInfo (Credit Card Config)​

Field NameTypeLengthRequiredDescription
installmentMonthListArrayList of installment months to display.
Empty: Lump-sum for Cards / DB lookup for Simple Pay.
Lump-sum only: [0]
Up to 6 months: [0, 2, 3, 4, 5, 6]
setFreeInstallmentString1ByteUse Interest-free ("Y"/"N") (See Inquiry)
setCardPointString1ByteUse Card Points ("Y"/"N")
setCouponInfoString1ByteUse Instant Discount Coupon ("Y") (See Inquiry)
chainCodeString1ByteCard Window Control Code
"3": App Card payment only
onlyCreditCardString1ByteKB Kookmin Card Parameter
"1": KB Pay App allows KB Card only
appCodeString20ByteWoori Card Control Code
Empty: Show all, "WONCARD": Woori Card only,
"WONBANK": Woori Bank only
joinCdString4ByteAffiliate Service Code
usedSpayCodeArrayList of Simple Pay providers (See Codes). Only 1 allowed.
Must include ["CRD"] if payment method is Credit Card.
cardInfoListArrayList of Credit Card companies to display
See cardInfoList below
couponInfoObjectInstant Discount Coupon Usage Info
See couponInfo below

payMethodInfo > cardMethodInfo > cardInfoList (Credit Card List)​

Field NameTypeLengthRequiredDescription
cardCdString3Byte✅Card Company Code to display (See Codes). Only 1 allowed.
cardPointString2ByteCard Point Value. Fixed at "60" if setCardPoint is "Y".
cardNoString20ByteCard Number for 3D-Secure (Overseas: Visa, Master, JCB, Amex)
expireDateString4ByteExpiry Date for 3D-Secure (YYMM). e.g., Nov 2026 -> "2611"
cardHolderNameString45ByteEnglish name of the cardholder for 3D-Secure (Overseas: Visa, Master, JCB, Amex)

payMethodInfo > cardMethodInfo > couponInfo (Instant Discount Coupon Info)​

Field NameTypeLengthRequiredDescription
cponIdString10Byte✅Coupon Group ID (Use couponGid from Coupon Inquiry API)
cponAmountNumber✅Discount Amount (For percentage-based coupons, rounded based on discountRoundingUnit setting)
cponRateNumberCoupon Discount Rate(Required Only for Percentage coupon)

payMethodInfo > mobileMethodInfo (Mobile Config)​

Field NameTypeLengthRequiredDescription
mobileCdString3Byte✅Carrier Code (See Codes)

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

cashInfo (Cash Receipt Info)​

Field NameTypeLengthRequiredDescription
issueTypeString2Byte✅Issue Purpose
"01": Tax Deduction, "02": Expenditure Proof, "03": Voluntary
authTypeString1Byte✅Auth Type
"1": Card No, "3": Mobile No, "4": Biz No
authValueString20Byte✅Identity Data (Numbers only)
Fixed at "0100001234" for Voluntary Issuance.

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": "11", // Credit Card
"currency": "00",
"clientTypeCode": "10",
"returnUrl": "{Merchant Return URL}",
"deviceTypeCode": "mobile",
"orderInfo": {
"goodsName": "Sample Product Name"
},
"payMethodInfo": {
"cardMethodInfo": {
"usedSpayCode": ["CRD"], // Credit Card
"installmentMonthList": [0],
"cardInfoList": [
{
"cardCd": "026", // Card Company Code
"cardPoint": "60"
}
],
}
}
}

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": "21",
"currency": "00",
"clientTypeCode": "10",
"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": "11",
"currency": "00",
"clientTypeCode": "10",
"returnUrl": "{Merchant Return URL}",
"deviceTypeCode": "mobile",
"orderInfo": {
"goodsName": "Sample Product Name"
},
"payMethodInfo": {
"cardMethodInfo": {
"usedSpayCode": ["CRD"],
"installmentMonthList": [0],
"cardInfoList": [
{
"cardCd": "026"
}
]
}
},
"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}"
}