Skip to main content

OrderQuery

POST 

/v2/orders

OrderQuery

Request

Body

required

    id string

    non-empty

    The ID of the order for which to show details.

Responses

OK

Response

    app_id string

    non-empty

    Application ID, assigned by MidasBuy

    create_time string

    non-empty

    Transaction 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

    Transaction 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 identification of the gamer within the game

    payment_order_id string

    non-empty

    payment order id

    server_id string

    non-empty

    The number of the game server

    order_status enum

    [UNDEFINED, Created, Paid, Finished, Refunded]

    order status

    order_items

    object[]

    >= 1

    order_items

  • Array [

  • product_id string

    non-empty

    Unique identification of the item within Midasbuy

    game_product_id string

    non-empty

    Unique identification of the item within game

    quantity string

    Value must match regular expression ^\d+$

    quantity

    product_type enum

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

    product type

    price

    object

    currency string

    The ISO-4217 currency codes.:https://en.wikipedia.org/wiki/ISO_4217#Active_codes

    amount string

    Value must match regular expression ^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$

    Amount, in units of the currency. For different currencies, we have restrictions on the number of decimal places for the amount. For example: for currencies like JPY, it's usually not a fraction, but an integer, like 100. For currencies like TND, it's subdivided into thousandths, so it's a decimal fraction, like 100.123. For the number of decimal places required for each currency code, please refer to the currency code.

  • ]

  • total_price

    object

    currency string

    The ISO-4217 currency codes.:https://en.wikipedia.org/wiki/ISO_4217#Active_codes

    amount string

    Value must match regular expression ^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$

    Amount, in units of the currency. For different currencies, we have restrictions on the number of decimal places for the amount. For example: for currencies like JPY, it's usually not a fraction, but an integer, like 100. For currencies like TND, it's subdivided into thousandths, so it's a decimal fraction, like 100.123. For the number of decimal places required for each currency code, please refer to the currency code.

    shop_region string

    non-empty

    shop region

    payment_channel string

    non-empty

    payment channel

Loading...