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
mallIdString8ByteMerchant ID assigned by KICC
shopTransactionIdString60ByteMerchant Transaction ID (API Idempotency Key)
batchKeyString40ByteBilling Key to delete
removeReqDateString8ByteDeletion Request Date (yyyyMMdd)
Request Example
{  
"mallId": "T5102001",
"shopTransactionId": "{API Idempotency Key}",
"batchKey": "{Billing Key to delete}",
"removeReqDate": "{Deletion Request Date}"
}

Response

Parameters

Field NameTypeLengthRequiredDescription
resCdString4ByteResponse Code (Success: “0000”)
resMsgString1000ByteResponse Message
shopTransactionIdString60ByteReturns 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}"
}