Create Lease
Creates a new lease with the provided items for the provided customer.
Last updated
Was this helpful?
Was this helpful?
{
"data": {
"leaseId": "\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1YTk...",
"contract": "...base64 html contract",
"frequency": "weekly",
"term": 52,
"payment": 17.28,
"cashPrice": 400,
"costOfRental": 440,
"payTomorrowTaxTotal": 12.34,
"collectPrepayment": true
}
}{
"error": {
"statusCode": 400,
"code": "UserAlreadyExists",
"message": "User already exists with email ex@example.com",
"data": {}
}
}