⌨️Update payment amount API

Updates the amount saved via Save payment amount API.

Updates the pre-saved amount.

PUT https://api.iamport.kr/payments/prepare

Request Body

NameTypeDescription

merchant_uid*

String

Merchant order ID

amount*

double

Payment amount

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

merchant_uid * string

Merchant order ID

amount*number

Payment amount

Response Model Schema
{
  "code": 0,
  "message": "string",
  "response": {
    "merchant_uid": "string",
    "amount": 0
  }
}

Last updated