Skip to main content

Delete Billing Key

This API is used to delete a previously issued Billing Key when it is no longer in use.

Request​

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

Supports API Idempotency (See API Idempotency)

Parameters​

Field NameTypeLengthRequiredDescription
mallIdString8Byte✅Merchant ID assigned by KICC
shopTransactionIdString60Byte✅Merchant Transaction ID (API Idempotency Key)
batchKeyString40Byte✅Billing Key to delete
removeReqDateString8Byte✅Deletion Request Date (yyyyMMdd)
Request Example
{  
"mallId": "T5102001",
"shopTransactionId": "{API Idempotency Key}",
"batchKey": "{Billing Key to delete}",
"removeReqDate": "{Deletion Request Date}"
}

Response​

Parameters​

Field NameTypeLengthRequiredDescription
resCdString4Byte✅Response Code (Success: “0000”)
resMsgString1000Byte✅Response Message
shopTransactionIdString60Byte✅Returns the same value sent in the request
mallIdString8ByteMerchant ID assigned by KICC
removeReqDateString8ByteReturns the same value sent in the request
Response Example
{
"resCd": "0000",
"resMsg": "Success",
"mallId": "{Requested Merchant ID}",
"shopTransactionId": "{Requested API Idempotency Key}",
"removeReqDate": "{Deletion Request Date}"
}