- Last Updated
Payment Completion Notification
Introduction
This document explains how to process item delivery requests sent from the STOVE Billing Middleware to the game server after a user’s payment has been completed.
This function must be implemented on the game server when using the STOVE Billing System.
The call is made in a RESTful API format, and the transmitted information follows the basic API details described below.
When a user’s payment is completed, the STOVE Billing Middleware sends the product information and game item data (JSON) required for item delivery to the game server URL registered in Partners.
The game server must receive the delivery information → process the delivery to the user → respond to the Billing Middleware with the delivery result.
- If the purchased product includes in-game items,
the Payment Completion Notification APIwill send the product information and in-game item details to be delivered. - (Mobile) For OOAP products, depending on the Partners > MobileBilling > Billing Information Integration > OOAP Delivery Method setting, the completed OOAP purchase information will be sent so that the game can freely deliver the OOAP product.
- (Mobile) For subscription products, whenever a user’s subscription status changes (expiration date changes, renewal, etc.), the updated subscription status is sent. (Currently, subscription product service is not provided.)
Note: The TID (STOVE Billing transaction ID) provided via the API must be stored and managed by the game server to prevent duplicate or missing deliveries.
Prerequisites
To use this API, you must register the Notification URL in Partners and enable the Notification setting.
1. Register URL in Partners
- Location 1: Partners > Billing > Billing Settings > Billing Integration Information Management > Payment Completion Notification URL (Noti URL per game world) must be registered in advance.

