---
title: "Initialize the Lease for Checkout"
method: POST
path: "/application/initialize/"
tags: ["Direct Checkout"]
---

# Initialize the Lease for Checkout

`POST /application/initialize/`

To begin the checkout, we must open the checkout by  submitting the full contents of the shopping cart.

## Request body

- object
  - `code` string
  - `customer` object
    - `billing` BillingInfo
      - `first_name` string
      - `middle_name` string
      - `last_name` string
      - `address` string
      - `address2` string
      - `city` string
      - `state` string
      - `country` string
      - `zip` string
      - `phone` string
      - `email` string
    - `shipping` ShippingInfo
      - `first_name` string
      - `middle_name` string
      - `last_name` string
      - `address` string
      - `address2` string
      - `city` string
      - `state` string
      - `country` string
      - `zip` string
      - `phone` string
      - `email` string
  - `items` union[]
    - union
      - object
        - `display_name` string
        - `sku` string
        - `unit_price` number
        - `quantity` number
        - `leasable` boolean
        - `shipping` object
          - `sku` string
          - `display_name` string
          - `unit_price` string
          - `quantity` string
        - `warranty` InputWarranty
          - `price` number
          - `name` string
          - `code` string
      - object
        - `display_name` string
        - `sku` string
        - `unit_price` number
        - `quantity` number
        - `leasable` boolean
  - `checkout` object
    - `customer_id` string
    - `discounts` object[]
      - `discount_name` string
      - `discount_ammount` number
  - `urls` object
    - `return` string
    - `cancel` string
  - `phone` string
  - `new_address` boolean

## Response `200`

default response

---

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