sayren Docs
스토어 설정

결제 설정 조회

결제 도메인과 지원하는 모든 PG의 연결 상태(간편결제 포함)를 조회한다. 비밀 값(시크릿 키·API Secret·웹훅 시크릿)은 앞 4자리 마스킹만 나오고 평문은 어떤 응답에도 없다. 콘솔에 로그인한 **OWNER 전용**이다. ADMIN·STAFF, API 토큰(PAT), M2M 클라이언트, 3rd-party 앱이 위임받은 토큰은 스코프가 있어도 `403 INSUFFICIENT_ROLE`이다.

GET
/v1/store/payment-settings

결제 도메인과 지원하는 모든 PG의 연결 상태(간편결제 포함)를 조회한다. 비밀 값(시크릿 키·API Secret·웹훅 시크릿)은 앞 4자리 마스킹만 나오고 평문은 어떤 응답에도 없다. 콘솔에 로그인한 OWNER 전용이다. ADMIN·STAFF, API 토큰(PAT), M2M 클라이언트, 3rd-party 앱이 위임받은 토큰은 스코프가 있어도 403 INSUFFICIENT_ROLE이다.

AuthorizationBearer <token>

userToken(계정 스코프) 또는 storeToken(스토어 스코프)

In: header

Response Body

application/json

curl -X GET "https://example.com/v1/store/payment-settings"
{  "meta": {    "status": 200,    "code": "OK",    "message": "OK",    "isSuccess": true  },  "data": {    "checkoutOrigins": [      "string"    ],    "providers": [      {        "provider": "tosspayments",        "displayName": "string",        "connected": true,        "enabled": true,        "priority": 0,        "environment": "TEST",        "publicConfig": {          "clientKey": "string"        },        "secrets": [          {            "field": "string",            "configured": true,            "masked": "string"          }        ],        "lastVerification": {          "result": "SUCCESS",          "message": "string",          "checkedAt": "string"        },        "updatedAt": "string",        "sandboxMode": true,        "credentialSets": {          "TEST": {            "environment": "TEST",            "publicConfig": {              "clientKey": "string"            },            "secrets": [              {                "field": "string",                "configured": true,                "masked": "string"              }            ],            "lastVerification": {              "result": "SUCCESS",              "message": "string",              "checkedAt": "string"            },            "updatedAt": "string"          },          "LIVE": {            "environment": "TEST",            "publicConfig": {              "clientKey": "string"            },            "secrets": [              {                "field": "string",                "configured": true,                "masked": "string"              }            ],            "lastVerification": {              "result": "SUCCESS",              "message": "string",              "checkedAt": "string"            },            "updatedAt": "string"          }        },        "liveGate": {          "status": "LOCKED",          "conditions": [            {              "code": "TEST_CONNECTION",              "met": true,              "message": "string"            }          ],          "openedAt": "string"        },        "easyPayProviders": [          "string"        ],        "retiredCredentialCount": 0,        "routingExclusion": null      }    ],    "environment": "TEST",    "candidates": []  },  "error": null}