Developers
V1
V2

Get cash receipt amount API

Gets Naver Pay amount subject to issuance of a cash receipt.

GET https://api.iamport.kr/payments/{imp_uid}/naver/cash-amount

Gets Naver Pay amount subject to issuance of a cash receipt.

Parameters

Path

imp_uid*
String

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`` (NaverCashAmountAnnotation, optional)

amount_total`` integer

Total amount subject to cash receipt issuance

amount_by_npoint integer

Npoint amount out of the amount_total

amount_by_primary integer

Amount charged with the main payment method (credit card, account transfer etc.) out of the amount_total

amount_supply integer

List price amount out of the amount_total

amount_vat integer

VAT out of the amount_total

400: Bad Request
Invalid request - non-Naver Pay transaction specified
{
  // Response
}
401: Unauthorized
Missing or invalid access
{
  // Response
}
500: Internal Server Error
Invalid response
{
  // Response
}

Response Model Schema

{
  "code": 0,
  "message": "string",
  "response": {
    "amount_total": 0,
    "amount_by_npoint": 0,
    "amount_by_primary": 0,
    "amount_supply": 0,
    "amount_vat": 0
  }
}