Skip to main content

Partner API documentation

Version: beta

/partner-api/v1/companies/{company_id}/prequalification

POST

Summary

Prequalify company

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
company_idpathYesstring
hostheaderYesstring
Responses
CodeDescription
201Prequalification for given company run successfully.

/partner-api/v1/companies/{company_id}/documents

POST

Summary

Upload company documents

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
company_idpathYesstring
Responses
CodeDescription
201Documents uploaded successfully.

/partner-api/v1/companies/{company_id}/application-status

GET

Summary

Get application status

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
company_idpathYesstring
Responses
CodeDescription
200Successfully fetched application status

/partner-api/v1/companies/document-types

GET

Summary

Get valid document types

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
Responses
CodeDescription
200Successfully fetched valid document types

/partner-api/v1/companies/application-statuses

GET

Summary

Get valid application statuses

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
Responses
CodeDescription
200Successfully fetched valid application statuses

/partner-api/v1/applications

POST

Summary

Create application

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
Responses
CodeDescription
201The application has been successfully created.

GET

Summary

Get list of applications with offers

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
startqueryNostring
endqueryNostring
partner_idqueryNostring
orderColumnqueryNostring
orderDirectionqueryNostring
Responses
CodeDescription
200Applications with offers retrieved successfully

/partner-api/v1/applications/{company_id}/request-offers

POST

Summary

Send application to lenders

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
company_idpathYesstring
Responses
CodeDescription
201The application has been successfully sent to lenders.

/partner-api/v1/applications/auth

POST

Summary

Pre-authenticate an applicant to the front-end widget

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
Responses
CodeDescription
201User has been successfully authenticated.

/partner-api/v1/applications/{application_id}/followup

GET

Summary

Get followup information

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
application_idpathYesstring
offer_idqueryNostring
Responses
CodeDescription
200Successfully fetched followup information

/partner-api/v1/applications/{application_id}/offers

GET

Summary

Get application offers information

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
application_idpathYesstring
Responses
CodeDescription
200Successfully fetched application offers information

/partner-api/v1/applications/offer/{offer_id}

GET

Summary

Get offer details

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
offer_idpathYesstring
Responses
CodeDescription
200Successfully fetched offer details

/partner-api/v1/applications/{application_id}/ccj

PUT

Summary

Save application company CCJ details

Parameters
NameLocated inDescriptionRequiredSchema
x-bs-skheaderPartner secret keyYesstring
application_idpathYesstring
Responses
CodeDescription
200Application company CCJ saved successfully

Models

CompanyCCJDto

NameTypeDescriptionRequired
typestringEnum: "ACTIVE", "HISTORIC"Yes
descriptionstringYes

PrequalificationRequestDto

NameTypeDescriptionRequired
funding_amountnumberYes
funding_datedateTimeNo
funding_reasons[ string ]Yes
monthly_revenuenumberYes
year_to_date_revenuenumberNo
online_sales_revenue_percentagenumberNo
repeat_customers_revenue_percentagenumberNo
any_ccjbooleanYes
ccjs[ object ]Yes

PrequalificationResponseDto

NameTypeDescriptionRequired
approvedbooleanYes
credit_limitnumberYes
unmet_criteriaobjectYes

CreateCompanyDocumentRequestDto

NameTypeDescriptionRequired
filebinaryYes
typestringEnum: "bank-statement", "management-accounts", "filed-accounts", "vat-return", "payment-data", "identity-document", "email-attachments"Yes
offer_idstringNo

CompanyDocumentResponseDto

NameTypeDescriptionRequired
idstringYes
typestringYes
namestringYes

ApplicationResponseDto

NameTypeDescriptionRequired
application_statusstringEnum: "PENDING", "RECEIVED_OFFERS", "REJECTED", "OFFER_ACCEPTED", "FUNDS_DISBURSED", "CLOSED", "OFFERS_REQUESTED"Yes
application_idstringYes
company_idstringYes
offers_countnumberYes

DocumentTypeResponseDto

NameTypeDescriptionRequired
typestringYes
namestringYes

ApplicationStatusResponseDto

NameTypeDescriptionRequired
statusstringYes
namestringYes

CreateCompanyAddressDto

NameTypeDescriptionRequired
house_numberstringYes
line_1stringYes
line_2stringNo
citystringNo
countystringNo
postcodestringNo
country_codestringYes
countrystringNo
regionstringNo
start_datedateTimeNo
currentbooleanNo
property_equitynumberNo
statusstringEnum: "tenant", "owner_with_mortgage", "owner_no_mortgage", "rent_free"No

CreateCompanyRequestDto

NameTypeDescriptionRequired
registered_namestringYes
trading_namestringNo
registered_numberstringYes
typestringEnum: "llc", "ltd", "llp", "sole_trader", "plc", "limited_partnership", "EEIG", "northern_ireland", "northern_ireland_other", "oversea-company", "OTHER"Yes
websitestringNo
descriptionstringNo
formation_datestringYes
trading_from_datestringYes
regionstringEnum: "GB", "IE", "AE", "other"Yes
addressobjectYes
vat_registeredbooleanNo
vat_numberstringNo
vat_registration_datedateTimeNo
sic_codes[ string ]No