2. Enable Item Delivery Notification
- Location 2: Partners > Billing > Item Display Management > Sales Channel Management menu. The Game Server (Item Delivery Noti) field must be set to
Y.
Basic Information
POST via registered URL in Partners
Host:
https://i-api.onstove.com (LIVE)
https://i-api.gate8.com (SB)
Content-Type: application/json
Request
Header
| Name | Type | Required | Default Value | Example | Description |
|---|---|---|---|---|---|
| caller-id | String | Y | - | {game_id}_SERVER | API caller info {game_id}_SERVER(server) |
Path Variable
| Name | Type | Required | Default Value | Example | Description |
|---|---|---|---|---|---|
| service_id | String | Y | - | STOVE_QA | Game code (issued by STOVE as game_id) |
Body
| Name | Type | Required | Default Value | Example | Description |
|---|---|---|---|---|---|
| bill_platform_type | string(16) | Y | - | Payment platform type (required for validation) • MOBILE: Mobile billing • SHOP: Store (online billing) | |
| noti_type | string(32) | Y | - | Notification type • ONLINE_PURCHASE: Online general product purchase • IAP_PURCHASE: Mobile general product purchase • IAP_SUBSCRIPT: Mobile subscription product purchase • IAP_OOAP: Mobile OOAP product purchase • ONLINE_CART_PURCHASE: Online cart product purchase ○ Required for web store | |
| world_id | string(30) | N | - | World (server) identifier | |
| guid | string(50) | N | - | STOVE member GUID (unique user ID per game) • Required except for games without GUID (all indie games) • If GUID value does not exist, excluded from parameter list | |
| member_no | long | N | - | Member number • Required only for games without GUID (all indie games) • If GUID value does not exist, excluded from parameter list | |
| character_no | string(20) | N | - | Unique key assigned per game character (issued by STOVE) | |
| country_cd | String | N | - | “KR” | Country of registration |
| age | String | N | - | “10” | Member age |
| txn_time | String(30) | Y | - | Transaction time (Unix Timestamp, UTC+0 based) | |
| extra_data | String(1000) | N | - | Passed via the extraData field in the SDK StovePCStartPurchaseParam | |
| data | json object | Y | - | Detailed data | |
| billstore_sync_flag | boolean | N | false | Y | Store synchronization flag • Excluded from Body delivered to game company |
data(Online Standard Products – PC In-game, SHOP)
| Name | Type | Required | Default Value | Example | Description |
|---|---|---|---|---|---|
| tid | string(20) | Y | - | T202202103125 | Transaction ID issued by STOVE Billing (PC SDK uses TransactionDetailNo) |
| product_id | string(20) | Y | - | p1002 | Product code registered on STOVE Platform |
| product_currency | string(3) | Y | - | KRW, USD | Currency code |
| product_price | decimal | Y | - | 1100, 0.99 | Transaction amount |
| inservice_item_id | string(30) | Y | - | cp7892 | In-game item ID |
| service_order_id | string(20) | N | - | - | Passed via the serviceTxnNo field in the SDK StovePCStartPurchaseParam |
Data(Mobile Standard / OOAP Products)
| Name | Type | Required | Default Value | Example | Description |
|---|---|---|---|---|---|
| tid | string(20) | Y | - | - | Transaction ID issued by STOVE Billing |
| pay_type | string | Y | - | INAPP, OOAP | Payment type: INAPP / OOAP / OOAP_PROMO / OOAP_POINT |
| market_code | string(20) | Y | - | GOOGLE_PLAY | Market code |
| market_product_id | string(50) | Y | - | - | Product code in the market |
| product_id | string(20) | Y | - | - | Product code registered on STOVE Platform |
| product_currency | string(3) | Y | - | KRW, USD | Currency code |
| product_price | decimal | Y | - | 1100, 0.99 | Product price |
| product_price_tier | integer | Y | - | 1 | Tier number (mandatory for mobile market payments) |
| inservice_item_id | string(30) | N | - | - | In-game item ID |
| service_order_id | string(20) | N | - | - | Passed via the extraData or serviceTxnNo field in the SDK StovePCStartPurchaseParam |
| supply_items | array | N | - | - | List of items to be delivered (excluding currency) |
supply_items
| Name | Type | Required | Default Value | Example | Description |
|---|---|---|---|---|---|
| service_item_code | string(30) | Y | - | - | In-game item code |
| total_amount | string | Y | - | - | Delivery quantity (≥1) |
| item_desc | string(100) | N | - | - | Additional item info/description |
Data(Mobile Subscription Products)
| Name | Type | Required | Default Value | Example | Description |
|---|---|---|---|---|---|
| tid | string(20) | Y | - | - | Transaction ID issued by STOVE Billing |
| original_tid | string(20) | Y | - | - | Transaction ID from the first subscription payment |
| pay_type | string | Y | - | SUBSCRIPTION | Payment type |
| market_code | string(20) | Y | - | GOOGLE_PLAY | Market code |
| market_product_id | string(50) | Y | - | - | Product code in the market |
| product_id | string(30) | Y | - | - | Product code registered on STOVE Platform |
| product_currency | string(3) | Y | - | KRW, USD | Currency code |
| product_price | float | Y | - | 1100, 0.99 | Product price |
| product_price_tier | integer | Y | - | 1 | Tier number |
| inservice_item_id | string(30) | N | - | - | Matching in-game item code, if applicable |
| subs_status_code | string | Y | - | PURCHASE | Subscription status code: PURCHASE, RENEWED, PAUSED, GRACE, CANCELED, REVOKE, EXPIRED, CHANGED, NCHANGE, FAILED, UNKNOWN |
| expire_time | long | Y | - | - | Expiration time (Unix Timestamp UTC-0) |
| market_subscript_status | string | Y | - | 7 | Subscription status code from the market |
Response
Body
| Name | Type | Required | Default Value | Example | Description |
|---|---|---|---|---|---|
| code | int | Y | - | 0 | Response code |
| message | string | Y | - | OK | Response message |
Sample
Request
curl --location --request POST 'Registered URL in Partners' \
--header 'caller-id: {{caller-id}}'
Online Standard Product (PC In-game, SHOP)
{
"bill_platform_type": "SHOP",
"noti_type": "ONLINE_PURCHASE",
"guid": "265265",
"txn_time": 1644807685000,
"data": {
"tid": "1909091033503333452",
"product_id": "test_1",
"product_price": 5000.0,
"product_currency": "KRW",
"inservice_item_id": "test_1",
"service_order_id": "testtest_1234"
}
}
Mobile Standard Product / OOAP Product
{
"bill_platform_type": "MOBILE",
"noti_type": "IAP_PURCHASE",
"character_no": "67891",
"guid": "67891",
"world_id": "world_1",
"txn_time": 1644807685000,
"data": {
"tid": "1909091033503333452",
"pay_type": "INAPP",
"market_code": "GOOGLE_PLAY",
"market_product_id": "google_test_1",
"product_id": "test_1",
"product_price": 5000.0,
"product_currency": "KRW",
"product_tier": 1,
"inservice_item_id": "test_1",
"service_order_id": "testtest_1234",
"supply_items": [
{
"service_item_code": "potion_h",
"total_amount": 2,
"item_desc": ""
}
]
}
}
Mobile Subscription Product
{
"bill_platform_type": "MOBILE",
"noti_type": "IAP_SUBSCRIPT",
"character_no": "67891",
"guid": "67891",
"world_id": "world_1",
"txn_time": 1644807685000,
"data": {
"tid": "1909091033503333452",
"original_tid": "o1909091033503333452",
"pay_type": "SUBSCRIPTION",
"market_code": "GOOGLE_PLAY",
"market_product_id": "google_test_1",
"product_id": "test_1",
"product_price": 5000.0,
"product_currency": "KRW",
"product_tier": 1,
"inservice_item_id": "test_1",
"subs_status_code": "PURCHASE",
"expire_time": 2478329479,
"market_subscript_status": "7"
}
}
Response
{
"code": 0,
"message": "OK"
}
Return Code
| HTTP Status Code | response_code | response_message | Description |
|---|---|---|---|
| 200 | 0 | OK | Success |
| 500 | 500 | Internal Server Error | Internal error: Please contact the publishing technical support. |
Contact Us
If you have any questions, please contact us on Discord or by email at store.support@smilegate.com.