---
title: "Create a new order"
method: POST
path: "/order"
tags: ["Order"]
---

# Create a new order

`POST /order`

## Headers

- `Date` string
- `Authorization` string
- `Digest` string

## Request body

- GithubComInfiniMoneyInfiniServicesGoAppInfiniPaymentServiceApiOrderV1CreateOrderReq
  - `client_reference` string, string — Client Reference
  - `request_id` string, string, required — request id (unique)
  - `order_desc` string, string — Order description
  - `currency` string, string — Order currency (USD, EUR, GBP, CAD, SGD, AUD)
  - `amount` string, string, required — Order amount
  - `merchant_alias` string, string — customized merchant alias (optional)
  - `expires_in` integer — Time to live in seconds (e.g., 3600 for 1 hour, 0 for default order expires time)
  - `success_url` string, string — Success redirect Url
  - `failure_url` string, string — Failure redirect Url
  - `pay_methods` integer[] — Enabled payment modes for this order (optional, inherits from merchant config if not specified)
  - `email` string, string — Payer email (optional)

## Response `200`

- GithubComInfiniMoneyInfiniServicesGoAppInfiniPaymentServiceApiOrderV1CreateOrderRes
  - `client_reference` string, string
  - `request_id` string, string
  - `order_id` string, string — Order id
  - `checkout_url` string, string — Checkout url
  - `token` string, string — Token

---

[API](https://skmtc.net/infini/apis/infini-acquiring-api.md) · [All operations](https://skmtc.net/infini/apis/infini-acquiring-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/infini/infini-acquiring-api/revisions/ef0638d19a3a/schema)
