跳到主要内容

PromotionNotification

POST 

/promotion_notification

PromotionNotification

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

    non-empty

    Application ID, assigned by MidasBuy

    create_time string

    non-empty

    Promotion occurrence time, following the ISO 8601 standard for date and time representation format, for example: 2006-01-02T15:04:05Z07:00

    update_time string

    non-empty

    Promotion last update time, following the ISO 8601 standard for date and time representation format, for example: 2006-01-02T15:04:05Z07:00

    user_id string

    non-empty

    Unique identifier of the game player within the game

    server_id string

    non-empty

    The number of the game server

    promotion_order_id string

    non-empty

    Midasbuy promotion order number, globally unique

    payment_order_id string

    Payment order number associated with the promotion

    promotion_items

    object[]

    >= 1

    product list

  • Array [

  • promotion_id string

    non-empty

    promotion id

    model_id string

    non-empty

    promotion model id

    product_id string

    non-empty

    product id

    game_product_id string

    non-empty

    game product id

    quantity string

    Value must match regular expression ^\d+$

    game product quantity

    product_type enum

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

    product type

  • ]

Responses

OK

Response

    processed boolean
    message string
Loading...