检索指定的订单。
订单请求成功。
未找到订单。请确保project_id
和order_id
正确无误。
curl -i -X GET \ 'https://store.xsolla.com/api/v2/project/{project_id}/order/{order_id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "content": {
- "is_free": false,
- "items": [
- {
- "is_free": false,
- "price": {
- "amount": "30",
- "amount_without_discount": "30",
- "currency": "USD"
}, - "quantity": 1,
- "sku": "com.xsolla.item_1"
}
], - "price": {
- "amount": "30",
- "amount_without_discount": "30",
- "currency": "USD"
}
}, - "order_id": 1,
- "status": "paid"
}