# 2. 나이스 페이먼츠 결제 연동은 어떻게 하나요?

오마이앱은 사용자 편의를 위해 각 플랫폼에 명시되어 있는 내용을 간추려서 제공하고 있어요. 상세한 내용 또는 실제 관련 문의사항은 해당 플랫폼에 문의해 주세요.

***

## **나이스 페이먼츠 가입**

* [나이스 페이 가입 링크](https://start.nicepay.co.kr/merchant/login/main.do)

#### 참고사항

* 스타트업 서비스의 경우 PG사 가입이 한 번에 승인되지 않을 수 있어요. 해당 고객센터에 문의 후 서류를 보완하여 다시 가입신청을 진행해 주세요.&#x20;
* 서비스가 어느 정도 완성 된 이후에 PG사 승인이 가능해요. (서비스 완성 전에는 PG사 승인이 나지 않음)
* 단일 결제(건 별 결제)는 비교적 승인이 빨라요. (2\~3일 소요)

***

나이스 페이먼츠 계정을 생성했다면 API키를 통해 오마이앱과 연동시켜 볼게요.

## API 연동하기

#### 1️⃣ API Keys 확인

\[나이스 페이 관리자 페이지]에 접속 ➡︎ 좌측 상단 이름 클릭 ➡︎ 테스트 상점 생성 ➡︎ 개발정보 클릭 ➡︎ Key 정보 발급 버튼 클릭 ➡︎ Server 승인, Basic 인증 방식으로 Key 발급하기 ➡︎ "클라이언트 키, 시크릿 키 복사

<figure><img src="/files/WOWtwzqLNcE8bA2MRAjV" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/XTIxIzIco2ckHePwrzi0" alt=""><figcaption></figcaption></figure>

#### 2️⃣ 관리자 웹에 Key 추가

인터넷 새 창 ➡︎ 관리자 웹 ➡︎ 고급 설정 ➡︎ API 키 설정 ➡︎ 다음 이미지와 같이 값을 추가해 주세요.

(시스템 설정에 있는 클라이언트 키를 API Key에 추가하고 시크릿 키를 secretKey에 추가해 주세요.)

<figure><img src="/files/Jfv25jefVcB8ej1flldo" alt=""><figcaption></figcaption></figure>

#### 3️⃣ 테스트

카드 등록 및 삭제가 정상적으로 동작하는 것을 확인할 수 있어요.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ohmyapp.io/main/guide/faq/payment_api/2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
