OrderQuery
POST/v2/orders
OrderQuery
Request
- application/json
Body
required
non-empty
The ID of the order for which to show details.
Responses
- 200
- default
OK
- application/json
- Response
- Example
Response
Array [
]
non-empty
Application ID, assigned by MidasBuy
non-empty
Transaction occurrence time, following the ISO 8601 standard for date and time representation format, for example: 2006-01-02T15:04:05Z07:00
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
non-empty
Unique identification of the gamer within the game
non-empty
payment order id
non-empty
The number of the game server
[UNDEFINED
, Created
, Paid
, Finished
, Refunded
]
order status
order_items
object[]
>= 1
order_items
non-empty
Unique identification of the item within Midasbuy
non-empty
Unique identification of the item within game
Value must match regular expression ^\d+$
quantity
[UNDEFINED
, VIRTUAL_CURRENCY
, VIRTUAL_ITEM
, SUBSCRIPTION
, REDEEM_CODE
, POINTS
, GROWTH_VALUE
]
product type
price
object
The ISO-4217 currency codes.:https://en.wikipedia.org/wiki/ISO_4217#Active_codes
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
The ISO-4217 currency codes.:https://en.wikipedia.org/wiki/ISO_4217#Active_codes
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.
non-empty
shop region
non-empty
payment channel
{
"app_id": "1450015065",
"create_time": "2021-11-08T05:45:20Z",
"update_time": "2021-11-08T05:45:20Z",
"user_id": "12345678",
"payment_order_id": "SG2024113000900",
"server_id": "1",
"order_status": "Finished",
"order_items": [
{
"product_id": "com.games.abc.sku1",
"game_product_id": "com.games.abc.sku1",
"quantity": "1",
"product_type": "VIRTUAL_GOOD",
"price": {
"currency": "USD",
"amount": "100.123"
}
}
],
"total_price": {
"currency": "USD",
"amount": "100.123"
},
"shop_region": "US",
"payment_channel": "CREDIT_CARD"
}
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"
}
]
}