# 결제응답 파라미터

{% hint style="warning" %}
**Deprecated**

이 문서는 더 이상 관리되지 않습니다.

[PortOne 개발자센터](https://developers.portone.io/)를 이용해주세요.
{% endhint %}

## 결제응답 파라미터 정의

### **`transactionType`** <mark style="color:green;">**string**</mark>

> **트랜잭션 유형**
>
> * 일반결제의 경우 무조건 `PAYMENT`로 전달됩니다.

### **`txId`** <mark style="color:green;">**string**</mark>

> **포트원에서 채번한 결제 트랜잭션 ID**
>
> * 포트원에서 채번하는 결제 고유 번호입니다.

### **`paymentId`** <mark style="color:green;">**string**</mark>

> **가맹점이 채번하는 주문 ID**
>
> * 가맹점이 채번하는 주문 고유 번호입니다.

### **`code`** <mark style="color:green;">**string**</mark>

> **에러 코드**
>
> * `code`가 존재하는 경우 에러임을 나타냅니다.

### **`message`** <mark style="color:green;">**string**</mark>

> **에러 메시지**
>
> * 에러 메시지입니다.


---

# 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://portone.gitbook.io/docs/v2-payment/v2-sdk/payment-response.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.
