Skip to main content

Net-Cancel

This API is used to ensure data integrity when a response for an approval request is not received due to communication failure or timeout. You must attempt a Net-Cancel using the exact same data from the original approval request.

🚨 Critical: Mandatory Scenarios for Net-Cancel

You MUST call the Net-Cancel API in the following situations:

  1. Read Timeout: When no response is received within the configured time (e.g., 30 seconds) after an approval request.
  2. Connection Error: When the connection is lost or a network error occurs during an approval request.
  3. Parsing Error: When a response is received, but the JSON format is corrupted, making it impossible to determine the success of the transaction.

Request

Request URL
POST https://{API Domain}/smpy/kiccpay/reqRtran
Content-type: application/json; charset=utf-8

Parameters

Field NameTypeLengthRequiredDescription
tidString10ByteKICC Terminal ID
svcIdString10ByteKICC Simple Payment Service ID
bizrNoString10ByteMerchant Business Registration Number
mercTrxNoString40ByteMerchant Transaction Number (20Byte recommended)
tokenKeyString40ByteSimple Payment Token data (Same value used in Approval request)
alotMonthString2ByteInstallment Period (Default: "00" - Lump-sum)
trxAmtNumberTotal Payment Amount
vatAmtNumberVAT
svcAmtNumberService Charge
tranDtString8ByteMerchant Transmission Date (yyyyMMdd)
tranTmString6ByteMerchant Transmission Time (HH24MISS)
Request Example
{
"tid": "T123456789",
"svcId": "SVC_SIMPLE",
"bizrNo": "1234567890",
"mercTrxNo": "ORD_20231225_0001",
"tokenKey": "TOKEN_ABC123XYZ...",
"alotMonth": "00",
"trxAmt": 10000,
"vatAmt": 909,
"svcAmt": 0,
"tranDt": "20231225",
"tranTm": "120000"
}

Response

Parameters

Field NameTypeLengthRequiredDescription
respCdString4ByteResult Code (Success: “0000”)
respMsgString128ByteResult Message
tidString10ByteKICC Terminal ID
svcIdString10ByteKICC Simple Payment Service ID
bizrNoString10ByteMerchant Business Registration Number
mercTrxNoString20ByteMerchant Transaction Number
trxDtString8ByteVAN Processing Request Date
trxTmString6ByteVAN Processing Request Time
cardConfirmNoString40ByteMasked Card Number
Response Example
{
"respCd": "0000",
"respMsg": "Net-Cancel Success",
"tid": "T123456789",
"svcId": "SVC_SIMPLE",
"bizrNo": "1234567890",
"mercTrxNo": "ORD_20231225_0001",
"trxDt": "20231225",
"trxTm": "120005",
"cardConfirmNo": "1234-56**-****-1234"
}