Get payment amount API
Gets the amount saved via save payment amount API.
GET https://api.iamport.kr/payments/prepare/{merchant_uid} Gets the pre-saved amount.
GET https://api.iamport.kr/payments/prepare/{merchant_uid}
Gets the pre-saved amount.
Parameters
Body
merchant_uid*
String
Merchant order 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 (PaymentPrepareAnnotation, optional)
merchant_uid``
*
string
Merchant order ID
amount
*
number
Payment amount
401: Unauthorized Missing or invalid access token
{
// Response
}
Response Model Schema
Response Model Schema
{
"code": 0,
"message": "string",
"response": {
"merchant_uid": "string",
"amount": 0
}
}