# Create order for paid offer chain step Creates an order for the item associated with the specified paid offer chain step. The created order gets the new order status. To open the payment UI in a new window, use the following link: https://secure.xsolla.com/paystation4/?token={token}, where {token} is the received token. For testing purposes, use this URL: https://sandbox-secure.xsolla.com/paystation4/?token={token}. Notice This method must be used on the client side. The user's IP address is used to determine the country, which affects the currency and available payment methods. Using this method from the server side may result in incorrect currency detection and affect payment methods in Pay Station. Notice Use this call only for paid offer chain steps. For free steps, use the Claim free offer chain step call instead. Endpoint: POST /v2/project/{project_id}/user/offer_chain/{offer_chain_id}/step/number/{step_number}/order Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 - `offer_chain_id` (integer, required) Offer chain ID. Example: 101 - `step_number` (integer, required) Offer chain step number. Example: 1 ## Response 200 fields (application/json): - `order_id` (integer) Order ID. - `token` (string) Payment token. ## Response 401 fields (application/json): - `statusCode` (integer) Example: 401 - `errorCode` (integer) Example: 1501 - `errorMessage` (string) Example: "[0401-1501]: Authorization failed: Provide authorization" ## Response 404 fields (application/json): - `statusCode` (integer) Example: 422 - `errorCode` (integer) Example: 1102 - `errorMessage` (string) Example: "[0401-1102]: Unprocessable Entity. The property `property_name` is required" - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" - `errorMessageExtended` (object,null) ## Response 422 fields (application/json): - `statusCode` (integer) Example: 422 - `errorCode` (integer) Example: 1102 - `errorMessage` (string) Example: "[0401-1102]: Unprocessable Entity. The property `property_name` is required" - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" - `errorMessageExtended` (object,null)