---
title: "Create order by customer"
method: POST
path: "/v2/customer/{customer_uuid}/order"
tags: ["Customer"]
---

# Create order by customer

`POST /v2/customer/{customer_uuid}/order`

Create an order for a tokenized customer

## Path parameters

- `customer_uuid` string, required

## Headers

- `Sezzle-Request-Id` string

## Request body

- OrderBasic
  - `intent` 'AUTH' | 'CAPTURE' — - Use CAPTURE if payment should be captured immediately upon shopper authorization - Use AUTH if there is any post-authorization validation needed prior to capture, such as inventory validation or regulatory requirements, or if merchant policy is to charge the payment method at time of shipment - Submit a capture request via the API or your Merchant Dashboard before the authorization expires. - The authorization expiration window can be set from 30 minutes up to 7 days in your Merchant Dashboard Settings. - If not specified, the value will default to CAPTURE
  - `reference_id` string — The checkout or cart ID from the merchant, currently used for tracking only (must contain only alphanumeric characters, dashes (-), and underscores (_))
  - `order_amount` Price
    - `amount_in_cents` integer, required — The amount in cents
    - `currency` string, required — The 3 character currency code as defined by ISO 4217

## Response `200`

Successful Operation

- object
  - `uuid` string — The unique identifier for this response
  - `links` Link[] — Available API links prefilled with UUID with accompanying method
    - `href` string, required — The fully qualified URL for the API endpoint
    - `rel` 'self' | 'capture' | 'checkout' | 'create' | 'customer' | 'list' | 'order' | 'preapprove' | 'refund' | 'release' | 'session' — The relationship type indicating the purpose of this link (e.g., 'self' for the current resource, 'create' for creating a new resource, 'list' for listing resources)
    - `method` 'GET' | 'POST' | 'PATCH' | 'DELETE' — The HTTP method to use when calling this API endpoint
  - `intent` 'AUTH' | 'CAPTURE' — - Use CAPTURE if payment should be captured immediately upon shopper authorization - Use AUTH if there is any post-authorization validation needed prior to capture, such as inventory validation or regulatory requirements, or if merchant policy is to charge the payment method at time of shipment - Submit a capture request via the API or your Merchant Dashboard before the authorization expires. - The authorization expiration window can be set from 30 minutes up to 7 days in your Merchant Dashboard Settings. - If not specified, the value will default to CAPTURE
  - `reference_id` string — The checkout or cart ID from the merchant, currently used for tracking only (must contain only alphanumeric characters, dashes (-), and underscores (_))
  - `order_amount` Price
    - `amount_in_cents` integer, required — The amount in cents
    - `currency` string, required — The 3 character currency code as defined by ISO 4217
  - `authorization` Authorization — The authorization details for the order
    - `authorization_amount` Price
      - `amount_in_cents` integer, required — The amount in cents
      - `currency` string, required — The 3 character currency code as defined by ISO 4217
    - `authorization_amount_in_user_currency` Price
      - `amount_in_cents` integer, required — The amount in cents
      - `currency` string, required — The 3 character currency code as defined by ISO 4217
    - `approved` boolean — Shopper approval status for the order
    - `expiration` string, date-time — The date until which the merchant can capture the order amount. ISO 8601 date/time format

## Other responses

- `400` — Invalid request
- `401` — Unauthorized. Returned for any failed bearer or basic auth, including expired bearer tokens.
- `404` — The specified resource was not found
- `422` — Unable to process the request entity

---

[API](https://skmtc.dev/sezzle/apis/sezzle-api-v2.md) · [All operations](https://skmtc.dev/sezzle/apis/sezzle-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sezzle/sezzle-api-v2/revisions/878c32abbb37/schema)
