> For the complete documentation index, see [llms.txt](https://developers-apps-in-toss.toss.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/iap.md).

# IAP

인앱결제 주문서를 열고, 상품·주문·구독 상태를 조회할 수 있어요. 상품 지급을 완료했다는 결과도 전달할 수 있어요.

> 참고: `completeProductGrant` / `getSubscriptionInfo`를 호출할 때는 native 호출 형식에 맞춰 `{ params: { orderId } }` 형태로 인자를 전달해요.

### API 목록

| API                                                                                                                                                       | 설명                    |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| [`IAP.createOneTimePurchaseOrder`](https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/iap/iap.createonetimepurchaseorder.md)           | 단건 인앱결제 주문서 페이지로 이동해요 |
| [`IAP.createSubscriptionPurchaseOrder`](https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/iap/iap.createsubscriptionpurchaseorder.md) | 구독 인앱결제 주문서 페이지로 이동해요 |
| [`IAP.getProductItemList`](https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/iap/iap.getproductitemlist.md)                           | 구매 가능한 상품 목록을 가져와요    |
| [`IAP.getPendingOrders`](https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/iap/iap.getpendingorders.md)                               | 대기 중인 주문 목록을 가져와요     |
| [`IAP.getCompletedOrRefundedOrders`](https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/iap/iap.getcompletedorrefundedorders.md)       | 완료·환불된 주문 목록을 가져와요    |
| [`IAP.completeProductGrant`](https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/iap/iap.completeproductgrant.md)                       | 상품 지급 완료를 앱에 알려요      |
| [`IAP.getSubscriptionInfo`](https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/iap/iap.getsubscriptioninfo.md)                         | 구독 주문의 현재 상태 정보를 가져와요 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers-apps-in-toss.toss.im/documentation/sdk/domains-api/iap.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
