ProductValidate
POST/product_validate
ProductValidate
Request
- application/json
Body
required
Array [
]
non-empty
Unique ID of the webhook
Notification creation time, format example: 2021-11-08T05:45:20Z
Update time, format example: 2021-11-08T05:45:20Z
event_type
event version
resource_type
resource version,currenct version:v1
Callback summary information
resource
object
Application ID, assigned by MidasBuy
Unique identification of the gamer within the game
The number of the game server
product_items
object[]
production list
Unique identification of the item within Midasbuy
Unique identification of the item within game
product number
[UNDEFINED, VIRTUAL_CURRENCY, VIRTUAL_ITEM, SUBSCRIPTION, REDEEM_CODE, POINTS, GROWTH_VALUE]
product type
shop region
Responses
- 200
- default
OK
- application/json
- Response
- Example
Response
Array [
]
product_eligible_infos
object[]
if the product_id from the query is not returned, it is assumed to be purchasable by default
Unique identification of the item within Midasbuy
Is purchase prohibited, true indicates purchase is prohibited
Prohibition reason reference: mbuy.apis.enums.IneligibleReason.IneligibleReasonEnums
Time to wait until next purchase is allowed, in seconds
{
"product_eligible_infos": [
{
"product_id": "com.games.abc.sku1",
"is_purchase_forbidden": "false",
"reason": "string",
"time_to_next_purchase": "3600"
}
]
}
Error response structure
- application/json
- Response
- Example
Response
Array [
]
Array [
]
details
object[]
The type of the serialized message.
causes
object[]
{
"name": "string",
"message": "string",
"details": [
{
"@type": "string"
}
],
"debug_id": "string",
"causes": [
{
"cause": "string",
"solution": "string"
}
]
}