Last updated
Last updated
POST
https://api.iamport.kr/payments/prepare
If the payment amount of the order saved on the merchant-side is different from the amount passed to IMP.requestpay() for the same merchant_uid, the PG payment window call is blocked.
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
Swagger Test Link
merchant_uid*
String
Merchant order ID
amount*
double
Payment amount