price, package, and Application in the response.
Preparation
- Create an Account Token.
- Obtain the
application_idfrom the Application list. - Select a purchasable
package_idmatching the Application type frompackagesin the service details.
API Overview
Request Body
Single-Application orders useapplication_id + package_id; batch orders use corresponding-length application_ids + package_ids. Regular orders select a payment method in the subsequent /pay/ request. For iOS in-app purchase orders, pass pay_way: "AppleIAP" when creating them, and only one Usage package with metadata.apple_product_id and metadata.apple_price can be selected. Apple in-app purchases use independent preset USD prices and do not stack membership discounts, payment method discounts, or site markups; the amount charged in local currency in other regions is subject to the Apple payment confirmation page.
Response Description
On success, returns201 and the newly created Order object. Key fields include id, price, discount, state, application_id/application_ids, package_id/package_ids, expired_at, and time fields. New orders are usually Pending, followed by calling Pay Order.
priceis the payable amount calculated by the server based on the package, site markup, and discounts; do not calculate it on the client.- Returns
400when the Package does not match the Application service or type. - Free and system-managed Packages cannot be claimed independently through the public order API.
- Creating an order for an Application that does not belong to the current account will be rejected.

