---
title: "Order Commit"
method: POST
path: "/orderCommit.do"
tags: ["Shopping and Ticketing"]
---

# Order Commit

`POST /orderCommit.do`

This API is only required in the FR integration process. After create an order and before payment, you need to call this API to obtain the link of the FR order confirmation page and display it to users. Users should confirm the order through this page, and finally customer pay to Atlas.

**Endpoint:**
https://sandbox.atriptech.com/orderCommit.do

## Headers

- `Accept` string, required
- `Content-Type` string, required
- `Accept-Encoding` string, required
- `x-atlas-client-id` string, required
- `x-atlas-client-secret` string, required

## Request body

- object
  - `orderNo` string, required — Order number
  - `redirectUri` string, nullable — The redirect localtion to which when users confirm an order on the FR's confirmation page. If you choose to display the confirmation page in `Popup` mode, please specify this.
  - `iframe` string, nullable — If you want to display the FR's order confirmation page in `iframe` mode, please specify `iframe=true`, and in this case, the `redirectUri` will be ignored.
  - `timeout` integer, nullable — Maximum response time of the API in milliseconds.

## Response `200`

- object
  - `status` 307 | 800 | 316 | 317, required
  - `msg` string — It serves as an additional description of the response result. Especially when the interface reports an error (`status` !=`0`), it is usually a human-readable error message. Note: Do not use this field in any programming scenarios. For example, do not judge whether the interface responds successfully based on this field. Instead, you should only determine it by checking whether the status is equal to`0`at any time.
  - `confirmationUrl` string, required — The FR order confirmation page link.

---

[API](https://skmtc.net/atriptech/apis/default-module.md) · [All operations](https://skmtc.net/atriptech/apis/default-module/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atriptech/default-module/revisions/8e9a8f8010ab/schema)
