Leases
List leases
Base64-encoded clientId:clientSecret
In: header
Query Parameters
00 <= value101 <= value <= 100Filter by metadata key-value pair
Header Parameters
API version header
"1"Response Body
application/json
application/json
curl -X GET "https://api.obligo.com/leases?offset=0&limit=10&sortBy=string&descending=true&search=string&metadata%5Bkey%5D=string" \ -H "Obligo-Version: 1"{
"totalItems": 0,
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"referenceCode": "string",
"startsAt": "2019-08-24",
"endsAt": "2019-08-24",
"propertyId": "8e8b8450-dc1b-4360-8109-7067337b42cb",
"assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",
"fundsRouterId": "20f31fbb-7ba1-4ccf-a098-fd2da5d475fa",
"address": {
"line": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
},
"unit": "string",
"rent": 0,
"termType": "Fixed",
"applicationStatus": "Approved",
"assignee": {
"name": "string",
"email": "user@example.com"
},
"managementUrl": "string",
"leaseCreatedAt": "2019-08-24T14:15:22Z",
"signedAt": "2019-08-24T14:15:22Z",
"moveInAt": "2019-08-24T14:15:22Z",
"moveOutAt": "2019-08-24T14:15:22Z",
"onNoticeAt": "2019-08-24T14:15:22Z",
"renewalSignedAt": "2019-08-24T14:15:22Z",
"eviction": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"approvedAt": "2019-08-24T14:15:22Z",
"closedAt": "2019-08-24T14:15:22Z",
"metadata": {}
}
]
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Create a lease
Base64-encoded clientId:clientSecret
In: header
Query Parameters
Idempotency key for POST requests (cached 24h)
uuidHeader Parameters
API version header
"1"datedateuuiduuidAmount in cents
"Fixed" | "MonthToMonth" | "AtWill""Approved" | "Pending" | "Denied"Response Body
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/leases?idempotencyId=497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get a lease
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1"Response Body
application/json
application/json
application/json
curl -X GET "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"referenceCode": "string",
"startsAt": "2019-08-24",
"endsAt": "2019-08-24",
"propertyId": "8e8b8450-dc1b-4360-8109-7067337b42cb",
"assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",
"fundsRouterId": "20f31fbb-7ba1-4ccf-a098-fd2da5d475fa",
"address": {
"line": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
},
"unit": "string",
"rent": 0,
"termType": "Fixed",
"applicationStatus": "Approved",
"assignee": {
"name": "string",
"email": "user@example.com"
},
"managementUrl": "string",
"leaseCreatedAt": "2019-08-24T14:15:22Z",
"signedAt": "2019-08-24T14:15:22Z",
"moveInAt": "2019-08-24T14:15:22Z",
"moveOutAt": "2019-08-24T14:15:22Z",
"onNoticeAt": "2019-08-24T14:15:22Z",
"renewalSignedAt": "2019-08-24T14:15:22Z",
"eviction": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"approvedAt": "2019-08-24T14:15:22Z",
"closedAt": "2019-08-24T14:15:22Z",
"metadata": {}
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Update a lease
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1"datedateuuidAmount in cents
Response Body
application/json
application/json
application/json
curl -X PUT "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Close a lease
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1"Response Body
application/json
application/json
curl -X POST "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/close" \ -H "Obligo-Version: 1"{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get lease financials
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1"Response Body
application/json
application/json
application/json
curl -X GET "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/financials" \ -H "Obligo-Version: 1"{
"pending": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7",
"amount": 0,
"leaseStage": "MoveIn",
"relatedEntity": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "string"
},
"attachmentIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"description": "string",
"metadata": {},
"status": "Draft"
}
],
"balance": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7",
"amount": 0,
"leaseStage": "MoveIn",
"metadata": {},
"status": "Committed",
"createdAt": "2019-08-24T14:15:22Z",
"settledAt": "2019-08-24T14:15:22Z"
}
],
"securities": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "BillingAuthorization",
"amount": 0,
"charged": true,
"createdAt": "2019-08-24T14:15:22Z"
}
],
"summary": {
"securities": {
"pending": 0,
"available": 0,
"charged": 0,
"released": 0
}
}
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Create a pending payment or refund
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidQuery Parameters
Idempotency key for POST requests (cached 24h)
uuidHeader Parameters
API version header
"1"uuidAmount in cents. Negative = payment, positive = refund
"MoveIn" | "MidLease" | "MoveOut"Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/financials?idempotencyId=497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7", "amount": 0, "leaseStage": "MoveIn" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Delete a pending payment or refund
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuiduuidHeader Parameters
API version header
"1"Response Body
application/json
application/json
application/json
curl -X DELETE "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/financials/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1"{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Update a pending payment or refund
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuiduuidHeader Parameters
API version header
"1"uuidAmount in cents
"MoveIn" | "MidLease" | "MoveOut"Response Body
application/json
application/json
application/json
curl -X PUT "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/financials/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Commit pending payments and refunds
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1""MoveIn" | "MidLease" | "MoveOut"Response Body
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/commit-financials" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get a lease household
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1"Response Body
application/json
application/json
application/json
curl -X GET "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household" \ -H "Obligo-Version: 1"[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"renter": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"firstName": "string",
"lastName": "string",
"email": "user@example.com",
"phoneNumber": "string",
"addresses": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"line": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
],
"ssnProvided": true,
"dateOfBirth": "2019-08-24",
"consents": [
{
"types": [
"BackgroundCheck"
],
"ipAddress": "string",
"timestamp": "2019-08-24T14:15:22Z"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"metadata": {}
},
"role": "LeaseHolder",
"primary": true
}
]{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Add a household renter
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuidHeader Parameters
API version header
"1"uuid"LeaseHolder" | "Guarantor"Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "renterId": "5e8fd3a6-1229-4fc6-80e4-337191896d0b", "role": "LeaseHolder" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Remove a household renter
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuiduuidHeader Parameters
API version header
"1"Response Body
application/json
application/json
application/json
curl -X DELETE "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1"{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Update a household renter role
Base64-encoded clientId:clientSecret
In: header
Path Parameters
uuiduuidHeader Parameters
API version header
"1""LeaseHolder" | "Guarantor"Response Body
application/json
application/json
application/json
curl -X PUT "https://api.obligo.com/leases/497f6eca-6276-4993-bfeb-53cbbbba6f08/household/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}