Applications
An application is a request for a guarantee. It tracks the requirements that must be completed before the guarantee is issued.
POST /applications
GET /applications
GET /applications/{application_id}
PATCH /applications/{application_id}
POST /applications/{application_id}/cancel
POST /applications/{application_id}/fee/confirm
The application object
| Field | Type | Description |
|---|---|---|
id | string | |
object | string | Always application. |
livemode | boolean | |
external_reference | string | |
status | enum | incomplete: at least one requirement is due or blocked. in_review: all requirements are supplied and the application is being reviewed. approved: the guarantee is issued. declined: no guarantee will be issued. cancelled: cancelled by you. expired: not completed before expires_at. |
applicant_type | enum | Type of applicant. One of student, graduate. Default student. |
locale | string | |
tenant | object | The tenant's name and email. |
tenant.first_name | string | |
tenant.last_name | string | |
tenant.email | string | |
fee | object | |
fee.collection | enum | One of partner, tsg. |
fee.amount | object | |
fee.amount.amount | integer | The amount in the currency's smallest unit. 50000 is £500.00. |
fee.amount.currency | string | ISO 4217 code. Fees are always GBP. |
fee.status | enum | One of unpaid, paid, refunded, partially_refunded. |
fee.paid_at | date-time | |
requirements | array of object | The application's requirements. |
requirements[].code | enum | Identifier of the requirement. One of tenant.details, tenant.identity, tenant.proof_of_study, tenant.right_to_rent, tenant.signature, cosigner.details, cosigner.identity, cosigner.signature, tenancy.details, fee.payment, landlord.confirmation, landlord.signature. |
requirements[].party | enum | Party responsible for the requirement. One of partner, tenant, cosigner, landlord, tsg. |
requirements[].status | enum | due: waiting for party. in_review: supplied and being checked. blocked: cannot start until another requirement is satisfied. satisfied: done. |
requirements[].completable_via | array of enum | api: supply it with an update. session: the tenant completes it in the embedded component. email_link: we email the party a link. |
requirements[].fields | array of string | For *.details requirements, the missing or invalid field paths. |
requirements[].reason | string or null | A machine-readable reason when a supplied item was not accepted, for example document_unreadable, document_expired, name_mismatch. |
decline_reason | enum | One of identity_not_verified, tenancy_not_eligible, tenant_not_eligible, suspected_fraud, other. |
guarantee | string or null | The guarantee ID once approved. |
metadata | object | |
expires_at | date-time | |
created_at | date-time | |
updated_at | date-time |
Create an application
Creates an application. Any information you don't provide is added to requirements.
Request body
| Field | Type | Description |
|---|---|---|
external_referencerequired | string | Your identifier for the application. Must be unique. |
quote_id | string | ID of a quote to apply. If omitted, the fee is calculated from the application. |
applicant_type | enum | Type of applicant. One of student, graduate. Default student. |
locale | enum | Language of the tenant's sessions and emails. One of en, zh-CN. Default en. |
tenantrequired | object | |
tenant.first_namerequired | string | Given name in Latin characters, as on the identity document. |
tenant.last_namerequired | string | Family name in Latin characters. |
tenant.name_local | string | The full name in its original script, for example 张雨曦. Used to check Chinese identity cards. |
tenant.emailrequired | ||
tenant.phone | string | E.164 format. |
tenant.date_of_birth | date | |
tenant.nationalityrequired | string | ISO 3166-1 alpha-2 code. |
tenant.country_of_residence | string | ISO 3166-1 alpha-2 code. |
tenant.address | object | Home address outside the rented property. |
tenant.address.line1required | string | |
tenant.address.line2 | string | |
tenant.address.cityrequired | string | |
tenant.address.state | string | State |
tenant.address.postal_code | string | |
tenant.address.countryrequired | string | ISO 3166-1 alpha-2 code. |
tenant.right_to_rent_share_code | string | GOV.UK Right to Rent share code. |
study | object | Required when applicant_type is student. |
study.university_id | string | From the universities list. Send either this or university_name. |
study.university_name | string | For an institution not in the universities list. |
study.course | string | |
study.levelrequired | enum | One of foundation, undergraduate, postgraduate, other. |
study.first_year | boolean | Whether this tenancy covers the tenant's first year at the university. |
propertyrequired | object | |
property.name | string | The room or unit as you list it, for example Gold Studio Plus. |
property.line1required | string | |
property.line2 | string | |
property.cityrequired | string | |
property.postcoderequired | string | |
property.countryrequired | string | Currently GB. |
property.accommodation_type | enum | pbsa is purpose-built student accommodation run by a private operator. One of pbsa, university_halls, private, other. |
tenancyrequired | object | |
tenancy.agreement_type | enum | Type of tenancy agreement. One of licence, assured_periodic, common_law, other. |
tenancy.rentrequired | object | |
tenancy.rent.amountrequired | integer | The tenant's own share of the rent for one period, in pence. |
tenancy.rent.currencyrequired | string | Always GBP. |
tenancy.rent.periodrequired | enum | What amount covers. total is the whole rent for the tenancy from start date to end date. One of week, month, total. |
tenancy.start_daterequired | date | |
tenancy.end_date | date | Required unless agreement_type is assured_periodic. |
tenancy.tenant_count | integer | Default 1. |
tenancy.total_rent | object | The rent for the whole property, when tenant_count is more than 1. |
tenancy.total_rent.amountrequired | integer | The tenant's own share of the rent for one period, in pence. |
tenancy.total_rent.currencyrequired | string | Always GBP. |
tenancy.total_rent.periodrequired | enum | What amount covers. total is the whole rent for the tenancy from start date to end date. One of week, month, total. |
tenancy.payment_schedule | enum | How the tenant pays rent to the accommodation provider. One of monthly, instalments. |
tenancy.landlord | object | The landlord's contact details. |
tenancy.landlord.namerequired | string | |
tenancy.landlord.email | ||
tenancy.landlord.phone | string | |
tenancy.landlord.address | object | |
cosigner | object | The cosigner's details. |
cosigner.first_namerequired | string | |
cosigner.last_namerequired | string | |
cosigner.name_local | string | |
cosigner.relationshiprequired | enum | One of parent, guardian, relative, spouse, friend, other. |
cosigner.emailrequired | Must differ from the tenant's. The signing link is sent here. | |
cosigner.phone | string | E.164 format. |
cosigner.date_of_birth | date | |
cosigner.nationality | string | |
cosigner.country_of_residence | string | |
cosigner.address | object | |
cosigner.address.line1required | string | |
cosigner.address.line2 | string | |
cosigner.address.cityrequired | string | |
cosigner.address.state | string | State |
cosigner.address.postal_code | string | |
cosigner.address.countryrequired | string | ISO 3166-1 alpha-2 code. |
cosigner.locale | enum | The language of the cosigner's emails. Defaults to the application's locale. One of en, zh-CN. |
documents | object | |
documents.tenant_identity | object | Images of an identity document. Supported for Chinese resident identity cards only. |
documents.tenant_identity.typerequired | enum | One of cn_resident_id. |
documents.tenant_identity.frontrequired | string | A file ID. The side with the photograph. |
documents.tenant_identity.backrequired | string | A file ID. The side with the national emblem. |
documents.cosigner_identity | object | Images of an identity document. Supported for Chinese resident identity cards only. |
documents.cosigner_identity.typerequired | enum | One of cn_resident_id. |
documents.cosigner_identity.frontrequired | string | A file ID. The side with the photograph. |
documents.cosigner_identity.backrequired | string | A file ID. The side with the national emblem. |
documents.proof_of_study | string | A file ID. Offer or enrolment letter. |
documents.visa | string | A file ID. |
documents.tenancy_agreement | string | A file ID. |
fee | object | |
fee.collectionrequired | enum | partner: you charge the tenant and confirm the fee through the API. tsg: the tenant pays in a session. Defaults to the mode configured for your account. |
consentsrequired | object | |
consents.data_sharingrequired | object | The tenant's consent to share their details with The Student Guarantor. |
consents.data_sharing.accepted_atrequired | date-time | |
consents.data_sharing.ip_address | string | |
consents.data_sharing.wording_version | string | Your identifier for the consent wording shown. |
metadata | object | Set of up to 20 key-value pairs that you can attach to the object. |
Example request
curl https://api.thestudentguarantor.com/v1/applications \
-X POST \
-H "Authorization: Bearer $TSG_SECRET_KEY" \
-H "Idempotency-Key: 6f1c2a9e-8f0b-4c59-9d0e-2b7a54d0c1aa" \
-H "Content-Type: application/json" \
-d '{
"external_reference": "BK-2026-223515",
"quote_id": "quo_8Kc2VnQ4hT7xWm3B",
"applicant_type": "student",
"locale": "zh-CN",
"tenant": {
"first_name": "Yuxi",
"last_name": "Zhang",
"name_local": "张雨曦",
"email": "yuxi.zhang@example.com",
"phone": "+8613800139527",
"date_of_birth": "2003-04-17",
"nationality": "CN",
"country_of_residence": "CN",
"address": {
"line1": "88 Century Avenue",
"city": "Shanghai",
"postal_code": "200120",
"country": "CN"
}
},
"study": {
"university_id": "uni_ucl",
"course": "MSc Data Science",
"level": "postgraduate",
"first_year": true
},
"property": {
"name": "Gold Studio Plus",
"line1": "Flat 218, Tower Building",
"line2": "12 Example Street",
"city": "London",
"postcode": "E1 6LT",
"country": "GB",
"accommodation_type": "pbsa"
},
"tenancy": {
"agreement_type": "licence",
"rent": {
"amount": 32500,
"currency": "GBP",
"period": "week"
},
"start_date": "2026-10-24",
"end_date": "2027-07-10",
"tenant_count": 1,
"landlord": {
"name": "Example Student Living Ltd",
"email": "lettings@example-living.co.uk"
}
},
"cosigner": {
"first_name": "Wei",
"last_name": "Zhang",
"relationship": "parent",
"email": "wei.zhang@example.com",
"phone": "+8613900001234",
"date_of_birth": "1974-09-02",
"nationality": "CN",
"country_of_residence": "CN",
"address": {
"line1": "88 Century Avenue",
"city": "Shanghai",
"postal_code": "200120",
"country": "CN"
},
"locale": "zh-CN"
},
"documents": {
"tenant_identity": {
"type": "cn_resident_id",
"front": "file_5pXr9LmA2dQe7NzK",
"back": "file_Q2w8ErT6yU1iOp3L"
},
"proof_of_study": "file_Z7xC4vB9nM2aSd5F"
},
"fee": {
"collection": "partner"
},
"consents": {
"data_sharing": {
"accepted_at": "2026-11-19T09:12:55Z",
"ip_address": "203.0.113.24"
}
},
"metadata": {
"house_id": "13888",
"unit_id": "223515"
}
}'
Returns
Returns the application object.
Example response
{
"id": "app_3Nf7QwR1tY8uLk5H",
"object": "application",
"livemode": false,
"external_reference": "BK-2026-223515",
"status": "incomplete",
"applicant_type": "student",
"locale": "zh-CN",
"tenant": {
"first_name": "Yuxi",
"last_name": "Zhang",
"email": "yuxi.zhang@example.com"
},
"fee": {
"collection": "partner",
"amount": {
"amount": 50000,
"currency": "GBP"
},
"status": "unpaid"
},
"requirements": [
{
"code": "tenant.identity",
"party": "partner",
"status": "blocked",
"completable_via": [
"api",
"session"
]
},
{
"code": "tenant.proof_of_study",
"party": "tsg",
"status": "in_review",
"completable_via": [
"api",
"session"
]
},
{
"code": "cosigner.identity",
"party": "partner",
"status": "due",
"completable_via": [
"api",
"session"
]
},
{
"code": "fee.payment",
"party": "partner",
"status": "due",
"completable_via": [
"api"
]
},
{
"code": "tenant.signature",
"party": "tenant",
"status": "due",
"completable_via": [
"session"
]
},
{
"code": "cosigner.signature",
"party": "cosigner",
"status": "blocked",
"completable_via": [
"email_link"
]
},
{
"code": "landlord.confirmation",
"party": "landlord",
"status": "due",
"completable_via": [
"email_link"
]
},
{
"code": "landlord.signature",
"party": "landlord",
"status": "blocked",
"completable_via": [
"email_link"
]
}
],
"guarantee": null,
"created_at": "2026-11-19T09:16:03Z",
"updated_at": "2026-11-19T09:16:03Z"
}
List applications
Returns a list of applications.
Parameters
| Name | In | Description |
|---|---|---|
external_reference | query | Return only the application with this reference. |
status | query | One of incomplete, in_review, approved, declined, cancelled, expired. |
created_after | query | Only applications created at or after this time. |
Returns
Returns a list of application objects.
Retrieve an application
Retrieves an application.
Returns
Returns the application object.
Update an application
Updates an application by setting the values of the parameters passed. Parameters not provided are left unchanged.
You can update an application while its status is incomplete or in_review. tenancy, property, tenant and cosigner can't be updated after any party has signed, and tenancy and property can't be updated after the landlord has confirmed the tenancy details. To change them, cancel the application and create a new one. Updating a priced detail recalculates the fee, and isn't allowed after the fee is paid.
Request body
Nested objects take the same fields as in create.
Any subset of the fields accepted at creation, except external_reference, quote_id and consents.
| Field | Type | Description |
|---|---|---|
locale | enum | One of en, zh-CN. |
tenant | object | |
study | object | Required when applicant_type is student. |
property | object | |
tenancy | object | |
cosigner | object | The cosigner's details. |
documents | object | |
metadata | object |
Example request
curl https://api.thestudentguarantor.com/v1/applications/app_3Nf7QwR1tY8uLk5H \
-X PATCH \
-H "Authorization: Bearer $TSG_SECRET_KEY" \
-H "Idempotency-Key: 6f1c2a9e-8f0b-4c59-9d0e-2b7a54d0c1aa" \
-H "Content-Type: application/json" \
-d '{
"documents": {
"cosigner_identity": {
"type": "cn_resident_id",
"front": "file_A1s2D3f4G5h6J7k8",
"back": "file_L9k8J7h6G5f4D3s2"
}
}
}'
Returns
Returns the application object. Returns an error if the application is approved, declined, cancelled or expired, or if the update isn't allowed in its current state.
Cancel an application
Cancels an application. You can cancel an application while its status is incomplete or in_review. Cancelling invalidates its sessions.
Request body
| Field | Type | Description |
|---|---|---|
reason | enum | One of booking_cancelled, tenant_request, duplicate, other. |
note | string |
Example request
curl https://api.thestudentguarantor.com/v1/applications/app_3Nf7QwR1tY8uLk5H/cancel \
-X POST \
-H "Authorization: Bearer $TSG_SECRET_KEY" \
-H "Idempotency-Key: 6f1c2a9e-8f0b-4c59-9d0e-2b7a54d0c1aa" \
-H "Content-Type: application/json" \
-d '{
"reason": "booking_cancelled"
}'
Returns
Returns the application object with a status of cancelled. Returns an error if the application is already approved.
Confirm a fee you collected
Confirms that you've collected the fee from the tenant. Satisfies the fee.payment requirement. The application's fee.collection must be partner. If the fee is no longer fee.amount, the request is rejected with 409 fee_changed and nothing is recorded.
Request body
| Field | Type | Description |
|---|---|---|
amountrequired | object | |
amount.amountrequired | integer | The amount in the currency's smallest unit. 50000 is £500.00. |
amount.currencyrequired | string | ISO 4217 code. Fees are always GBP. |
paid_atrequired | date-time | When the tenant's payment succeeded. |
payment_referencerequired | string | Your order or transaction ID, shown on statements. |
collected | object | What you charged the tenant, if not in pounds sterling. |
collected.amountrequired | integer | The amount in the currency's smallest unit. 50000 is £500.00. |
collected.currencyrequired | string | ISO 4217 code. Fees are always GBP. |
Example request
curl https://api.thestudentguarantor.com/v1/applications/app_3Nf7QwR1tY8uLk5H/fee/confirm \
-X POST \
-H "Authorization: Bearer $TSG_SECRET_KEY" \
-H "Idempotency-Key: 6f1c2a9e-8f0b-4c59-9d0e-2b7a54d0c1aa" \
-H "Content-Type: application/json" \
-d '{
"amount": {
"amount": 50000,
"currency": "GBP"
},
"paid_at": "2026-11-19T09:21:44Z",
"payment_reference": "ORD-99120045",
"collected": {
"amount": 462500,
"currency": "CNY"
}
}'
Returns
Returns the application object with a fee.status of paid. Returns an error if amount differs from fee.amount.