⌨️Get PG MIDs API

Gets a list of PG settings (MIDs) configured in the Admin console.

Gets a list of PG settings (MIDs) configured in the Admin console.

GET https://api.iamport.kr/users/pg

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 codes

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
{
  "code": 0,
  "message": "string",
  "response": [
    {
      "pg_provider": "string",
      "pg_id": "string",
      "sandbox": true,
      "type": "payment"
    }
  ]
}

Last updated