Prerequisites
Before creating an application, ensure you have:- A unit ID for the property.
- An application configuration ID.
- Customer information (email at minimum).
Application types
Yorlet supports four application types, each designed for different scenarios:Create a customer
Before creating an application, you need a customer. You can either create a customer using the Customers API or by providing theapplicants.customer_data object in the application request.
- Using the Customers API
- Inline with application
Create a customer first, then reference their ID in the application.Use the customer ID in your application request with
Create a customer
Response
applicants.customer.Building an application request
You can build an application request by adding the required parameters and configuring the optional parameters as needed.Required parameters
Configure applicants
Theapplicants array defines who is applying for the tenancy. Each applicant must have either a customer ID or customer_data object, plus a share_of_rent.
Applicants array
Applicant parameters
Customer data parameters
Requirements parameters
Therequirements object controls which steps the applicant must complete.
Verification
To request identity or Right to Rent verification, setverification_session_data.types on the applicant.
Verification session data
Configure subscription data
Thesubscription_data object defines how rent is collected after the application completes. Only collection_method and interval are required.
Subscription data
Subscription parameters
Subscription item parameters
Each item insubscription_data.items requires price_data and type.
Add invoice items
Useadd_invoice_items to include one-time charges on the first invoice.
Add invoice items
Subscription phases
Usephases to schedule changes to subscription items at specific dates.
Subscription phases
Configure deposits
Set up security deposit collection using thedeposit_amount parameter.
Deposit configuration
Use the applicant-level
requirements.deposit parameter to control which applicants are required to pay a deposit.Configure contracts
Control contract generation and signing with thecontract_template and contract_options parameters.
Contract configuration
The
contract_template parameter is required when the application type is standard, renewal, or let_only.Contract parameters
Configure application payments
Collect payments during the application process.Holding fee
Holding fee
Advance rent
Advance rent
Partial payments
Configure partial upfront payments that create credit grants for future rent:Partial payment
amount and description are required when using partial payments.
Partial payments require exactly one applicant with
share_of_rent of 100%, and are only supported when subscription_data.interval is month.Configure dates
Using timestamps
Provide dates as Unix timestamps in UTC:Date timestamps
Using date configuration objects
Alternatively, use date configuration objects for automatic calculation:Date configuration
When using
end_date_config, Yorlet automatically sets the time to 23:59:59 to include the full day.Date parameters
Referencing
Enable tenant referencing during the application process.Automatic referencing
Reference providers
Additional options
Accept on create
Foractive_tenancy applications, set accept to true to immediately accept the application when created.
Accept on create
End behavior
Control what happens when the tenancy reaches its end date:End behavior
Create subscriptions
Control whether subscriptions are created for the application. Defaults totrue.
Skip subscription creation
Owner options
Configure owner-specific settings:Owner options
Assignees
Assign a team member to the application. Useassignee to set the owner of the application and deal_assignee to set the owner of the underlying deal.
Assignees
Update unit rent
Setupdate_unit_rent to true to update the unit’s rent amount with the pricing used in the application:
Update unit rent
Metadata
Attach custom data to the application:Metadata
Create an application
Here’s a comprehensive example with commonly used parameters:Complete application example
Example response
Next steps
After creating an application:- Send to applicant - If
send_emailistrue, applicants receive the application portal link automatically. - Monitor progress - Use webhooks to track application events.
- Complete the application - The application completes based on the steps defined in the application configuration.
- Retrieve subscriptions - Listen for
subscription.createdevents to get the subscription IDs.
Retrieve the subscription
After the application completes, a subscription is created asynchronously using thesubscription_data object. To retrieve the subscription ID, listen for the subscription.created webhook event.
subscription.created event
Use the
application and customer fields to tie the subscription back to your original application request.
For applications with multiple applicants, a separate subscription is created for each applicant based on their
share_of_rent. You will receive a subscription.created event for each subscription.(Optional) Create a payment method session
In some instances, the application will automatically complete without the applicant needing to visit the application portal. For example, if the applicationtype is set to active_tenancy, the application will automatically complete when created.
If you want to collect a payment method from the applicant, you can create a Payment Method Session and associate it with the subscription you retrieved in the subscription.created event.