> For the complete documentation index, see [llms.txt](https://onestore-dev.gitbook.io/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onestore-dev.gitbook.io/dev/eng/tools/billing/old-version/v19/one-store-iap-upgrade-guide/one-store-iap-api-upgrade-guide/pns-message-details-change-history.md).

# PNS Message Details Change History

### **Message Format Change History** <a href="#pnsmessagedetailschangehistory-messageformatchangehistory" id="pnsmessagedetailschangehistory-messageformatchangehistory"></a>

* To support currencies other than the Korean won, the data type of billing amount (price) has changed from Number to String.
* To support currencies other than the Korean won, the currency code (priceCurrencyCode) of the billing amount has been added.
* To support currencies other than the Korean won, the data type of amount per payment method (amount) has changed from Number to String.
* The purchaseToken, environment, marketCode fields have been added to the response specifications.

**Request Body : JSON Format**

| Element Name       | Data Type     | Description                                                                                                       |                                                                        |
| ------------------ | ------------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| msgVersion         | String        | <p>Message version</p><ul><li>Development (Sandbox): 3.0.0D</li><li>Commercial (commercial test): 3.0.0</li></ul> |                                                                        |
| packageName        | String        | Package name of the app                                                                                           |                                                                        |
| productId          | String        | In-app ID                                                                                                         |                                                                        |
| messageType        | String        | Fix SINGLE\_PAYMENT\_TRANSACTION                                                                                  |                                                                        |
| purchaseId         | String        | Purchase ID                                                                                                       |                                                                        |
| developerPayload   | String        | Identifier managed by the developer to identify purchases                                                         |                                                                        |
| purchaseTimeMillis | Long          | Time (ms) when the billing is completed in ONE store billing system                                               |                                                                        |
| purcahseState      | String        | COMPLETED: billing completed / CANCELED: cancelled                                                                |                                                                        |
| price              | String        | Payment amount                                                                                                    |                                                                        |
| priceCurrencyCode  | String        | Currency code for payment amount (KRW, USD, ...)                                                                  |                                                                        |
| productName        | String        | It is transmitted when the developer sets up the customized in-app title at the time of purchase request.         |                                                                        |
| paymentTypeList    | List          | List of payment information                                                                                       |                                                                        |
| <p><br></p>        | paymentMethod | String                                                                                                            | Payment method (for details, refer to the definition of paymentMethod) |
| <p><br></p>        | amount        | String                                                                                                            | Amount per payment method                                              |
| billingKey         | String        | Billing key for extended function                                                                                 |                                                                        |
| isTestMdn          | Boolean       | <p>Test phone or not<br>(true: test phone, false: not test phone)</p>                                             |                                                                        |
| purchaseToken      | String        | Purchase token                                                                                                    |                                                                        |
| environment        | String        | <p>Test environment</p><ul><li>Development (Sandbox): SANDBOX</li><li>Commercial:COMMERCIAL</li></ul>             |                                                                        |
| marketCode         | String        | Market identification code (MKT\_ONE: ONE store)                                                                  |                                                                        |
| signature          | String        | Signature for this message                                                                                        |                                                                        |

<br>

**Example**

```
{
    "msgVersion" : "3.0.0"
    "packageName":"com.onestore.pns",
    "productId":"0900001234",
    "messageType":"SINGLE_PAYMENT_TRANSACTION",
    "purchaseId":"SANDBOX3000000004564",
    "developerPayload":"OS_000211234",
    "purchaseTimeMillis":24431212233,
    "purchaseState":"COMPLETED",
    "price":"10000",
    "priceCurrencyCode":"KRW"
    "productName":"GOLD100(+20)"
    "paymentTypeList":[
        {
            "paymentMethod":"DCB",
            "amount":"3000"
        },
        {
            "paymentMethod":"ONESTORECASH",
            "amount":"7000"
        }
    ],
    "billingKey" : "36FED4C6E4AC9E29ADAF356057DB98B5CB92126B1D52E8757701E3A261AF49CCFBFC49F5FEF6E277A7A10E9076B523D839E9D84CE9225498155C5065529E22F5",
    "isTestMdn" : true,
    "purchaseToken" : "TOKEN",
    "environment" : "SANDBOX",
    "marketCode" : "MKT_ONE"
    "signature" "ajkfl;askfjkladfjksl"
}
```


---

# 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 dynamically by asking a question.

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

```
GET https://onestore-dev.gitbook.io/dev/eng/tools/billing/old-version/v19/one-store-iap-upgrade-guide/one-store-iap-api-upgrade-guide/pns-message-details-change-history.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
