Skip to main content

ProductValidate

POST 

/product_validate

ProductValidate

Request

Body

required

    id string

    non-empty

    Unique ID of the webhook

    create_time string

    Notification creation time, format example: 2021-11-08T05:45:20Z

    update_time string

    Update time, format example: 2021-11-08T05:45:20Z

    event_type string

    event_type

    event_version string

    event version

    resource_type string

    resource_type

    resource_version string

    resource version,currenct version:v1

    summary string

    Callback summary information

    resource

    object

    app_id string

    Application ID, assigned by MidasBuy

    user_id string

    Unique identification of the gamer within the game

    server_id string

    The number of the game server

    product_items

    object[]

    production list

  • Array [

  • product_id string

    Unique identification of the item within Midasbuy

    game_product_id string

    Unique identification of the item within game

    quantity string

    product number

    product_type enum

    [UNDEFINED, VIRTUAL_CURRENCY, VIRTUAL_ITEM, SUBSCRIPTION, REDEEM_CODE, POINTS, GROWTH_VALUE]

    product type

  • ]

  • shop_region string

    shop region

Responses

OK

Response

    product_eligible_infos

    object[]

    if the product_id from the query is not returned, it is assumed to be purchasable by default

  • Array [

  • product_id string

    Unique identification of the item within Midasbuy

    is_purchase_forbidden boolean

    Is purchase prohibited, true indicates purchase is prohibited

    reason enum

    [UNDEFINED, NO_QUALIFICATION, ALREADY_OWNED, ACCOUNT_ISSUE]

    Prohibition reason

    time_to_next_purchase int64

    Time to wait until next purchase is allowed, in seconds

  • ]

Loading...