Purchase data
Name | Required | Type | Description |
order_id | Yes | string |
Unique order ID generated by client. If empty, shows
purchase_id
instead.
|
purchase_id | Yes | string | Purchase ID |
status | Yes | string |
Purchase status. Possible values include
created
,
processing
,
success
,
failure
, and
expired
.
|
app_id | Yes | string | Application ID |
price | Yes | string | Total price |
item_list | No | Item Detail | Item detail. Please refer to Item Detail |
currency | Yes | string | Currency code |
paid_timestamp | No | long | Time of purchase in Unix time |
user_data | No | string | A dev-definted string that will be returned when request is paid successfully |
Item Detail
Name | Required | Type | Description |
Item_id | Yes | string | Item ID |
quantity | Yes | int | Item quantity |
subtotal_price | Yes | string | Unit price multiplied by quantity |
category | No | string | Item category (optional) |
description | No | string | Item description (optional) |