Quotes
A quote is the fee for a guarantee on one tenancy.
POST /quotes
GET /quotes/{quote_id}
The quote object
| Field | Type | Description |
|---|---|---|
id | string | |
object | string | Always quote. |
livemode | boolean | false in the sandbox. |
fee | object | The fee for the tenancy. |
fee.amount | integer | The amount in the currency's smallest unit. 50000 is £500.00. |
fee.currency | string | ISO 4217 code. Fees are always GBP. |
monthly_rent_share | object | The tenant's rent for one calendar month, rounded to the nearest pound (50p rounds up). The fee is calculated on this figure. |
monthly_rent_share.amount | integer | The amount in the currency's smallest unit. 50000 is £500.00. |
monthly_rent_share.currency | string | ISO 4217 code. Fees are always GBP. |
eligibility | object | |
eligibility.status | enum | eligible: an application can be created. review: an application can be created and will be reviewed manually. ineligible: an application with these details will be rejected with 422. |
eligibility.reasons | array of string | Machine-readable reasons when status is not eligible, for example property_country_unsupported. |
expires_at | date-time | |
created_at | date-time |
Create a quote
POST/quotes
Creates a quote. To apply the quoted fee to an application, pass the quote's id as quote_id before expires_at. If the fee for the same details has changed since the quote was created, the application is rejected with 409 fee_changed. Create a new quote.
Request body
| Field | Type | Description |
|---|---|---|
applicant_type | enum | Type of applicant. One of student, graduate. Default student. |
tenantrequired | object | |
tenant.nationalityrequired | string | ISO 3166-1 alpha-2 code. |
tenant.country_of_residence | string | ISO 3166-1 alpha-2 code. Defaults to the nationality. |
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.countryrequired | string | ISO 3166-1 alpha-2 code of the property. Currently GB. |
property.postcode | string | UK postcode. |
tenancyrequired | object | |
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 the tenancy is periodic with no fixed end. |
tenancy.tenant_count | integer | How many tenants are named on the tenancy. Default 1. |
cosigner_relationship | enum | The cosigner's relationship to the tenant, if known. One of parent, guardian, relative, spouse, friend, other. |
Example request
curl https://api.thestudentguarantor.com/v1/quotes \
-X POST \
-H "Authorization: Bearer $TSG_SECRET_KEY" \
-H "Idempotency-Key: 6f1c2a9e-8f0b-4c59-9d0e-2b7a54d0c1aa" \
-H "Content-Type: application/json" \
-d '{
"tenant": {
"nationality": "CN",
"country_of_residence": "CN"
},
"study": {
"university_id": "uni_ucl",
"level": "postgraduate",
"first_year": true
},
"property": {
"country": "GB",
"postcode": "E1 6LT"
},
"tenancy": {
"rent": {
"amount": 32500,
"currency": "GBP",
"period": "week"
},
"start_date": "2026-10-24",
"end_date": "2027-07-10",
"tenant_count": 1
}
}'
Returns
Returns the quote object.
Example response
{
"id": "quo_8Kc2VnQ4hT7xWm3B",
"object": "quote",
"livemode": false,
"fee": {
"amount": 50000,
"currency": "GBP"
},
"monthly_rent_share": {
"amount": 140800,
"currency": "GBP"
},
"eligibility": {
"status": "eligible",
"reasons": []
},
"expires_at": "2026-11-26T09:14:02Z",
"created_at": "2026-11-19T09:14:02Z"
}
Retrieve a quote
GET/quotes/{quote_id}
Retrieves a quote.
Returns
Returns the quote object.