---
title: "/orders/{orderId}/confirm"
method: POST
path: "/orders/{orderId}/confirm"
---

# /orders/{orderId}/confirm

`POST /orders/{orderId}/confirm`

Sandbox (Testing): https://gateway.sand.us.zip.co/orders/{orderId}/confirm

Confirms the supplied authorized order and initiates the payment plan for the customer. If sync query parameter is set to true, replies synchronously with callback payload, otherwise, replies asynchronously on callback URL. Default sync value is false for asynchronous behavior.

Merchants using the Standard Checkout with the mobile SDK will allow customers to use the Zip checkout without starting an order until this API call is made by the merchant. This same feature can be leveraged for standard online checkouts as well. The payment plan for the customer will not begin until a successful callback is received by the merchant for this operation. This operation does allow merchants to add shipping/taxes after the Zip checkout for the order. This will be processed with the currency of the original order. This functionality is enabled upon request. Please work with the integration team during onboarding if this is needed in your implementation.

## Path parameters

- `orderId` string, required

## Query parameters

- `sync` boolean

## Headers

- `QP-Territory` string, required
- `X-QP-Signature` string, required

## Request body

- object
  - `merchantId` string — Gets or sets the MerchantId
  - `amount` number, double — Gets or sets the Amount of the capture
  - `shippingAmount` number, double — Gets or sets the optional shipping amount associated with the order.
  - `taxAmount` number, double — Gets or sets the optional tax amount associated with the order
  - `merchantReference` string, required — Gets or sets the Merchant Reference of the capture
  - `callbackUrl` string — Gets or sets the url to callback with the confirm result
  - `test` boolean — Gets or sets a value indicating whether this is a test order
  - `metadata` object — Gets or sets optional metadata associated with this capture

## Response `200`

200

- object
  - `timestamp` string
  - `merchantId` string
  - `orderId` string
  - `currency` string
  - `amount` integer
  - `merchantReference` string
  - `test` boolean
  - `success` boolean
  - `message` string
  - `metadata` object
    - `additionalProp` string
  - `operation` string

---

[API](https://skmtc.dev/zip/apis/gateway-api.md) · [All operations](https://skmtc.dev/zip/apis/gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zip/gateway-api/revisions/4b1127fdca1e/schema)