CreatePersonAddressDto

NameTypeDescriptionRequired
house_numberstringYes
line_1stringYes
line_2stringNo
citystringYes
countystringNo
postcodestringYes
country_codestringYes
countrystringNo
regionstringNo
start_datedateTimeYes
currentbooleanNo
property_equitynumberNo
statusstringEnum: "tenant", "owner_with_mortgage", "owner_no_mortgage", "rent_free"No

CreateCompanyPersonRequestDto

NameTypeDescriptionRequired
first_namestringYes
last_namestringYes
emailstringYes
phone_numberstringYes
date_of_birthstringYes
nationalitystringNo
country_of_residencestringNo
rolestringNo
directorbooleanNo
occupationstringNo
appointed_onstringNo
resigned_onstringNo
addresses[ object ]Yes

CreateApplicationRequestDto

NameTypeDescriptionRequired
companyobjectYes
applicantobjectYes
directors[ object ]No
online_sales_revenue_percentagenumberNo

AddressResponseDto

NameTypeDescriptionRequired
idstringYes
line_1stringYes
citystringNo
postcodestringNo
house_numberstringNo
line_2stringNo
countystringNo
regionstringNo
country_codestringNo
start_datestringNo
currentbooleanNo
property_equitynumberNo
statusstringEnum: "tenant", "owner_with_mortgage", "owner_no_mortgage", "rent_free"No

CompanyResponseDto

NameTypeDescriptionRequired
idstringYes
trading_namestringYes
registered_namestringYes
registered_numberstringYes
typestringEnum: "llc", "ltd", "llp", "sole_trader", "plc", "limited_partnership", "EEIG", "northern_ireland", "northern_ireland_other", "oversea-company", "OTHER"Yes
regionstringYes
formation_datestringYes
trading_from_datestringNo
websitestringNo
descriptionstringNo
addressobjectYes
vat_numberstringNo
vat_registration_datedateTimeNo

CompanyPersonWithAddressesResponseDto

NameTypeDescriptionRequired
addresses[ object ]Yes
idstringYes
first_namestringYes
last_namestringYes
emailstringYes
phone_numberstringYes
date_of_birthstringYes
directorbooleanYes
applicantbooleanYes
company_idstringYes

CompanyWithApplicantResponseDto

NameTypeDescriptionRequired
companyobjectYes
applicantobjectYes

SendApplicationToLendersRequestDto

NameTypeDescriptionRequired
credit_score_check_consentbooleanCustomer needs to give the consent before sending the application to lendersYes

ApplicationAuthRequestDto

NameTypeDescriptionRequired
company_idstringYes
emailstringYes

ApplicationAuthResponseDto

NameTypeDescriptionRequired
access_tokenstringYes

RequestedAdditionalDetailsResponseDto

NameTypeDescriptionRequired
idstringYes
application_idstringYes
offer_idstringNo
documents_requested[ string ]Yes
notesstringNo
resolvedbooleanNo
admin_emailstringNo

DetailsRequestedDto

NameTypeDescriptionRequired
document_types[ string ]Yes
notesstringNo
resolvedbooleanYes

OfferResponseDto

NameTypeDescriptionRequired
rates[ string ]No
revenueRepayments[ string ]No
idstringYes
product_typestringEnum: "REVENUE_BASED", "CREDIT_LINE", "REVOLVING_CREDIT_FACILITY", "TERM_LOAN", "UNKNOWN"Yes
application_idstringYes
lender_namestringYes
lender_logostringNo
statusstringEnum: "PENDING", "DEFERRED", "DECLINED", "ADDITIONAL_DETAILS_REQUESTED", "OFFERED", "ACCEPTED", "CANCELLED", "LENDER_CALL_FAILED", "RULES_DECLINED", "APPLICANT_DECLINED"Yes
typestringEnum: "API", "MANUAL"Yes
min_credit_offernumberNo
max_credit_offernumberNo
duration_in_monthsnumberNo
monthly_repayment_typestringEnum: "INTEREST_ONLY", "INTEREST_AND_CAPITAL"No
monthly_repaymentnumberNo
total_repaymentnumberNo
currencystringNo
notesstringNo
rejection_reasonstringNo
valid_untilstringNo
created_atstringYes
updated_atstringYes
rejection_reason_tags[ string ]No
decline_reasonobjectNo
lender_raw_responseobjectNo
metadataobjectNo
external_idstringNo
details_requestedobjectNo

ApplicationWithOffersListItemDto

NameTypeDescriptionRequired
idstringYes
statusstringEnum: "NEW", "PENDING", "PREQUALIFIED", "REJECTED", "OFFERS_REQUESTED", "OFFER_ACCEPTED", "FUNDS_DISBURSED", "CLOSED", "ADDITIONAL_DETAILS_REQUESTED"Yes
offers[ object ]Yes

ApplicationsWithOffersListResponseDto

NameTypeDescriptionRequired
applications[ object ]Yes

SaveCompanyCCJRequestDto

NameTypeDescriptionRequired
detailsobjectYes