Get PG MIDs API
Gets a list of PG settings (MIDs) configured in the Admin console.
GET https://api.iamport.kr/users/pg Gets a list of PG settings (MIDs) configured in the Admin console.
GET https://api.iamport.kr/users/pg
Gets a list of PG settings (MIDs) configured in the Admin console.
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
(Array[PgSettingAnnotation], optional)
pg_provider
*
string
PG code
pg_id
*
string
PG MID
sandbox
*
boolean
Test mode?
type
*
string
PG setting type
payment
: Authenticated payment (Admin console > PG settings [general/subscription] tab)api_payment
: API payment (Admin console > PG settings [general/key-in] tab)certification
: Identity verification (Admin console > identity verification tab)
Response Model Schema
Response Model Schema
{
"code": 0,
"message": "string",
"response": [
{
"pg_provider": "string",
"pg_id": "string",
"sandbox": true,
"type": "payment"
}
]
}
Swagger Test Link