Cancel cash receipt transaction API
Cancels cash receipt transaction processed through iโmport.
Supported PGs
Supported PGs
- KG INICIS
- NHN KCP
- Settle Bank
- NICE Payments
- PAYJOA (Daou)
- KICC
DELETE https://api.iamport.kr/receipts/{imp_uid} Cancels cash receipt transaction processed through i'mport.
Cancels cash receipt transaction processed through i'mport.
(To cancel cash receipt transactions not related to iโmport, refer to
.
)
Parameters
Path
iโmport transaction ID
Responses
200: OK Success
code
* integer
Response code
0: success, Not 0: check the message
message
* string
Response message
A non-zero code includes a message like โInvalid payment infoโ.
response``
(ReceiptAnnotation, optional)
imp_uid``
*
string
i'mport transaction ID
receipt_tid``
string
Cash receipt ID issued by PG
apply_num
*
string
Cash receipt ID issued by National Tax Service
type``
*
string
Recipient type
- Personal use:
person
- Business use:
company
amount
*
integer
Cash receipt Amount
vat
*
integer
VAT
receipt_url``
string
Cash receipt URL
applied_at
*
integer
Issued at UNIX TIMESTAMP
cancelled_at``
integer
Cancelled at
UNIX TIMESTAMP
400: Bad Request Invalid transaction
{
// Response
}
401: Unauthorized Missing or invalid access token
{
// Response
}
500: Internal Server Error Request failed
{
// Response
}
Response Model Schema
Response Model Schema
{
"code": 0,
"message": "string",
"response": {
"imp_uid": "string",
"receipt_tid": "string",
"apply_num": "string",
"type": "person",
"amount": 0,
"vat": 0,
"receipt_url": "string",
"applied_at": 0,
"cancelled_at": 0
}
}
Swagger Test Link