OrderQuery
POSThttps://api-payments.midasbuy.com/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
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[]
total_price
object
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
details
object[]
causes
object[]
{
"name": "string",
"message": "string",
"details": [
{
"@type": "string"
}
],
"debug_id": "string",
"causes": [
{
"cause": "string",
"solution": "string"
}
]
}
- curl
- go
- python
- csharp
- nodejs
- php
- java
- CURL
curl -L 'https://api-payments.midasbuy.com/v2/orders' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"id": "SG2024113000900"
}'