Create Lease

Creates a new lease with the provided items for the provided customer.

/v3/leases

POST https://apis.sandbox.flexshopper.com/v3/leases

Headers

Request Body

{
  "data": {
    "leaseId": "\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1YTk...",
    "contract": "...base64 html contract"
  }
}

Response Parameters

A successful request returns the HTTP 200 OK status code and a JSON response body that shows the new lease

A lease's total amount needs to be at least $49.95; otherwise, a LeaseAmountNotSatisfied error code will be returned

If the lease amount is over the customer's spending limit, a ExceedSpendingLimitError error code will be returned

Last updated