PremFina platform comprises of several microservices; and is built on the concept of open architecture with API first approach. Although, we prefer real-time integrations using our Restful-APIs, we understand that not all systems (especially the traditional ones) have easy integration capabilities. Because of this, we have built a data conversion tool which allows our clients to integrate very easily in Batch processing and have a near real time experience.
PremFina Service | Integration | Format | Style |
---|---|---|---|
Integrations-Api | Real Time (Restful) | JSON | Preferred |
Data Conversion Service | Batch - File based | csv, xml | Traditional |
Broker Portal | Real Time | Web interface | Direct Input |
Please note that this integrations specification structure is just a rough suggestion of what a typical integrations specification document should contain. We have kept it simple to the very minimum structure. Please feel free to develop yours as detailed and informative as possible.
🖧 Tell us about the system integrating with PremFina API
🖧 Tell us about the user journey and flows
🖧 Tell us about the integrations to the API
🖧 Tell us about the security of the integrating system
🖧 Tell us about your integrations project and timelines
Currently, our security parameters are setup to authenticate and recognize external connections to our services in two ways.
🖧 Static IP Whitelisting
🖧 Virtual Private Network (VPN)
Please find the credentials to the API and Broker Portal in this section.
API Access For Sandbox (UAT Environment)
API_USER_CRA is the login to the entity ‘API CRA Broker’ which has CRA checks turned 'ON’. Therefore, you need to use our CRA test data which is supplied on this page.
API_USER_CRA
LWcW0^A^r87u
API Access For Production Environment
API Key Code**: Please request for one
API Secret: Please request for one
Primary URL*: https://integrations-api-env-p.premfina.com/
Documentation **: https://integrations-api-env-p.premfina.com/documentation/index.html
Broker Portal Access For Sandbox (UAT Environment)
API_USER_CRA is the login to the entity ‘API CRA Broker’ which has CRA checks turned 'ON’. Therefore, you need to use our CRA test data which is supplied on this page.
Broker Portal Access For Production Environment
Production credentials will be given by a member of the PremFina Integrations team after UAT is signed off or just prior to go-live
In this section, details about how to set up for using PremFina API is offered.
🌐 Setting Up Postman
🌐 PremFina Integrations Postman Collections
Please find here a basic ‘Postman’ collection which you can import in order to check out some of the endpoints right away. This is meant to offer a basic introduction.
There may be a few variables which are blank and you will need to enter a value such as bank account details.
Please download the PremFina Postman Collections from this link: PremFina Postman Collections
The PremFina API consist of numerous workflows. For the sake of simplicity, the most common workflows are exemplified in this section.
A New Business workflow is below, is typically based on a regular quote and buy journey typically seen when purchasing insurance.
Depending on how you are set up, there are three pathways of a New Business workflow. The various pathways of a New Business workflow can be found in this document: API pathways. However, we strongly recommend the one exemplified in this section.
🔒 Step 1 - Login
(Retrieve Auth Token needed for later calls)
Call the Login endpoint, sending your username and password, to return an authentication token, used for subsequent calls.
See the FAQ for more info on Tokens.
/login
Sample Payload:
{
"user": "API_USER_CRA",
"password": "PWLAP1$U$3R781"
}
Sample Response:
pO8udqWwsbLMzcZRTYVs6RpqI4WGEiuPX1SuY5SLfoxHjjgA20
👀 Step 2 (Optional) - Get Quote without any broker or facility fee
This step is an optional step. It can be skipped. A New Business workflow may include getting a basic quote that does not involve CRA checks. This will return a basic quote based on the scheme code, deposit, premium and agreement start date. Executing this step is mostly useful for user journeys that involves showing the client a quote before they decide on a pay month or pay yearly option.
/v2/get/quote/{token}
Sample Payload:
{
"schemeCode" : "APIC01",
"deposit" : "20",
"premium" : "200",
"startDate" : "2021-02-10"
}
Sample Response:
{
"getQuote": {
"schemeCode": "APIC01",
"deposit": 20,
"premium": 200,
"flatRate": null,
"startDate": "2021-02-10"
},
"sharedXref": null,
"existingAgreementNumber": null,
"agreementNumber": "000083156",
"createdOn": "2020-10-19",
"daysValid": null,
"daysRemaining": null,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 11,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "15",
"code": "APIC01",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": "5",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "15",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
"loanAdvance": 180.00,
"loanInterest": "18.00",
"deposit": 20.00,
"noInstallments": 12,
"flatRate": "10.0",
"firstInstalmentAmount": 16.5,
"regularInstalmentAmount": 16.5,
"apr": "21.41",
"customerId": null,
"feeCharges": [],
"softwareHouse": null,
"loanFees": 0,
"totalPayable": 198.00,
"minimumCreditChargeMet": true,
"preCheckResponse": null,
"preCheckResponseBreakdown": null,
"schedule": null,
"clientRef": null
}
👀 Step 2 (Optional) - Get Quote with facility fee (Without Broker Fee)
This step is an optional step. It can be skipped. A New Business workflow may include getting a basic quote that does not involve CRA checks. This will return a basic quote based on the scheme code, deposit, premium and agreement start date. Executing this step is mostly useful for user journeys that involves showing the client a quote before they decide on a pay month or pay yearly option.
/v2/get/quote/{token}
Sample Payload:
{
"schemeCode" : "APIC01",
"deposit" : "20",
"premium" : "200",
"startDate" : "2021-02-10"
}
Sample Response:
{
"getQuote": {
"schemeCode": "APIC01",
"deposit": 20,
"premium": 200,
"flatRate": null,
"startDate": "2021-02-10"
},
"sharedXref": null,
"existingAgreementNumber": null,
"agreementNumber": "000232570",
"createdOn": "2023-10-11",
"daysValid": null,
"daysRemaining": null,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "117635",
"brandName": "PF NBC 30D RNWLC 5WD BRAND",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC01",
"id": "349011"
},
"newBusinessNumberOfInstalments": 9,
"renewalNumberOfInstalments": 10,
"newBusinessFlatRate": "11.58",
"newBusinessMinFlatRate": "5.78",
"newBusinessMaxFlatRate": "11.58",
"renewalFlatRate": "11.58",
"renewalMinFlatRate": "5.78",
"renewalMaxFlatRate": "11.58",
"code": "PAC001",
"providerName": "Allianz Insurance PLC",
"providerId": "105548",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Non-Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "100000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "5",
"newBusinessMaximumDepositPercentage": "30",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": "0",
"renewalMaximumDepositPercentage": null,
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "0",
"product": {
"name": "PF NBC 30D RNWLC 5WD PRODUCT",
"id": "117639"
}
},
"loanAdvance": 180.00,
"loanInterest": "20.84",
"deposit": 20.00,
"noInstallments": 9,
"flatRate": "15.4370370",
"firstInstalmentAmount": 16.5,
"regularInstalmentAmount": 16.5,
"apr": "30.5964160",
"customerId": null,
"feeCharges": [
{
"type": "Facility Fee",
"amount": 20.00,
"addToTotalRepayable": true,
"reference": null
}
],
"softwareHouse": null,
"loanFees": 70.00,
"totalPayable": 200.84,
"minimumCreditChargeMet": true,
"preCheckResponse": null,
"preCheckResponseBreakdown": null,
"schedule": null,
"clientRef": null
}
👀 Step 2 (Optional) - Get Quote with broker and facility fee
This step is an optional step. It can be skipped. A New Business workflow may include getting a basic quote that does not involve CRA checks. This will return a basic quote based on the scheme code, deposit, premium and agreement start date. Executing this step is mostly useful for user journeys that involves showing the client a quote before they decide on a pay month or pay yearly option.
Also, the broker fee is optional. Please use the other variation if broker fee is not applicable in your scenario.
/v2/get/quote/{token}
Sample Payload:
{
"feeCharges": [
{
"addToTotalRepayable": true,
"amount": 50,
"reference": "Sample Ref",
"type": "Broker Fee"
}
],
"schemeCode" : "APIC01",
"deposit" : "20",
"premium" : "200",
"startDate" : "2021-02-10"
}
Sample Response:
{
"getQuote": {
"schemeCode": "APIC01",
"deposit": 20,
"premium": 200,
"flatRate": null,
"startDate": "2021-02-10"
},
"sharedXref": null,
"existingAgreementNumber": null,
"agreementNumber": "000232570",
"createdOn": "2023-10-11",
"daysValid": null,
"daysRemaining": null,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "117635",
"brandName": "PF NBC 30D RNWLC 5WD BRAND",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC01",
"id": "349011"
},
"newBusinessNumberOfInstalments": 9,
"renewalNumberOfInstalments": 10,
"newBusinessFlatRate": "11.58",
"newBusinessMinFlatRate": "5.78",
"newBusinessMaxFlatRate": "11.58",
"renewalFlatRate": "11.58",
"renewalMinFlatRate": "5.78",
"renewalMaxFlatRate": "11.58",
"code": "PAC001",
"providerName": "Allianz Insurance PLC",
"providerId": "105548",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Non-Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "100000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "5",
"newBusinessMaximumDepositPercentage": "30",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": "0",
"renewalMaximumDepositPercentage": null,
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "0",
"product": {
"name": "PF NBC 30D RNWLC 5WD PRODUCT",
"id": "117639"
}
},
"loanAdvance": 180.00,
"loanInterest": "20.84",
"deposit": 20.00,
"noInstallments": 9,
"flatRate": "15.4370370",
"firstInstalmentAmount": 16.5,
"regularInstalmentAmount": 16.5,
"apr": "30.5964160",
"customerId": null,
"feeCharges": [
{
"type": "Facility Fee",
"amount": 20.00,
"addToTotalRepayable": true,
"reference": null
},
{
"type": "Broker Fee",
"amount": 50,
"addToTotalRepayable": true,
"reference": "Sample Ref"
}
],
"softwareHouse": null,
"loanFees": 70.00,
"totalPayable": 200.84,
"minimumCreditChargeMet": true,
"preCheckResponse": null,
"preCheckResponseBreakdown": null,
"schedule": null,
"clientRef": null
}
💵 Step 3 - Create a Persist Quote
Firstly, depending on if it is personal or commercial agreement, the payloads are slightly unique.
Also, because there are Credit Risk and Affordability (CRA) checks when applying for a loan, a question which is frequently asked is “Will the customer have a hard inquiry on their credit report?”
This step (Step 3) does the following: (1) Create a quote. (2) Does a Soft inquiry, and returns the result of of the quote including the CRA. For more information on CRA, please see the FAQ section on this page.
The results of the persist quote (including the CRA) allows you to decide whether to offer PremFina as a finance option. If the result of the soft inquiry indicates we may refer the loan, you may choose to not offer this option to the customer.
Another question that is frequently asked during a persist quote is “What is the data format, length and mandatory fields?” a
Click here to download a file that contains the list of mandatory fields, accepted values and data format: premfina_mandatory_fields_api.xlsx
Use this endpoint below to create a New Business persist quote for personal lines.
/v2/persist/quote/{token}
{
"daysValid": "30",
"preCheck": true,
"getQuote": {
"schemeCode": "APIC001",
"deposit" : "30",
"premium" : "500",
"startDate" : "2024-07-25"
},
"config": {
"preferredPaymentDay": 28
},
"agreement": {
"customer": {
"addresses": [{
"addressLine1": "22",
"addressLine2": " PATTERDALE DRIVE",
"postalTown": "YORK",
"country": "United Kingdom",
"postCode": "YO305TW"
}],
"contacts": [{
"email": "testing@premfina.com",
"mobile": "07443577777"
}],
"title": "MR",
"surname": "DAVID TRUEMAN",
"firstName": "GRAHAM",
"dateOfBirth": "31-12-1960"
},
"policies": [{
"startDate": "25-07-2024",
"cancellationType": "Pro Rata - Cancellable",
"reference": "PFTEST1",
"insurer": "Aviva Plc",
"coverType": "Car",
"premium": "500"
}]
}
}
{
"agreement": {
"clientRef": "20121376",
"softwareHouse": null,
"config": {
"preferredPaymentDay": 14
},
"policies":[
{
"startDate":"02-10-2020",
"cancellationType":"Pro Rata - Cancellable",
"reference":"PFTEST1",
"insurer":"Aviva Plc",
"coverType":"Car",
"premium":"542"
}
],
"feeCharges": [
{
"type": "Broker Fee",
"amount": 50.0,
"addToTotalRepayable": true,
"reference": "PL-SD-01_009"
}
],
"directDebitsAreSuppressed": true,
"preCheck": true,
"broker": {
"brokerOwnReference": "525200263"
},
"companyCustomer": {
"companyName": "dltest",
"companyNumber": "3998084",
"customerType": "Company",
"identityType": "MainCustomer",
"numberOfPartners": 2,
"companyType": {
"description": "Limited Company"
},
"addresses": [
{
"addressLine1": "100 Hatton Garden",
"addressLine2": "",
"postalTown": "London",
"country": "United Kingdom",
"postCode": "EC1N 8NX"
}
],
"bankAccounts": [
{
"accountName": "PremFina",
"accountNumber": "00000001",
"sortCode": "000001"
}
],
"contacts": [
{
"email": "test@test.com",
"landline": "1234567890",
"mobile": "1234567890"
}
],
"relations": []
}
},
"daysValid": 30,
"getQuote": {
"deposit": 0.0,
"flatRate": 10.0,
"premium": 592.0,
"schemeCode": "APIC04",
"startDate": "2023-07-14"
},
"relations": [
{
"person": {
"dateOfBirth": "01-01-1980",
"firstName": "partner",
"surname": "one",
"title": "Ms"
}
},
{
"person": {
"dateOfBirth": "01-01-1990",
"firstName": "partner",
"surname": "two",
"title": "Dr"
}
}
]
}
{
"agreement": {
"clientRef": "20121376",
"softwareHouse": null,
"config": {
"preferredPaymentDay": 28
},
"policies":[
{
"startDate":"02-10-2020",
"cancellationType":"Pro Rata - Cancellable",
"reference":"PFTEST1",
"insurer":"Aviva Plc",
"coverType":"Car",
"premium":"542"
}
],
"feeCharges": [
{
"type": "Broker Fee",
"amount": 50.0,
"addToTotalRepayable": true,
"reference": "PL-SD-01_009"
}
],
"directDebitsAreSuppressed": true,
"preCheck": true,
"broker": {
"brokerOwnReference": "527006736"
},
"companyCustomer": {
"companyName": "dltest",
"customerType": "Company",
"identityType": "MainCustomer",
"companyType": {
"description": "Sole Trader"
},
"addresses": [
{
"addressLine1": "100 Hatton Garden",
"addressLine2": "",
"postalTown": "London",
"country": "United Kingdom",
"postCode": "EC1N 8NX"
}
],
"bankAccounts": [
{
"accountName": "premfina",
"accountNumber": "00000001",
"sortCode": "000001"
}
],
"contacts": [
{
"email": "test@test.com",
"mobile": "123456789"
}
],
"relations": []
}
},
"daysValid": 30,
"getQuote": {
"deposit": 0,
"flatRate": 10,
"premium": 592,
"schemeCode": "APIC02",
"startDate": "2023-09-28"
},
"relations": [
{
"person": {
"dateOfBirth": "19-06-1990",
"firstName": "sole",
"surname": "trader",
"title": "Mr",
"addresses": [
{
"addressLine1": "TEST",
"addressLine2": "TEST",
"postalTown": "TEST",
"county": "TEST",
"country": "UK",
"postcode": "TEST",
"currentlyResident": true,
"movingInDate": "11-04-2015",
"movingOutDate": null
}
]
}
}
]
}
{
"getQuote": {
"schemeCode": "APIC01",
"deposit": 100,
"premium": 542,
"flatRate": 10,
"startDate": "2020-10-02"
},
"sharedXref": "API CRA Broker-8779329637268283",
"existingAgreementNumber": null,
"agreementNumber": "000097513",
"createdOn": "2020-10-19",
"daysValid": 30,
"daysRemaining": 30,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 11,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "15",
"code": "APIC01",
"providerName": "Aviva Plc",
"providerId": "105556",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": "5",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "15",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
"loanAdvance": 442.00,
"loanInterest": "44.20",
"deposit": 100.00,
"noInstallments": 12,
"flatRate": "10.0",
"firstInstalmentAmount": 40.59,
"regularInstalmentAmount": 40.51,
"apr": "21.41",
"customerId": 37598350,
"feeCharges": [],
"softwareHouse": null,
"loanFees": 0,
"totalPayable": 486.20,
"minimumCreditChargeMet": true,
"preCheckResponse": "Passed",
"preCheckResponseBreakdown": {
"defaultsResult": "approved",
"idResult": "passed",
"amlResult": "approved",
"creditResult": "approved"
},
"schedule": null,
"clientRef": null
}
{
"getQuote": {
"schemeCode": "APIC04",
"deposit": 0.0,
"premium": 592.0,
"flatRate": 10.0,
"startDate": "2023-07-14"
},
"sharedXref": "API CRA Broker-8779471600990464",
"existingAgreementNumber": null,
"agreementNumber": "000097514",
"createdOn": "2020-10-19",
"daysValid": 30,
"daysRemaining": 30,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 12,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "0",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "0",
"renewalMaxFlatRate": "15",
"code": "APIC04",
"providerName": "Aviva Plc",
"providerId": "105556",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Commercial",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "0",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": "0",
"renewalMinimumDepositPercentage": "0",
"renewalMaximumDepositPercentage": "0",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "0",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
"loanAdvance": 592.00,
"loanInterest": "59.20",
"deposit": 0.00,
"noInstallments": 12,
"flatRate": "10.0",
"firstInstalmentAmount": 54.34,
"regularInstalmentAmount": 54.26,
"apr": "21.41",
"customerId": 37598360,
"feeCharges": [
{
"type": "Broker Fee",
"amount": 50.0,
"addToTotalRepayable": true,
"reference": "PL-SD-01_009"
}
],
"relationError": "Index 0 out of bounds for length 0",
"softwareHouse": null,
"loanFees": 50.0,
"totalPayable": 651.20,
"minimumCreditChargeMet": true,
"preCheckResponse": null,
"preCheckResponseBreakdown": null,
"schedule": null,
"clientRef": "20121376"
}
NOTE: Within the response of the persist quote, there is a value for the field sharedXref. You will need this data in step 4 and step 5.
NOTE: The persist quote payload and response exemplified in this section is for New Business personal lines. For commercial lines and other examples, please download the PremFina Postman Collections from this link: PremFina Postman Collections
Upon creating a persist quote, you may choose to proceed towards activating the quote or decline the quote. We often recommend to decline any quote which you do not intend to activate.
If you do not want to proceed to activate the quote that you created in this step, then you must decline the quote (removing it from the list of active quotes). To do this use, please use the endpoint below:
/agreement/{agreementNumber}/decline/{token}
If you do want to proceed with the persited quote that you created in this step, then you can display the information to the customer.
👨🏫 Step 3 (Continued) - Display the information to customer
NOTE: If you are displaying the PremFina option to customers then there are some details you must show to the customer before they accept the quote.
You will have all this information (bar the link) in the response from the previosly called /persist/quote/{token}.
🏦 Step 4 - Add Bank Details to Quote. This step is optional and only required if the quote was created without bank details
When creating a persistant quote in step 3, you have the option of adding the bank details within the perist/quote payload (see the Postman collections for sample payload). However, this exemplification breaks down the user journey experienced in a typical quote to buy where a quote is generated and if the client chooses to proceed with the monthly option, bank details are requested.
If you did not create the quote with bank details, you will need to add the bank details after collecting from the customer.
NOTE: You will need the sharedXref which was returned as part of the response for step 3 (/persist/quote/)
In order to update the quote with the bank details, use the endpoint below:
/update/pquote/{sharedXref}/{token}
Use the payload below in the body of your request with the test bank account details within it.
{
"sortCode": "000001",
"accountNumber": "00000001",
"accountName": "Test Account"
}
On production environment, PremFina uses an external bank checker service to validate the bank account details on various aspect.
Also, please note that PremFina does not require you to store the bank details of customers. This step (Step 4) is about you capturing the bank details and passing it to PremFina via the API. PremFina will use the bank details to set up a direct debit mandate which would be used to facilitate the monthly repayment of the loan.
The response for adding a bank details to a quote is similar to a persist quote. See example below.
{
"agreementId": null,
"agreementNumber": "000090308",
"broker": {
"brokerOwnReference": "API CRA Broker",
"source": "API CRA Broker"
},
"hostCompany": {
"name": "PremFina Ltd"
},
"clientRef": null,
"customer": {
"id": null,
"addresses": [
{
"id": null,
"addressLine1": "22",
"addressLine2": " PATTERDALE DRIVE",
"district": null,
"postalTown": "YORK",
"county": null,
"country": "United Kingdom",
"postCode": "YO305TW",
"currentlyResident": null,
"movingInDate": null,
"movingOutDate": null
}
],
"contacts": [
{
"email": "testing@premfina.com",
"landline": null,
"mobile": "07443577777",
"fax": null
}
],
"bankAccounts": [
{
"sortCode": "000001",
"accountNumber": "00000001",
"accountName": "Returns Account",
"mandateConsent": null
}
],
"customerType": "Person",
"identityType": "MainCustomer",
"emailAddress": null,
"title": "MR",
"surname": "DAVID TRUEMAN",
"firstName": "GRAHAM",
"middleNames": null,
"dateOfBirth": "31-12-1960",
"occupation": null,
"employmentStatus": null
},
"companyCustomer": null,
"quote": {
"getQuote": {
"schemeCode": "APIC01",
"deposit": 100,
"premium": 542,
"flatRate": 10,
"startDate": "2020-10-02"
},
"sharedXref": "API CRA Broker-7553865294947815",
"existingAgreementNumber": null,
"agreementNumber": "000090308",
"createdOn": "2023-01-11",
"daysValid": null,
"daysRemaining": null,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 11,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "15",
"code": "APIC01",
"providerName": "Aviva Plc",
"providerId": "105556",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": "5",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "15",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
"loanAdvance": 442.00,
"loanInterest": "44.20",
"deposit": 100.00,
"noInstallments": 12,
"flatRate": "10.0000000",
"installmentAmount": 40.51,
"apr": "19.5319950",
"customerId": 35728170,
"feeCharges": [],
"softwareHouse": null,
"loanFees": 0,
"totalPayable": 486.20,
"minimumCreditChargeMet": true,
"preCheckResponse": "Passed",
"preCheckResponseBreakdown": {
"defaultsResult": "approved",
"idResult": "passed",
"amlResult": "approved",
"creditResult": "approved"
},
"schedule": null,
"clientRef": null
},
"params": [],
"policies": [
{
"startDate": "02-10-2020",
"cancellationType": "Pro Rata - Cancellable",
"reference": "PFTEST1",
"insurer": "Aviva Plc",
"providerId": 105556,
"premium": 542,
"coverType": "Car"
}
],
"introducerId": null,
"introducerName": "API CRA Broker",
"config": null,
"loanAdvance": null,
"installment": null,
"liveDate": null,
"maturityDate": null,
"numberOfPayments": null,
"nextDueDate": null,
"loanInterest": null,
"status": null,
"flatRate": null,
"apr": null,
"deposit": 100,
"arrears": null,
"outstandingBalance": null,
"feeBalance": null,
"mandateStatusId": null,
"mandateStatusDescription": null,
"directDebitsAreSuppressed": null,
"softwareHouse": null,
"currencyCode": null,
"pendingCancellation": false,
"pendingCancellationDateTime": null
}
💰 Step 5 - Activate Persist Quote
(Also known as taking up the proposal)
This is the step where you can activate the quote using the endpoint below. The sharedXref derived from step 3 is required for activating the loan.
/activate/quote/{sharedXref}/{token}
Upon trying to activate the loan, there are three possible outcomes.
The example below is for outcome 1 where the proposal is successfully activated. Other examples exist in the Postman collections.
NOTE: You will need the sharedXref which was returned as part of the response for step 3 (/persist/quote/)
The response for adding a bank details to a quote is similar to a persist quote. See example below.
{
"agreementNumber": "000090310",
"schedule": [
{
"date": "2020-10-26",
"amount": 40.59,
"number": 1,
"status": "Due"
},
{
"date": "2020-11-02",
"amount": 40.51,
"number": 2,
"status": "Due"
},
{
"date": "2020-12-02",
"amount": 40.51,
"number": 3,
"status": "Due"
},
{
"date": "2021-01-02",
"amount": 40.51,
"number": 4,
"status": "Due"
},
{
"date": "2021-02-02",
"amount": 40.51,
"number": 5,
"status": "Due"
},
{
"date": "2021-03-02",
"amount": 40.51,
"number": 6,
"status": "Due"
},
{
"date": "2021-04-02",
"amount": 40.51,
"number": 7,
"status": "Due"
},
{
"date": "2021-05-02",
"amount": 40.51,
"number": 8,
"status": "Due"
},
{
"date": "2021-06-02",
"amount": 40.51,
"number": 9,
"status": "Due"
},
{
"date": "2021-07-02",
"amount": 40.51,
"number": 10,
"status": "Due"
},
{
"date": "2021-08-02",
"amount": 40.51,
"number": 11,
"status": "Due"
},
{
"date": "2021-09-02",
"amount": 40.51,
"number": 12,
"status": "Due"
}
]
}
Once the quote has been activated, the agreement is live and active.
The PremFina system will automatically generate and send out an email with a welcome letter, SECCI and payment schedule documents attached to the email will be generated and emailed to the customer.
Additionally, the PremFina system will automatically generate and send out an email with a link that the customers can use to provide an e-signature for the SECCI credit agreement.
Therefore, you do not need to implement stpe 6.
✨ Step 6 - (Optional) Get Agreement Details or Status
This step is optional. It can be used as part of a user journey or back office operations. It can be used to get details related to the agreement such as: the status of an agreement (in the case of a referred proposal), monthly schedule, CRA check results, direct debit mandate status and many more.
You can use the endpoint below to get the status of an agreement.
{{baseURL}}/v2/agreement/{{agreementNumber}}/{{token}}
An example response for get agreement looks like the below:
{
"agreementId": "927486",
"agreementNumber": "000097515",
"broker": {
"brokerOwnReference": "API CRA Broker",
"source": "API CRA Broker"
},
"hostCompany": {
"name": "PremFina Ltd"
},
"clientRef": null,
"customer": null,
"companyCustomer": {
"id": "37598380",
"addresses": [
{
"id": "4321934",
"addressLine1": "100",
"addressLine2": "Hatton Garden",
"district": "",
"postalTown": "London",
"county": "",
"country": "United Kingdom",
"postCode": "EC1N8NX",
"currentlyResident": true,
"movingInDate": "2020-10-19",
"movingOutDate": null
}
],
"contacts": [
{
"email": "test@test.com",
"landline": "",
"mobile": null,
"fax": ""
}
],
"bankAccounts": [
null
],
"customerType": "Company",
"identityType": "MainCustomer",
"emailAddress": "test@test.com",
"companyName": "dltest",
"companyNumber": "",
"companyType": {
"id": 395,
"description": "Sole Trader"
},
"numberOfPartners": null,
"businessType": null
},
"quote": {
"getQuote": {
"schemeCode": "APIC02",
"deposit": 0,
"premium": 592,
"flatRate": 10,
"startDate": "2023-09-28"
},
"sharedXref": "API CRA Broker-8779712387059832",
"existingAgreementNumber": "000097515",
"agreementNumber": "000097515",
"createdOn": "2020-10-19",
"daysValid": 30,
"daysRemaining": 30,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "119637",
"brandName": "PF NBS 5WD RNWLS 5WD BRAND",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 12,
"newBusinessFlatRate": "12",
"newBusinessMinFlatRate": "10",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "12",
"renewalMinFlatRate": "10",
"renewalMaxFlatRate": "15",
"code": "APIC02",
"providerName": "Aviva Plc",
"providerId": "105556",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": true,
"minimumCreditCharge": "0",
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": "0",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": null,
"product": {
"name": "PF NBS 5WD RNWLS 5WD PRODUCT",
"id": "118632"
}
},
"loanAdvance": 592.00,
"loanInterest": "59.20",
"deposit": 0.00,
"noInstallments": 12,
"flatRate": "10.0",
"firstInstalmentAmount": 54.34,
"regularInstalmentAmount": 54.26,
"apr": "21.41",
"customerId": 37598380,
"feeCharges": [
{
"type": "Broker Fee",
"amount": 50.0,
"addToTotalRepayable": true,
"reference": "PL-SD-01_009"
}
],
"softwareHouse": null,
"loanFees": 50.0,
"totalPayable": 651.20,
"minimumCreditChargeMet": true,
"preCheckResponse": null,
"preCheckResponseBreakdown": null,
"schedule": [
{
"date": "2023-10-28",
"amount": 54.34,
"number": 1,
"status": "Due"
},
{
"date": "2023-11-28",
"amount": 54.26,
"number": 2,
"status": "Due"
},
{
"date": "2023-12-28",
"amount": 54.26,
"number": 3,
"status": "Due"
},
{
"date": "2024-01-28",
"amount": 54.26,
"number": 4,
"status": "Due"
},
{
"date": "2024-02-28",
"amount": 54.26,
"number": 5,
"status": "Due"
},
{
"date": "2024-03-28",
"amount": 54.26,
"number": 6,
"status": "Due"
},
{
"date": "2024-04-28",
"amount": 54.26,
"number": 7,
"status": "Due"
},
{
"date": "2024-05-28",
"amount": 54.26,
"number": 8,
"status": "Due"
},
{
"date": "2024-06-28",
"amount": 54.26,
"number": 9,
"status": "Due"
},
{
"date": "2024-07-28",
"amount": 54.26,
"number": 10,
"status": "Due"
},
{
"date": "2024-08-28",
"amount": 54.26,
"number": 11,
"status": "Due"
},
{
"date": "2024-09-28",
"amount": 54.26,
"number": 12,
"status": "Due"
}
],
"clientRef": "20121376"
},
"params": [],
"policies": [
{
"startDate": "2020-10-02",
"cancellationType": "Pro Rata - Cancellable",
"reference": "PFTEST1",
"insurer": "Aviva Plc",
"providerId": 105556,
"premium": 542.00,
"coverType": "Car"
},
{
"startDate": "2020-10-02",
"cancellationType": "Pro Rata - Cancellable",
"reference": "FEE-PL-SD-01_009",
"insurer": "Broker Fee",
"providerId": 301008,
"premium": 50.00,
"coverType": "Broker Fee"
}
],
"introducerId": "307011",
"introducerName": "API CRA Broker",
"config": {
"preferredPaymentDay": 28
},
"loanAdvance": 592.00,
"firstInstalmentAmount": 54.34,
"regularInstalmentAmount": 54.26,
"liveDate": "2023-09-28",
"maturityDate": "2024-09-28",
"numberOfPayments": 12,
"nextDueDate": null,
"loanInterest": "59.20",
"status": "Proposal",
"flatRate": 10.0,
"apr": 21.41,
"deposit": 0.00,
"arrears": 0.00,
"outstandingBalance": 0.00,
"feeBalance": 0.00,
"mandateStatusId": null,
"mandateStatusDescription": null,
"directDebitsAreSuppressed": false,
"softwareHouse": null,
"currencyCode": null,
"pendingCancellation": false,
"pendingCancellationDateTime": null
}
In the case that you want to monitor the status of a referred agreement in order to determine if it has been approved or declined upon the manual assessment by the credit team, upon calling the endpoint ({{baseURL}}/agreement/{{agreementNumber}}/{{token}}), the response can be used to get the agreement details; among other information, look out for the field name ‘active’:
Renewals are done towards the end of an agreement. However, before a renewal is done, the following must be checked:
Also, when renewing an agreement, there is an optional field called “mandateConsent” which accepts the values of “true” or “false”; this field with the corresponding values may be sent during the time of renewing an agreement. The following scenarios should occur. Typically, the renewal workflow is very similar to the new business workflow.
"mandateStatus": true
or
"mandateStatus": false
Scenario 1: If a renewal is done on an agreement that has a valid mandate status, and no bank details is sent during the renewal request, then it inherits bank details from root agreement and the renewal is created.
Scenario 2: If a renewal is done on an agreement that has a valid mandate status and a different bank details is sent during the renewal request, then the renewal is created with a new mandate for new bank details.
Scenario 3: If a renewal is done on an agreement that has a cancelled mandate status, and a different bank details is sent during the renewal request, then the renewal is created and a mandate registered for the new bank details.
Scenario 4: If a renewal is done on an agreement that has a cancelled mandate status, and the same bank details similar to the root agreement bank details is sent, the renewal is created, but, the options below should be noted:
Option A: If the “mandateConsent” field is sent as “true” then the direct debit mandate is reinstated on the renewal agreement.
Option B: If the “mandateConsent” field is sent as “false” then the direct debit mandate is not reinstated on the renewal agreement. However, the agreement is still created.
🔒 Step 1 - Login
(Retrieve Auth Token needed for later calls)
Call the Login endpoint, sending your username and password, to return an authentication token, used for subsequent calls.
See the FAQ for more info on Tokens.
/login
Sample Payload:
{
"user": "API_USER_CRA",
"password": "PWLAP1$U$3R781"
}
Sample Response:
pO8udqWwsbLMzcZRTYVs6RpqI4WGEiuPX1SuY5SLfoxHjjgA20
👀 Step 2 (Optional) - Get Quote Renewal without any broker or facility fee
This step is an optional step. It can be skipped. A Renewal Business workflow may include getting a basic quote that does not involve CRA checks. This will return a basic quote based on the scheme code, deposit, premium and agreement start date. Executing this step is mostly useful for user journeys that involves showing the client a quote before they decide on a pay month or pay yearly option.
/v2/get/quote/renewal/{token}
Sample Payload:
{
"schemeCode" : "APIC01",
"deposit" : "20",
"premium" : "200",
"startDate" : "2021-02-10"
}
Sample Response:
{
"getQuote": {
"schemeCode": "APIC01",
"deposit": 20,
"premium": 200,
"flatRate": null,
"startDate": "2021-02-10"
},
"sharedXref": null,
"existingAgreementNumber": null,
"agreementNumber": "000083156",
"createdOn": "2020-10-19",
"daysValid": null,
"daysRemaining": null,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 11,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "15",
"code": "APIC01",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": "5",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "15",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
"loanAdvance": 180.00,
"loanInterest": "18.00",
"deposit": 20.00,
"noInstallments": 11,
"flatRate": "10.0",
"firstInstalmentAmount": 18.0,
"regularInstalmentAmount": 18.0,
"apr": "23.70",
"customerId": null,
"feeCharges": [],
"softwareHouse": null,
"loanFees": 0,
"totalPayable": 198.00,
"minimumCreditChargeMet": true,
"preCheckResponse": null,
"preCheckResponseBreakdown": null,
"schedule": null,
"clientRef": null
}
👀 Step 2 (Optional) - Get Quote Renewal with broker or facility fee
This step is an optional step. It can be skipped. A New Business workflow may include getting a basic quote that does not involve CRA checks. This will return a basic quote based on the scheme code, deposit, premium and agreement start date. Executing this step is mostly useful for user journeys that involves showing the client a quote before they decide on a pay month or pay yearly option.
/v2/get/quote/{token}
Sample Payload:
{
"feeCharges": [
{
"addToTotalRepayable": true,
"amount": 50,
"reference": "Sample Ref",
"type": "Broker Fee"
}
],
"schemeCode" : "APIC01",
"deposit" : "20",
"premium" : "200",
"startDate" : "2021-02-10"
}
Sample Response:
{
"getQuote": {
"schemeCode": "APIC01",
"deposit": 20,
"premium": 200,
"flatRate": null,
"startDate": "2021-02-10",
"feeCharges": [
{
"type": "Broker Fee",
"amount": 50,
"addToTotalRepayable": true,
"reference": "Sample Ref"
}
]
},
"sharedXref": null,
"existingAgreementNumber": null,
"agreementNumber": "000083156",
"createdOn": "2020-10-19",
"daysValid": null,
"daysRemaining": null,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 11,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "15",
"code": "APIC01",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": "5",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "15",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
"loanAdvance": 180.00,
"loanInterest": "18.00",
"deposit": 20.00,
"noInstallments": 11,
"flatRate": "10.0",
"firstInstalmentAmount": 18.0,
"regularInstalmentAmount": 18.0,
"apr": "23.70",
"customerId": null,
"feeCharges": [],
"softwareHouse": null,
"loanFees": 0,
"totalPayable": 198.00,
"minimumCreditChargeMet": true,
"preCheckResponse": null,
"preCheckResponseBreakdown": null,
"schedule": null,
"clientRef": null
}
💵 Step 3 - Create a Persist Quote Renewal
Also, because there are Credit Risk and Affordability (CRA) checks when applying for a loan, a question which is frequently asked is “Will the customer have a hard inquiry on their credit report?”
This step (Step 3) does the following: (1) Create a renewal quote. (2) Does a Soft inquiry, and returns the result of of the quote including the CRA. For more information on CRA, please see the FAQ section on this page.
The results of the persist renewal quote (including the CRA) allows you to decide whether to offer PremFina as a finance option. If the result of the soft inquiry indicates we may refer the loan, you may choose to not offer this option to the customer.
Another question that is frequently asked during a persist quote is “What is the data format, length and mandatory fields for the payload?” a
Click here to download a file that contains the list of mandatory fields, accepted values and data format: premfina_mandatory_fields_api.xlsx
A typical Renewal Business workflow is below i.e. to renew an existing agreement.
{{baseURL}}/v2/persist/quote/renewal/{{token}}
{
"daysValid": "30",
"clientRef": null,
"getQuote": {
"schemeCode": "APIC01",
"deposit": "100",
"premium": "500",
"startDate": "2022-04-10"
},
"existingAgreementNumber": {{agreementNumber}},
"policies": [{
"startDate": "02-04-2022",
"cancellationType": "Pro Rata - Cancellable",
"reference": "PFTEST1",
"insurer": "API Insurer",
"coverType": "Car",
"premium": "500"
}],
"bankAccount": {
"sortCode": "000001",
"accountNumber": "00000001",
"accountName": "Returns Account",
"mandateConsent": "true"
}
}
{
"getQuote": {
"schemeCode": "APIC04",
"deposit": 20,
"premium": 201,
"flatRate": null,
"startDate": "2021-01-21"
},
"sharedXref": "API CRA Broker-8785063209274910",
"existingAgreementNumber": "000097517-02",
"agreementNumber": "000097517-02",
"createdOn": "2020-10-19",
"daysValid": 30,
"daysRemaining": 30,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 12,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "0",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "0",
"renewalMaxFlatRate": "15",
"code": "APIC04",
"providerName": "Aviva Plc",
"providerId": "105556",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Commercial",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "0",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": "0",
"renewalMinimumDepositPercentage": "0",
"renewalMaximumDepositPercentage": "0",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "0",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
"loanAdvance": 181.00,
"loanInterest": "18.10",
"deposit": 20.00,
"noInstallments": 12,
"flatRate": "10.0",
"firstInstalmentAmount": 16.61,
"regularInstalmentAmount": 16.59,
"apr": "21.41",
"customerId": 37598410,
"feeCharges": [],
"softwareHouse": null,
"loanFees": 0,
"totalPayable": 199.10,
"minimumCreditChargeMet": true,
"preCheckResponse": null,
"preCheckResponseBreakdown": null,
"schedule": [
{
"date": "2021-02-21",
"amount": 16.61,
"number": 1,
"status": "Due"
},
{
"date": "2021-03-21",
"amount": 16.59,
"number": 2,
"status": "Due"
},
{
"date": "2021-04-21",
"amount": 16.59,
"number": 3,
"status": "Due"
},
{
"date": "2021-05-21",
"amount": 16.59,
"number": 4,
"status": "Due"
},
{
"date": "2021-06-21",
"amount": 16.59,
"number": 5,
"status": "Due"
},
{
"date": "2021-07-21",
"amount": 16.59,
"number": 6,
"status": "Due"
},
{
"date": "2021-08-21",
"amount": 16.59,
"number": 7,
"status": "Due"
},
{
"date": "2021-09-21",
"amount": 16.59,
"number": 8,
"status": "Due"
},
{
"date": "2021-10-21",
"amount": 16.59,
"number": 9,
"status": "Due"
},
{
"date": "2021-11-21",
"amount": 16.59,
"number": 10,
"status": "Due"
},
{
"date": "2021-12-21",
"amount": 16.59,
"number": 11,
"status": "Due"
},
{
"date": "2022-01-21",
"amount": 16.59,
"number": 12,
"status": "Due"
}
],
"clientRef": null
}
🏦 Step 4 - Add Bank Details to a Persist Renewal Quote. This step is optional and only required if the quote was created without bank details.
When creating a renewal persistant quote in step 3, you have the option of adding the bank details within the perist/quote payload (see the Postman collections for sample payload). However, this exemplification breaks down the user journey experienced in a typical quote to buy where a quote is generated and if the client chooses to proceed with the monthly option, bank details are requested.
If you did not create the quote with bank details, you will need to add the bank details after collecting from the customer.
NOTE: You will need the sharedXref which was returned as part of the response for step 3 (/persist/quote/)
In order to update the quote with the bank details, use the endpoint below:
/update/pquote/{sharedXref}/{token}
Use the payload below in the body of your request with the test bank account details within it.
{
"sortCode": "000001",
"accountNumber": "00000001",
"accountName": "Test Account"
}
On production environment, PremFina uses an external bank checker service to validate the bank account details on various aspect.
Also, please note that PremFina does not require you to store the bank details of customers. This step (Step 4) is about you capturing the bank details and passing it to PremFina via the API. PremFina will use the bank details to set up a direct debit mandate which would be used to facilitate the monthly repayment of the loan.
The response for adding a bank details to a quote is similar to a persist quote. See example below.
200 - OK
/activate/quote/{sharedXref}/{token}
/activate/quote/{sharedXref}/{token}
Note: A persistent quote for the renewal must have been requested which would generate the sharedXred. Use the sharedXref of the persistent quote to activate the renewal quote.
If the renewal quote is successfully activated, then the response will be similar to the one below.
{
"agreementNumber": "000085733",
"schedule": [
{
"date": "2020-10-26",
"amount": 40.72,
"number": 1,
"status": "Due"
},
{
"date": "2020-11-02",
"amount": 40.72,
"number": 2,
"status": "Due"
},
{
"date": "2020-12-02",
"amount": 40.72,
"number": 3,
"status": "Due"
},
{
"date": "2021-01-02",
"amount": 40.72,
"number": 4,
"status": "Due"
},
{
"date": "2021-02-02",
"amount": 40.72,
"number": 5,
"status": "Due"
},
{
"date": "2021-03-02",
"amount": 40.72,
"number": 6,
"status": "Due"
},
{
"date": "2021-04-02",
"amount": 40.72,
"number": 7,
"status": "Due"
},
{
"date": "2021-05-02",
"amount": 40.72,
"number": 8,
"status": "Due"
},
{
"date": "2021-06-02",
"amount": 40.72,
"number": 9,
"status": "Due"
},
{
"date": "2021-07-02",
"amount": 40.72,
"number": 10,
"status": "Due"
},
{
"date": "2021-08-02",
"amount": 40.72,
"number": 11,
"status": "Due"
}
]
}
If the renewal quote is referred, then the response will be similar to the one below. The referral will be reviewed by the credit team of PremFina.
Proposal 000085733-01 Referred.
Before a Cancellation (Checking if an agreement is in a payment cycle)
Before cancelling an agreement, it might be helpful to determine if the agreement is in a payment cycle. In order to determine this, please use the endpoint below:
/get/bacsqueue/{agreementNumber}/{token}
The endpoint above accepts the agreement number and a tocken (derived from logging in).
Upon executing the BACS queue endpoint, a sample response for an agreement in payment cycle with transaction date not due returns a HTTP response code of “200 OK” and looks like the below:
[
{
"amount": 72.50,
"statusDescription": "Not Transmitted",
"transactionCode": "ON",
"transactionDate": "2023-02-05",
"triggerDate": "2023-02-01"
}
]
Based on the BACS queue sample response above, please see below for what each field implies and their possible values.
What the fields mean:
Possible values for each field (and what it means):
“statusDescription”: Transmitted (transaction has been initiated), Not Transmitted (transaction has not been initiated), Suppressed (agreement’s payment cycle has been suppressed), Deleted (when agreement is NTUed, marked as completed/cancel), Cancelled (DD is cancelled), Caught up (when agreement is re-instated), Failed to send (can be due to invalid bank account)
“transactionDate”: A date value of YYYY-MM-DD format
“triggerDate”: A date value of YYYY-MM-DD format
“amount”: a decimal value of the transaction amount
“transactionCode”: ON (mandate registered), 17 (regular collection), 18 (DD representation), 99 (failure error/direct credit refund), OC (Cancel existing DDI), 01 (DD first collection), 19 (final DD collection), OS (Conversion instruction)
How to determine if an agreement is in a payment cycle (or not)
Overview: Everyday, at 0500 hours, a BACS job runs on PremFina’s system. Its main job is to curate agreements with a trigger date of the current day so that they can either be put in a BACS queue ready for collection or collected if they are already in the queue and the transaction date is the same day. We will skip bank holidays or weekends and consider the next working day when processing and placing agreements in a payment cycle.
Note: Please note that for a newly created transaction, the first BACS entry implies that the mandate is registered, and the transaction code is “ON” with an amount of 0.00. This entry should not be used to determine if an agreement is in or not in a payment cycle.
{
"statusDescription": "Deleted",
"transactionDate": "2023-03-29",
"triggerDate": "2023-03-29",
"amount": 0.00,
"transactionCode": "0N"
}
{
"statusDescription": "Transmitted",
"transactionDate": "2023-03-29",
"triggerDate": "2023-03-29",
"amount": 0.00,
"transactionCode": "0N"
}
Upon executing the BACS queue endpoint, a sample response for an agreement in payment cycle that is suppressed returns a HTTP response code of “200 OK” and looks like the below:
[
{
"amount": 72.50,
"statusDescription": "Suppressed",
"transactionCode": "01",
"transactionDate": "2023-02-05",
"triggerDate": "2023-02-01"
}
]
Why the dates should be considered: As discussed during the meeting, there are scenarios that can make transaction code and statuses insufficient in determining if an agreement is in or not in a payment cycle. Also, the list of items in the BACS queue will keep growing for each collection cycle. Therefore, the date is required to identify the most recent item and also to determine if the date is within the range that should be considered before triggering a cancellation.
Scenario A - An agreement is in a payment cycle: To determine if an agreement is in a payment cycle,
- make a call to the endpoint -> read the item with the most recent <>
- If today’s date is any date from the trigger date (triggerDate) to the transaction date
(transactionDate) and/or less than 2 days after the transaction date, then the agreement is in
payment cycle.
- Use a logic that also considers statusDescription.
{
"statusDescription": "Transmitted",
"transactionDate": "2023-07-06",
"triggerDate": "2023-07-04",
"amount": 17.48,
"transactionCode": "01"
}
Note: Based on the above, even if the check is done on a day after the 6/July/2023, we need to consider +2 days from the transaction date…
{
"statusDescription": "Failed to send",
"transactionDate": "2023-06-22",
"triggerDate": "2023-06-20",
"amount": 240.00,
"transactionCode": "01"
},
{
"statusDescription": "Failed to send",
"transactionDate": "2023-07-17",
"triggerDate": "2023-07-13",
"amount": 140.00,
"transactionCode": "01"
}
{
"statusDescription": "Transmitted",
"transactionDate": "2023-07-04",
"triggerDate": "2023-07-02",
"amount": 17.48,
"transactionCode": "01"
}
Note: Based on the above, even if the check is done on a day after the 4/July/2023, we need to consider +2 days from the transaction date.
{
"statusDescription": "Failed to send",
"transactionDate": "2023-06-20",
"triggerDate": "2023-06-18",
"amount": 240.00,
"transactionCode": "01"
},
{
"statusDescription": "Failed to send",
"transactionDate": "2023-07-15",
"triggerDate": "2023-07-11",
"amount": 140.00,
"transactionCode": "01"
}
Other Points to consider while designing the code:
In summary, the overall logic for checking if an agreement is in a payment cycle or not should be like below
if accountStatus != cancelled or accountStatus != closed
if statusDescription == Transmitted and transactionCode != ON transactionCode != 99 //this will ignore all the other status descriptions
if transactionDate > sysdate-2 and transactionDate < sysdate+2
Then it is in a payment cycle
else
It is not in a payment cycle
Requesting a Cancellation
There are 2 different types of cancellations on PremFina. These are PRO and NTU.
For both of these the endpoint to use is:
/cancellation/{token}
Please note that the cancellation type need to match our list of expected values. They are:
Minimum and Deposit
Non Refundable
Pro Rata - Cancellable
Short Rate
Unknown Cancellation Type
Please note that the cancellation reason need to match our list of expected values. They are:
Customer Notice Cancellation
Duplicate in Error
Input Error
Insurance Not Taken Up(Ext)
Invalid Agreement
Unwind
NTU stands for “Not Taken Up” and would be used in the following circumstances:
“Customer Notice - Cancellation” - Used if the customer cancels their policy within the 14 day cooling off period.
“Duplicated In Error”, “Input Error”, “Invalid Agreement” - Used if you have created a duplicate loan, entered some details in error that can’t be ammended, or created a loan which shouldn’t have been created.
{
"agreementNo" : "000XXXXXX",
"reason" : "NTU",
"cancellationReason" : "Duplicated in Error"
}
{
"reason": "NTU",
"cancellationReason": "Customer Notice - Cancellation",
"agreementNo": "000085950",
"status": "accepted",
"balance": 400.00,
"cancellationBalance": null
}
The “reason” must be NTU.
The “cancellationReason” must be one of the options listed above.
PRO is used to cancel an agreement mid term.
The payload sent may depend of whether the scheme used is Recourse or Non-Recourse.
If the business is Non-Recourse we would expect to recieve a field called “cancellationBalance” which would be equal to the amount of Premium Returned from the insurer.
If the business is Recourse then we would not expect this field because the “cancellationBalance” should always be equal to the system calculated amount (for Recourse business PremFina will always claw back the full outstanding amount on the next statement)
{
"agreementNo" : "000460419",
"reason" : "PRO"
}
Or
{
"agreementNo" : "000460419",
"reason" : "PRO",
"cancellationBalance" : "150.00"
}
{
"reason": "PRO",
"cancellationReason": null,
"agreementNo": "000085954",
"status": "cancelled",
"balance": 404.36,
"cancellationBalance": null
}
It may be necessary to check what the system generated “cancellationBalance” would be. This can be retrieved by using:
/cancellation/balance/{agreementNumber}/{token}
NOTE - There is a business rule that means for any cancellation request attempted, if it is within the 14 day cooling off period the cancellation will be treated as an NTU, regardless of the requested reason.
MTAs or Mid Term Adjustments can be financial or non-financial. A non-financial MTA is, for example a change of contact details for the customer. A financial MTA is a change which affects the amount to be funded and the total amount payable by the customer.
In this document we are only talking about Financial MTA’s.
Financial MTA Example Scenario:
NOTE: Also, please note that a CRA check is done during an MTA which may lead to the outcome of referring an MTA request for review by the credit team. Click this link to see more about the MTA rules: https://wiki.premfina.com/en/credit-compliance/business-rules#mta-additional-premium
Also, please click this link for more PremFina general business rules: https://wiki.premfina.com/en/credit-compliance/business-rules
The following examples will be done on pf-sandbox which potential customers can access.
MTA Increase on a Single Policy
Endpoint: /midterm/premium/quote/{token}
Sample Payload:
{
"agreement_number": "000086533",
"mta_reference": "string",
"policies": [
{
"policy_reference": "PFTEST1",
"type": "increase",
"amount": "70"
}
]
}
{
"mtaQuoteID": "4IOQAVAMTRFVEK5N",
"createdOn": "2020-10-19",
"validUntil": "2020-10-29",
"amount": 70,
"type": "increase",
"flatRate": 14.134468,
"apr": 31.4440470,
"exceptions": [],
"scheduleList": [
{
"date": "2020-10-26",
"amount": 47.76,
"number": 1,
"status": null
},
{
"date": "2020-11-02",
"amount": 47.76,
"number": 2,
"status": null
},
{
"date": "2020-12-02",
"amount": 47.76,
"number": 3,
"status": null
},
{
"date": "2021-01-02",
"amount": 47.76,
"number": 4,
"status": null
},
{
"date": "2021-02-02",
"amount": 47.76,
"number": 5,
"status": null
},
{
"date": "2021-03-02",
"amount": 47.76,
"number": 6,
"status": null
},
{
"date": "2021-04-02",
"amount": 47.76,
"number": 7,
"status": null
},
{
"date": "2021-05-02",
"amount": 47.76,
"number": 8,
"status": null
},
{
"date": "2021-06-02",
"amount": 47.76,
"number": 9,
"status": null
},
{
"date": "2021-07-02",
"amount": 47.76,
"number": 10,
"status": null
},
{
"date": "2021-08-02",
"amount": 47.76,
"number": 11,
"status": null
}
],
"totalRepayableAmountBeforeMTA": 447.92,
"totalRepayableAmountAfterMTA": 525.36
}
MTA Decrease on a Single Policy
Endpoint: /midterm/premium/quote/{token}
Sample Payload:
{
"agreement_number": "000086533",
"mta_reference": "string",
"policies": [
{
"policy_reference": "PFTEST1",
"type": "decrease",
"amount": "50"
}
]
}
{
"mtaQuoteID": "4IOQAVAMTRFVEK5N",
"createdOn": "2020-10-19",
"validUntil": "2020-10-29",
"amount": 70,
"type": "increase",
"flatRate": 14.134468,
"apr": 31.4440470,
"exceptions": [],
"scheduleList": [
{
"date": "2020-10-26",
"amount": 47.76,
"number": 1,
"status": null
},
{
"date": "2020-11-02",
"amount": 47.76,
"number": 2,
"status": null
},
{
"date": "2020-12-02",
"amount": 47.76,
"number": 3,
"status": null
},
{
"date": "2021-01-02",
"amount": 47.76,
"number": 4,
"status": null
},
{
"date": "2021-02-02",
"amount": 47.76,
"number": 5,
"status": null
},
{
"date": "2021-03-02",
"amount": 47.76,
"number": 6,
"status": null
},
{
"date": "2021-04-02",
"amount": 47.76,
"number": 7,
"status": null
},
{
"date": "2021-05-02",
"amount": 47.76,
"number": 8,
"status": null
},
{
"date": "2021-06-02",
"amount": 47.76,
"number": 9,
"status": null
},
{
"date": "2021-07-02",
"amount": 47.76,
"number": 10,
"status": null
},
{
"date": "2021-08-02",
"amount": 47.76,
"number": 11,
"status": null
}
],
"totalRepayableAmountBeforeMTA": 447.92,
"totalRepayableAmountAfterMTA": 525.36
}
Activating MTA
Upon getting an MTA quote, an MTA can be activated by calling the endpoint below. Please note that the mtaQuoteID from the response of MTA quote is required to activate the MTA.
Endpoint: /midterm/quote/activate/{token}
Sample Payload:
{
"agreement_number": "000086533",
"mtaQuoteID": "4IOQAVAMTRFVEK5N"
}
Listing All MTA For An Agreement
The endpoint below can be used to list all the MTA (including increases and decreases) for an agreement.
Endpoint: /midterm/quote/list/{token}
Sample Payload:
{
"agreement_number": "000086533"
}
{
"quotes": [
{
"mtaAmount": 70.0,
"mtaQuoteID": "4IOQAVAMTRFVEK5N",
"mtaType": "increase",
"takenUp": true,
"takenUpDate": "2020-10-19"
}
]
}
MTA Change on a Multiple Policies
Think of the following example. An end customer has 2 separate insurances with a broker. The broker has set up 1 agreement on PremFina for the end customer so that they only have 1 direct debit. Now there is a change to the end customer’s situation which will incur a change to both insurance policies.
It should be possible to perform both changes on PremFina simultaneously, otherwise we would have to perform two MTAs and create 2 letters and 2 emails.
This is handled by the aforementioned endpoint in the following way.
The agreement 000083945 has 2 polices on it. The policy references for these are PFTEST1 and PFTEST2. We can see below that we want to make an increase to PFTEST2 and a decrease to PFTEST1 in one call.
Endpoint: /midterm/premium/{token}
Sample Payload:
{
"agreement_number": "000083945",
"mta_reference": "12345",
"policies": [
{
"policy_reference": "PFTEST1",
"type": "decrease",
"amount": "100"
},
{
"policy_reference": "PFTEST2",
"type": "decrease",
"amount": "50"
}
]
}
The above will work even if one of the adjustments is an increase and the other is a decrease.
In the above example the following will occur:
A non-financial MTA is, for example a change of name and contact details for the customer. A financial MTA is a change which affects the amount to be funded and the total amount payable by the customer.
Non-Financial MTA Example Scenario:
An end customer calls their insurance broker to notify them of a change which may not affect their premium (such as changing their names, updating their email address, and changing their phone number).
Changing the Customer’s Bank Account Details
Endpoint: /customer/update/{token}
Sample Payload:
{
"agreementNumber": "000085300",
"bankAccounts": [
{
"accountName": "Returns Account",
"accountNumber": "00000001",
"sortCode": "000001"
}
]
}
Changing the Customer’s Address
Endpoint: /customer/update/{token}
Sample Payload:
{
"agreementNumber": "000085300",
"addresses": [
{
"addressLine1": "3",
"addressLine2": "Sedgeway",
"country": "United Kingdom",
"county": "Southwark",
"currentlyResident": true,
"district": "Southwark",
"movingInDate": "12-10-2020",
"movingOutDate": "12-10-2021",
"postCode": "SE6 1JR",
"postalTown": "Cartford"
}
]
}
Changing the Customer’s Contact Details
Endpoint: /customer/update/{token}
Sample Payload:
{
"agreementNumber": "000085300",
"contacts": [
{
"email": "Jane.Doe@PremFina.com",
"fax": "",
"landline": "",
"mobile": "07777777777"
}
]
}
Changing the Customer’s Contact and Bank Account Details
Endpoint: /customer/update/{token}
Sample Payload:
{
"agreementNumber": "000085300",
"contacts": [
{
"email": "Jane.Doe@PremFina.com",
"fax": "",
"landline": "",
"mobile": "07777777777"
}
],
"bankAccounts": [
{
"accountName": "Returns Account",
"accountNumber": "00000001",
"sortCode": "000001"
}
]
}
Changing the Customer’s Address, Contact Details and Bank Account Details
Endpoint: /customer/update/{token}
Sample Payload:
{
"agreementNumber": "000085300",
"addresses": [
{
"addressLine1": "3",
"addressLine2": "Sedgeway",
"country": "United Kingdom",
"county": "Southwark",
"currentlyResident": true,
"district": "Southwark",
"movingInDate": "12-10-2020",
"movingOutDate": "12-10-2021",
"postCode": "SE6 1JR",
"postalTown": "Cartford"
}
],
"bankAccounts": [
{
"accountName": "Returns Account",
"accountNumber": "00000001",
"sortCode": "000001"
}
],
"contacts": [
{
"email": "Jane.Doe@PremFina.com",
"fax": "",
"landline": "",
"mobile": "07777777777"
}
]
}
Non-Financial MTA: Change of Payment Due Date Scenario:
A non-financial mid term adjustment may also include the change of payment due date. Imagine a scenario where a change of circumstance (such as a change of employer) by a customer could lead to them changing the due dates of their direct debit mandates.
In order to change a due date, the endpoint below can be called to return information about the amount of days a payment can be moved forward or backwards.
[GET] /listAllowablePaymentDateChanges/{agreementNo}/{token}
A sample response that is returned from calling this endpoint is:
{
"maxDateForwardAllowed": "2021-05-15",
"maxDateBackwardAllowed": "2021-04-20"
}
Once the amount of days a payment can be moved forward or backwards is determined, the endpoint below can be called to change the payment due date. The valid date format for this endpoint is YYYY-MM-DD.
[POST] /changePaymentDate/{agreementNumber}/2021-04-15/{token}
A sample response that is returned from calling this endpoint is:
{
"scenario": "We will change the next due date starting from 2021-04-30"
}
Note that a calendar day may also be passed in this endpoint instead of passing a full date.
[POST] /changePaymentDate/{agreementNumber}/30/{token}
A sample response that is returned from calling this endpoint is:
{
"scenario": "We will change the next due date starting from 2021-04-30"
}
👀 Getting Schemes
Optionally, the endpoint below can be used to get information about all the schemes available to a broker. This will return all the basic scheme codes and there respective details.
/get/schemes/{token}
Sample Response:
[
{
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 10,
"renewalNumberOfInstalments": 10,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "100",
"renewalFlatRate": "10",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "100",
"code": "APIC03",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": true,
"minimumCreditCharge": "50",
"newBusinessMinimumDepositPercentage": "5",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": "15",
"renewalMinimumDepositPercentage": "5",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "15",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
{
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 12,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "0",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "0",
"renewalMaxFlatRate": "15",
"code": "APIC04",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Commercial",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "0",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": "0",
"renewalMinimumDepositPercentage": "0",
"renewalMaximumDepositPercentage": "0",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "0",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
{
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 12,
"newBusinessFlatRate": "8",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "8",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "15",
"code": "APIC05",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Non-Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": null,
"newBusinessMaximumDepositPercentage": null,
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": "0",
"renewalMinimumDepositPercentage": null,
"renewalMaximumDepositPercentage": null,
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "0",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
{
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 12,
"newBusinessFlatRate": "10",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "15",
"code": "APIC06",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "5",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": "15",
"renewalMinimumDepositPercentage": "5",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "15",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
{
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 11,
"renewalNumberOfInstalments": 11,
"newBusinessFlatRate": "12",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "15",
"code": "APIC01",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "5",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": "15",
"renewalMinimumDepositPercentage": "5",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "15",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
},
{
"branchId": "5476010",
"classificationId": "100000",
"brandId": "119637",
"brandName": "PF NBS 5WD RNWLS 5WD BRAND",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 12,
"newBusinessFlatRate": "12",
"newBusinessMinFlatRate": "10",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "12",
"renewalMinFlatRate": "10",
"renewalMaxFlatRate": "15",
"code": "APIC02",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": true,
"minimumCreditCharge": "0",
"newBusinessMinimumDepositPercentage": null,
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": null,
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": null,
"product": {
"name": "PF NBS 5WD RNWLS 5WD PRODUCT",
"id": "118632"
}
}
]
Furthermore, more detailed information about a specific scheme can be obtained by calling the endpoint below. The desired scheme code must be passed in the request URL.
/get/scheme/APIC01/{token}
Sample Response:
{
"branchId": "5476010",
"classificationId": "100000",
"brandId": "107638",
"brandName": "Premium Finance Start Brand",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 11,
"renewalNumberOfInstalments": 11,
"newBusinessFlatRate": "12",
"newBusinessMinFlatRate": "5",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "10",
"renewalMinFlatRate": "5",
"renewalMaxFlatRate": "15",
"code": "APIC01",
"providerName": "API Insurer",
"providerId": "307012",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": false,
"minimumCreditCharge": null,
"newBusinessMinimumDepositPercentage": "5",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": "15",
"renewalMinimumDepositPercentage": "5",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": "15",
"product": {
"name": "Premium Finance Start Product",
"id": "107637"
}
}
👀 Getting Agreement
Optionally, the endpoint below can be used to get information about an agreement. This will return all the data associated to an agreement.
/v2/agreement/{agreementNo}/{token}
Sample Response:
{
"agreementId": "927486",
"agreementNumber": "000097515",
"broker": {
"brokerOwnReference": "API CRA Broker",
"source": "API CRA Broker"
},
"hostCompany": {
"name": "PremFina Ltd"
},
"clientRef": null,
"customer": null,
"companyCustomer": {
"id": "37598380",
"addresses": [
{
"id": "4321934",
"addressLine1": "100",
"addressLine2": "Hatton Garden",
"district": "",
"postalTown": "London",
"county": "",
"country": "United Kingdom",
"postCode": "EC1N8NX",
"currentlyResident": true,
"movingInDate": "2020-10-19",
"movingOutDate": null
}
],
"contacts": [
{
"email": "test@test.com",
"landline": "",
"mobile": null,
"fax": ""
}
],
"bankAccounts": [
null
],
"customerType": "Company",
"identityType": "MainCustomer",
"emailAddress": "test@test.com",
"companyName": "dltest",
"companyNumber": "",
"companyType": {
"id": 395,
"description": "Sole Trader"
},
"numberOfPartners": null,
"businessType": null
},
"quote": {
"getQuote": {
"schemeCode": "APIC02",
"deposit": 0,
"premium": 592,
"flatRate": 10,
"startDate": "2023-09-28"
},
"sharedXref": "API CRA Broker-8779712387059832",
"existingAgreementNumber": "000097515",
"agreementNumber": "000097515",
"createdOn": "2020-10-19",
"daysValid": 30,
"daysRemaining": 30,
"activated": null,
"activatedOn": null,
"scheme": {
"branchId": "5476010",
"classificationId": "100000",
"brandId": "119637",
"brandName": "PF NBS 5WD RNWLS 5WD BRAND",
"hostCompany": {
"name": "PremFina Ltd"
},
"broker": {
"brokerOwnReference": null,
"source": "API CRA Broker"
},
"introducer": {
"name": "API CRA Broker",
"code": "APIC",
"id": "307011"
},
"newBusinessNumberOfInstalments": 12,
"renewalNumberOfInstalments": 12,
"newBusinessFlatRate": "12",
"newBusinessMinFlatRate": "10",
"newBusinessMaxFlatRate": "15",
"renewalFlatRate": "12",
"renewalMinFlatRate": "10",
"renewalMaxFlatRate": "15",
"code": "APIC02",
"providerName": "Aviva Plc",
"providerId": "105556",
"cancellationType": "Pro Rata - Cancellable",
"recourseLevel": "Recourse",
"type": "Personal",
"minLoanAmount": "100",
"maxLoanAmount": "10000",
"active": true,
"minimumCreditChargeActive": true,
"minimumCreditCharge": "0",
"newBusinessMinimumDepositPercentage": "0",
"newBusinessMaximumDepositPercentage": "20",
"newBusinessMinimumDepositAmount": null,
"newBusinessMaximumDepositAmount": null,
"newBusinessDepositPercentageOfPremium": null,
"renewalMinimumDepositPercentage": "0",
"renewalMaximumDepositPercentage": "20",
"renewalMinimumDepositAmount": null,
"renewalMaximumDepositAmount": null,
"renewalDepositPercentageOfPremium": null,
"product": {
"name": "PF NBS 5WD RNWLS 5WD PRODUCT",
"id": "118632"
}
},
"loanAdvance": 592.00,
"loanInterest": "59.20",
"deposit": 0.00,
"noInstallments": 12,
"flatRate": "10.0",
"firstInstalmentAmount": 54.34,
"regularInstalmentAmount": 54.26,
"apr": "21.41",
"customerId": 37598380,
"feeCharges": [
{
"type": "Broker Fee",
"amount": 50.0,
"addToTotalRepayable": true,
"reference": "PL-SD-01_009"
}
],
"softwareHouse": null,
"loanFees": 50.0,
"totalPayable": 651.20,
"minimumCreditChargeMet": true,
"preCheckResponse": null,
"preCheckResponseBreakdown": null,
"schedule": [
{
"date": "2023-10-28",
"amount": 54.34,
"number": 1,
"status": "Due"
},
{
"date": "2023-11-28",
"amount": 54.26,
"number": 2,
"status": "Due"
},
{
"date": "2023-12-28",
"amount": 54.26,
"number": 3,
"status": "Due"
},
{
"date": "2024-01-28",
"amount": 54.26,
"number": 4,
"status": "Due"
},
{
"date": "2024-02-28",
"amount": 54.26,
"number": 5,
"status": "Due"
},
{
"date": "2024-03-28",
"amount": 54.26,
"number": 6,
"status": "Due"
},
{
"date": "2024-04-28",
"amount": 54.26,
"number": 7,
"status": "Due"
},
{
"date": "2024-05-28",
"amount": 54.26,
"number": 8,
"status": "Due"
},
{
"date": "2024-06-28",
"amount": 54.26,
"number": 9,
"status": "Due"
},
{
"date": "2024-07-28",
"amount": 54.26,
"number": 10,
"status": "Due"
},
{
"date": "2024-08-28",
"amount": 54.26,
"number": 11,
"status": "Due"
},
{
"date": "2024-09-28",
"amount": 54.26,
"number": 12,
"status": "Due"
}
],
"clientRef": "20121376"
},
"params": [],
"policies": [
{
"startDate": "2020-10-02",
"cancellationType": "Pro Rata - Cancellable",
"reference": "PFTEST1",
"insurer": "Aviva Plc",
"providerId": 105556,
"premium": 542.00,
"coverType": "Car"
},
{
"startDate": "2020-10-02",
"cancellationType": "Pro Rata - Cancellable",
"reference": "FEE-PL-SD-01_009",
"insurer": "Broker Fee",
"providerId": 301008,
"premium": 50.00,
"coverType": "Broker Fee"
}
],
"introducerId": "307011",
"introducerName": "API CRA Broker",
"config": {
"preferredPaymentDay": 28
},
"loanAdvance": 592.00,
"firstInstalmentAmount": 54.34,
"regularInstalmentAmount": 54.26,
"liveDate": "2023-09-28",
"maturityDate": "2024-09-28",
"numberOfPayments": 12,
"nextDueDate": null,
"loanInterest": "59.20",
"status": "Proposal",
"flatRate": 10.0,
"apr": 21.41,
"deposit": 0.00,
"arrears": 0.00,
"outstandingBalance": 0.00,
"feeBalance": 0.00,
"mandateStatusId": null,
"mandateStatusDescription": null,
"directDebitsAreSuppressed": false,
"softwareHouse": null,
"currencyCode": null,
"pendingCancellation": false,
"pendingCancellationDateTime": null
}
👀 Getting Auto Rec Data
Auto Rec are generated when Finance publishes them and they do this based on the timescale agreed between PremFina and the broker. Brokers usually have a particular settlement date, and this is the date the auto rec data would be available.
The endpoint below can be used to get auto rec data for a given date range.
/availablePayoutTransactions/{date}/{token}
Please use the date 2022-07-16 in order to get a response with some sample data
Sample Response:
[
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088966",
"transaction_date": "2022-06-17T00:00:00.000000Z",
"start_date": "2022-06-10T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT200",
"facility_type": "Personal",
"client_ref": "CLF200",
"agreement_status": "Active",
"total_premium": "2175.920000000000072759576141834259033203125",
"deposit": "0",
"settlement_amount": "2175.920000000000072759576141834259033203125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "112.06000000000000227373675443232059478759765625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "41.340000000000003410605131648480892181396484375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": null,
"scid_code": null,
"loan_interest": "0",
"total_payable": null,
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": null,
"recourse_level": "Recourse",
"type": null,
"uuid": "cb56a303-94f4-4607-9127-9d0a3107f08e",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819418Z",
"timestamp_updated": "2022-10-20T10:05:59.819425Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088965",
"transaction_date": "2022-06-24T00:00:00.000000Z",
"start_date": "2022-01-28T00:00:00.000000Z",
"transaction_type": "MTA Increase",
"customer_name": "PFT101",
"facility_type": "Personal",
"client_ref": "CLF201",
"agreement_status": "Active",
"total_premium": "974.3999999999999772626324556767940521240234375",
"deposit": "0",
"settlement_amount": "974.3999999999999772626324556767940521240234375",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "50.17999999999999971578290569595992565155029296875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "18.5",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": null,
"scid_code": null,
"loan_interest": "0",
"total_payable": null,
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": null,
"recourse_level": "Recourse",
"type": null,
"uuid": "321d4de9-f047-404f-ad09-fade9cba56b9",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819442Z",
"timestamp_updated": "2022-10-20T10:05:59.819446Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088964",
"transaction_date": "2022-06-21T00:00:00.000000Z",
"start_date": "2022-01-25T00:00:00.000000Z",
"transaction_type": "MTA Increase",
"customer_name": "PFT102",
"facility_type": "Commercial",
"client_ref": "CLF202",
"agreement_status": "Active",
"total_premium": "84",
"deposit": "0",
"settlement_amount": "84",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "3.859999999999999875655021241982467472553253173828125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "1.600000000000000088817841970012523233890533447265625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": null,
"scid_code": null,
"loan_interest": "0",
"total_payable": null,
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": null,
"recourse_level": "Recourse",
"type": null,
"uuid": "3a5fca67-42dc-4603-85ec-22ff05e5daa9",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819458Z",
"timestamp_updated": "2022-10-20T10:05:59.819461Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088963",
"transaction_date": "2022-06-21T00:00:00.000000Z",
"start_date": "2022-02-01T00:00:00.000000Z",
"transaction_type": "MTA Increase",
"customer_name": "PFT103",
"facility_type": "Commercial",
"client_ref": "CLF203",
"agreement_status": "Active",
"total_premium": "302.56000000000000227373675443232059478759765625",
"deposit": "0",
"settlement_amount": "302.56000000000000227373675443232059478759765625",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "13.9199999999999999289457264239899814128875732421875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "5.7400000000000002131628207280300557613372802734375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": null,
"scid_code": null,
"loan_interest": "0",
"total_payable": null,
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": null,
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "7ed70987-9217-4be2-96ed-eb4041cffdf6",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819473Z",
"timestamp_updated": "2022-10-20T10:05:59.819476Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088962",
"transaction_date": "2022-06-30T00:00:00.000000Z",
"start_date": "2022-04-10T00:00:00.000000Z",
"transaction_type": "Return Premium",
"customer_name": "PFT104",
"facility_type": "Personal",
"client_ref": "CLF204",
"agreement_status": "Mid Term Cancellation (Return Premium)",
"total_premium": "-1344.569999999999936335370875895023345947265625",
"deposit": "0",
"settlement_amount": "-1344.569999999999936335370875895023345947265625",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "-69.2000000000000028421709430404007434844970703125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "-25.519999999999999573674358543939888477325439453125",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1045",
"payout_type": "Clawback",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-20T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "58a989e8-68cd-4df9-b875-1be86e17d248",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819488Z",
"timestamp_updated": "2022-10-20T10:05:59.819491Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088961",
"transaction_date": "2022-06-20T00:00:00.000000Z",
"start_date": "2022-04-01T00:00:00.000000Z",
"transaction_type": "MTA Increase",
"customer_name": "PFT105",
"facility_type": "Personal",
"client_ref": "CLF205",
"agreement_status": "Active",
"total_premium": "605.1599999999999681676854379475116729736328125",
"deposit": "0",
"settlement_amount": "605.1599999999999681676854379475116729736328125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "31.160000000000000142108547152020037174224853515625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "11.5",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-20T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "643c137f-da68-4f0e-9b95-8934de98fc80",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819503Z",
"timestamp_updated": "2022-10-20T10:05:59.819506Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088960",
"transaction_date": "2022-06-17T00:00:00.000000Z",
"start_date": "2022-04-01T00:00:00.000000Z",
"transaction_type": "MTA Increase",
"customer_name": "PFT106",
"facility_type": "Personal",
"client_ref": "CLF206",
"agreement_status": "Active",
"total_premium": "154.93999999999999772626324556767940521240234375",
"deposit": "0",
"settlement_amount": "154.93999999999999772626324556767940521240234375",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "7.980000000000000426325641456060111522674560546875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "2.939999999999999946709294817992486059665679931640625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Car",
"scid_code": null,
"loan_interest": "0",
"total_payable": "495",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-06-07T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "acc9aee4-7fab-4a79-9793-2ea2cac8eb64",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819517Z",
"timestamp_updated": "2022-10-20T10:05:59.819521Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088959",
"transaction_date": "2022-06-27T00:00:00.000000Z",
"start_date": "2022-06-23T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT107",
"facility_type": "Personal",
"client_ref": "CLF207",
"agreement_status": "Active",
"total_premium": "2498.75",
"deposit": "0",
"settlement_amount": "2498.75",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "128.68000000000000682121026329696178436279296875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "47.47999999999999687361196265555918216705322265625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Car",
"scid_code": null,
"loan_interest": "0",
"total_payable": "495",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-06-07T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "67bdcb18-072a-476d-b161-38640f613394",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819532Z",
"timestamp_updated": "2022-10-20T10:05:59.819535Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088958",
"transaction_date": "2022-06-23T00:00:00.000000Z",
"start_date": "2022-06-25T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT108",
"facility_type": "Personal",
"client_ref": "CLF208",
"agreement_status": "Active",
"total_premium": "3097.76999999999998181010596454143524169921875",
"deposit": "0",
"settlement_amount": "3097.76999999999998181010596454143524169921875",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "159.539999999999992041921359486877918243408203125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "58.8599999999999994315658113919198513031005859375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Car",
"scid_code": null,
"loan_interest": "0",
"total_payable": "440",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2021-10-02T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "f684b851-2b15-4e1d-970c-5267b7095fc4",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819546Z",
"timestamp_updated": "2022-10-20T10:05:59.819550Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088957",
"transaction_date": "2022-06-28T00:00:00.000000Z",
"start_date": "2022-06-20T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT109",
"facility_type": "Personal",
"client_ref": "CLF209",
"agreement_status": "Active",
"total_premium": "2695.73000000000001818989403545856475830078125",
"deposit": "0",
"settlement_amount": "2695.73000000000001818989403545856475830078125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "138.840000000000003410605131648480892181396484375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "51.219999999999998863131622783839702606201171875",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-20T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "b8d6dd49-75ff-4c87-989d-69802dcef987",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819561Z",
"timestamp_updated": "2022-10-20T10:05:59.819564Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088956",
"transaction_date": "2022-06-14T00:00:00.000000Z",
"start_date": "2022-07-01T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT110",
"facility_type": "Commercial",
"client_ref": "CLF210",
"agreement_status": "Active",
"total_premium": "5603.84000000000014551915228366851806640625",
"deposit": "0",
"settlement_amount": "5603.84000000000014551915228366851806640625",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "288.6000000000000227373675443232059478759765625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "106.4800000000000039790393202565610408782958984375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-20T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "ba5e0367-b694-46dc-86e4-67f782fb3eed",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819575Z",
"timestamp_updated": "2022-10-20T10:05:59.819579Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088955",
"transaction_date": "2022-06-29T00:00:00.000000Z",
"start_date": "2022-06-29T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT111",
"facility_type": "Personal",
"client_ref": "CLF211",
"agreement_status": "Active",
"total_premium": "398.48000000000001818989403545856475830078125",
"deposit": "0",
"settlement_amount": "398.48000000000001818989403545856475830078125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "20.519999999999999573674358543939888477325439453125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "7.55999999999999960920149533194489777088165283203125",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-20T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "0a08286a-5058-45aa-bd7c-d9592016254b",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819590Z",
"timestamp_updated": "2022-10-20T10:05:59.819593Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088954",
"transaction_date": "2022-06-24T00:00:00.000000Z",
"start_date": "2022-06-25T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT112",
"facility_type": "Personal",
"client_ref": "CLF212",
"agreement_status": "Active",
"total_premium": "1665.200000000000045474735088646411895751953125",
"deposit": "0",
"settlement_amount": "1665.200000000000045474735088646411895751953125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "85.7600000000000051159076974727213382720947265625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "31.6400000000000005684341886080801486968994140625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-20T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "d85a2c98-e515-41d3-93d4-f1589fd64110",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819604Z",
"timestamp_updated": "2022-10-20T10:05:59.819607Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088953",
"transaction_date": "2022-06-22T00:00:00.000000Z",
"start_date": "2022-06-25T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT113",
"facility_type": "Commercial",
"client_ref": "CLF213",
"agreement_status": "Active",
"total_premium": "16406.97000000000116415321826934814453125",
"deposit": "0",
"settlement_amount": "16406.97000000000116415321826934814453125",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "754.720000000000027284841053187847137451171875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "311.740000000000009094947017729282379150390625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Commercial Combined",
"scid_code": null,
"loan_interest": "0",
"total_payable": "935",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-04-03T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "da41dff1-1326-4b5b-9fef-0096ea7fa88a",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819619Z",
"timestamp_updated": "2022-10-20T10:05:59.819622Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088952",
"transaction_date": "2022-07-07T00:00:00.000000Z",
"start_date": "2022-06-25T00:00:00.000000Z",
"transaction_type": "MTA Increase",
"customer_name": "PFT114",
"facility_type": "Commercial",
"client_ref": "CLF214",
"agreement_status": "Active",
"total_premium": "6803.3699999999998908606357872486114501953125",
"deposit": "0",
"settlement_amount": "6803.3699999999998908606357872486114501953125",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "312.95999999999997953636921010911464691162109375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "129.259999999999990905052982270717620849609375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Commercial Combined",
"scid_code": null,
"loan_interest": "0",
"total_payable": "935",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-04-03T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "cfbb05bb-7943-49aa-9beb-d732667720dc",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819633Z",
"timestamp_updated": "2022-10-20T10:05:59.819636Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088951",
"transaction_date": "2022-06-29T00:00:00.000000Z",
"start_date": "2022-06-24T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT115",
"facility_type": "Commercial",
"client_ref": "CLF215",
"agreement_status": "Active",
"total_premium": "713.98000000000001818989403545856475830078125",
"deposit": "0",
"settlement_amount": "713.98000000000001818989403545856475830078125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "36.780000000000001136868377216160297393798828125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "13.5600000000000004973799150320701301097869873046875",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Commercial Combined",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1120",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-06-03T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "e1cfa8c3-f7c3-4651-8268-a97b489d6cd1",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819857Z",
"timestamp_updated": "2022-10-20T10:05:59.819864Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088950",
"transaction_date": "2022-06-24T00:00:00.000000Z",
"start_date": "2021-09-30T00:00:00.000000Z",
"transaction_type": "Return Premium",
"customer_name": "PFT116",
"facility_type": "Commercial",
"client_ref": "CLF216",
"agreement_status": "Mid Term Cancellation (Return Premium)",
"total_premium": "-83.2300000000000039790393202565610408782958984375",
"deposit": "0",
"settlement_amount": "-83.2300000000000039790393202565610408782958984375",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "-4.28000000000000024868995751603506505489349365234375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "-1.5800000000000000710542735760100185871124267578125",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Commercial Combined",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1120",
"payout_type": "Clawback",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-06-03T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "3cbfcab0-c209-446a-9fbb-420294e8388c",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819885Z",
"timestamp_updated": "2022-10-20T10:05:59.819889Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088949",
"transaction_date": "2022-06-16T00:00:00.000000Z",
"start_date": "2021-09-27T00:00:00.000000Z",
"transaction_type": "Reinstatement",
"customer_name": "PFT117",
"facility_type": "Personal",
"client_ref": "CLF217",
"agreement_status": "Completed Term",
"total_premium": "96.06999999999999317878973670303821563720703125",
"deposit": "0",
"settlement_amount": "96.06999999999999317878973670303821563720703125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "4.94000000000000039079850466805510222911834716796875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "1.8200000000000000621724893790087662637233734130859375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Commercial Combined",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1120",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-06-03T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "5c87b62e-2081-44c4-996d-1d523393c4ac",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819901Z",
"timestamp_updated": "2022-10-20T10:05:59.819904Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088948",
"transaction_date": "2022-06-16T00:00:00.000000Z",
"start_date": "2021-09-27T00:00:00.000000Z",
"transaction_type": "Return Premium",
"customer_name": "PFT118",
"facility_type": "Personal",
"client_ref": "CLF218",
"agreement_status": "Completed Term",
"total_premium": "-96.06999999999999317878973670303821563720703125",
"deposit": "0",
"settlement_amount": "-96.06999999999999317878973670303821563720703125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "-4.94000000000000039079850466805510222911834716796875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "-1.8200000000000000621724893790087662637233734130859375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Commercial Combined",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1120",
"payout_type": "Clawback",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-06-03T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "a6cc72c3-b987-4e72-976b-921f4e37e098",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.819916Z",
"timestamp_updated": "2022-10-20T10:05:59.819919Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088939",
"transaction_date": "2022-06-23T00:00:00.000000Z",
"start_date": "2022-04-01T00:00:00.000000Z",
"transaction_type": "MTA Increase",
"customer_name": "PFT127",
"facility_type": "Commercial",
"client_ref": "CLF227",
"agreement_status": "Active",
"total_premium": "176.80000000000001136868377216160297393798828125",
"deposit": "0",
"settlement_amount": "176.80000000000001136868377216160297393798828125",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "8.1400000000000005684341886080801486968994140625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "3.359999999999999875655021241982467472553253173828125",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Car",
"scid_code": null,
"loan_interest": "87",
"total_payable": "957",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-04T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "6ea9db96-8c9a-479f-a704-7a28c8ec28a1",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820069Z",
"timestamp_updated": "2022-10-20T10:05:59.820072Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088934",
"transaction_date": "2022-06-28T00:00:00.000000Z",
"start_date": "2022-06-23T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT132",
"facility_type": "Personal",
"client_ref": "CLF232",
"agreement_status": "Active",
"total_premium": "3726",
"deposit": "0",
"settlement_amount": "3726",
"scheme_code": "PFT006",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "191.900000000000005684341886080801486968994140625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "70.7999999999999971578290569595992565155029296875",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "990",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-06-01T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "820e8a40-fc24-4b04-a2ed-7e4875e222d1",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820140Z",
"timestamp_updated": "2022-10-20T10:05:59.820143Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088933",
"transaction_date": "2022-06-27T00:00:00.000000Z",
"start_date": "2022-05-30T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT133",
"facility_type": "Commercial",
"client_ref": "CLF233",
"agreement_status": "Active",
"total_premium": "6183.3599999999996725819073617458343505859375",
"deposit": "0",
"settlement_amount": "6183.3599999999996725819073617458343505859375",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "284.43999999999999772626324556767940521240234375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "117.4800000000000039790393202565610408782958984375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "90",
"total_payable": "990",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-08T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "22fd0bfe-8931-4c70-a95c-71a22de0ee50",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820154Z",
"timestamp_updated": "2022-10-20T10:05:59.820157Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088932",
"transaction_date": "2022-06-23T00:00:00.000000Z",
"start_date": "2022-06-26T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT134",
"facility_type": "Commercial",
"client_ref": "CLF234",
"agreement_status": "Active",
"total_premium": "3832.09999999999990905052982270717620849609375",
"deposit": "0",
"settlement_amount": "3832.09999999999990905052982270717620849609375",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "197.340000000000003410605131648480892181396484375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "72.7999999999999971578290569595992565155029296875",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "990",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-06-01T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "1edf3676-c47c-4eb0-9186-96064a94f2c2",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820169Z",
"timestamp_updated": "2022-10-20T10:05:59.820172Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088931",
"transaction_date": "2022-06-23T00:00:00.000000Z",
"start_date": "2022-06-22T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT135",
"facility_type": "Personal",
"client_ref": "CLF235",
"agreement_status": "Active",
"total_premium": "409.8999999999999772626324556767940521240234375",
"deposit": "0",
"settlement_amount": "409.8999999999999772626324556767940521240234375",
"scheme_code": "PFT006",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "21.10000000000000142108547152020037174224853515625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "7.78000000000000024868995751603506505489349365234375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "95",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-03-14T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "394e9a86-200b-494d-ab8f-d70a47170b9b",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820183Z",
"timestamp_updated": "2022-10-20T10:05:59.820187Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088930",
"transaction_date": "2022-06-21T00:00:00.000000Z",
"start_date": "2022-06-22T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT136",
"facility_type": "Commercial",
"client_ref": "CLF236",
"agreement_status": "Active",
"total_premium": "5888.47999999999956344254314899444580078125",
"deposit": "0",
"settlement_amount": "5888.47999999999956344254314899444580078125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "303.259999999999990905052982270717620849609375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "111.8799999999999954525264911353588104248046875",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-04-02T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "4369b55b-aa4e-408d-b2ee-9acf3813cc9f",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820198Z",
"timestamp_updated": "2022-10-20T10:05:59.820201Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088929",
"transaction_date": "2022-06-28T00:00:00.000000Z",
"start_date": "2022-06-29T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT137",
"facility_type": "Commercial",
"client_ref": "CLF237",
"agreement_status": "Active",
"total_premium": "2472.1199999999998908606357872486114501953125",
"deposit": "0",
"settlement_amount": "2472.1199999999998908606357872486114501953125",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "113.719999999999998863131622783839702606201171875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "46.97999999999999687361196265555918216705322265625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-04-02T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "9aa0851d-2009-459a-be1f-8e2579370667",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820212Z",
"timestamp_updated": "2022-10-20T10:05:59.820216Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088928",
"transaction_date": "2022-06-27T00:00:00.000000Z",
"start_date": "2022-06-25T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT138",
"facility_type": "Personal",
"client_ref": "CLF238",
"agreement_status": "Active",
"total_premium": "3652.6999999999998181010596454143524169921875",
"deposit": "0",
"settlement_amount": "3652.6999999999998181010596454143524169921875",
"scheme_code": "PFT006",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "188.1200000000000045474735088646411895751953125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "69.400000000000005684341886080801486968994140625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "90",
"total_payable": "990",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-08T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "d8b16262-eef4-4e61-b867-2e40fe0bb192",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820227Z",
"timestamp_updated": "2022-10-20T10:05:59.820230Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088927",
"transaction_date": "2022-06-30T00:00:00.000000Z",
"start_date": "2022-06-24T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT139",
"facility_type": "Commercial",
"client_ref": "CLF239",
"agreement_status": "Active",
"total_premium": "333.76999999999998181010596454143524169921875",
"deposit": "0",
"settlement_amount": "333.76999999999998181010596454143524169921875",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "17.17999999999999971578290569595992565155029296875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "6.339999999999999857891452847979962825775146484375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "90",
"total_payable": "990",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-08T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "5e5876da-243a-42e2-bdd5-a958b608d6c2",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820242Z",
"timestamp_updated": "2022-10-20T10:05:59.820245Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088926/02",
"transaction_date": "2022-06-30T00:00:00.000000Z",
"start_date": "2022-06-24T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT140",
"facility_type": "Commercial",
"client_ref": "CLF240",
"agreement_status": "Active",
"total_premium": "670.2899999999999636202119290828704833984375",
"deposit": "0",
"settlement_amount": "670.2899999999999636202119290828704833984375",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "34.52000000000000312638803734444081783294677734375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "12.7400000000000002131628207280300557613372802734375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "95",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-08T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "7c582bd5-383d-4cf3-aec1-a177949b29f9",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820256Z",
"timestamp_updated": "2022-10-20T10:05:59.820260Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088926/01",
"transaction_date": "2022-06-30T00:00:00.000000Z",
"start_date": "2022-06-24T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT141",
"facility_type": "Commercial",
"client_ref": "CLF241",
"agreement_status": "Active",
"total_premium": "1091.890000000000100044417195022106170654296875",
"deposit": "0",
"settlement_amount": "1091.890000000000100044417195022106170654296875",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "56.24000000000000198951966012828052043914794921875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "20.739999999999998436805981327779591083526611328125",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "95",
"total_payable": "1045",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-08T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "a948a6cf-9766-47bc-878e-94e4e19b5e32",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820271Z",
"timestamp_updated": "2022-10-20T10:05:59.820274Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088926",
"transaction_date": "2022-06-30T00:00:00.000000Z",
"start_date": "2022-06-08T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT142",
"facility_type": "Commercial",
"client_ref": "CLF242",
"agreement_status": "Active",
"total_premium": "3143.40999999999985448084771633148193359375",
"deposit": "0",
"settlement_amount": "3143.40999999999985448084771633148193359375",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "161.8799999999999954525264911353588104248046875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "59.719999999999998863131622783839702606201171875",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "90",
"total_payable": "990",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-08T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "1023ad42-afc2-406b-a50d-c98cd3380f5e",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820285Z",
"timestamp_updated": "2022-10-20T10:05:59.820289Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088925",
"transaction_date": "2022-06-24T00:00:00.000000Z",
"start_date": "2021-11-19T00:00:00.000000Z",
"transaction_type": "Return Premium",
"customer_name": "PFT143",
"facility_type": "Commercial",
"client_ref": "CLF243",
"agreement_status": "Mid Term Cancellation (Return Premium)",
"total_premium": "-170.530000000000001136868377216160297393798828125",
"deposit": "0",
"settlement_amount": "-170.530000000000001136868377216160297393798828125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "-8.7799999999999993605115378159098327159881591796875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "-3.2400000000000002131628207280300557613372802734375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "95",
"total_payable": "1045",
"payout_type": "Clawback",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-03-01T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "29fd7995-a9ec-4c51-bf5d-082b945f71f3",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820300Z",
"timestamp_updated": "2022-10-20T10:05:59.820304Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088921",
"transaction_date": "2022-06-20T00:00:00.000000Z",
"start_date": "2022-04-27T00:00:00.000000Z",
"transaction_type": "MTA Increase",
"customer_name": "PFT147",
"facility_type": "Commercial",
"client_ref": "CLF247",
"agreement_status": "Active",
"total_premium": "28",
"deposit": "0",
"settlement_amount": "28",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "1.2800000000000000266453525910037569701671600341796875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "0.54000000000000003552713678800500929355621337890625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "114",
"total_payable": "1064",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-01T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "1c95ce43-3866-4458-8801-c51f4be36376",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820360Z",
"timestamp_updated": "2022-10-20T10:05:59.820363Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088920",
"transaction_date": "2022-06-21T00:00:00.000000Z",
"start_date": "2022-05-05T00:00:00.000000Z",
"transaction_type": "MTA Increase",
"customer_name": "PFT148",
"facility_type": "Personal",
"client_ref": "CLF248",
"agreement_status": "Active",
"total_premium": "402.48000000000001818989403545856475830078125",
"deposit": "0",
"settlement_amount": "402.48000000000001818989403545856475830078125",
"scheme_code": "PFT005",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "18.519999999999999573674358543939888477325439453125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "7.63999999999999968025576890795491635799407958984375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "114",
"total_payable": "1064",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-01T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "34578f47-56b9-4a82-9c01-b528f075f3a9",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820374Z",
"timestamp_updated": "2022-10-20T10:05:59.820378Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088915",
"transaction_date": "2022-06-29T00:00:00.000000Z",
"start_date": "2022-04-22T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT153",
"facility_type": "Personal",
"client_ref": "CLF253",
"agreement_status": "Active",
"total_premium": "5365.1099999999996725819073617458343505859375",
"deposit": "0",
"settlement_amount": "5365.1099999999996725819073617458343505859375",
"scheme_code": "PFT005",
"no_instalments": 8,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "246.80000000000001136868377216160297393798828125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "101.93999999999999772626324556767940521240234375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "114",
"total_payable": "1064",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-10T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "9953fddd-a612-4b3e-a62a-36cce7115a73",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820448Z",
"timestamp_updated": "2022-10-20T10:05:59.820452Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088914",
"transaction_date": "2022-06-14T00:00:00.000000Z",
"start_date": "2022-06-01T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT154",
"facility_type": "Commercial",
"client_ref": "CLF254",
"agreement_status": "Active",
"total_premium": "3265.30999999999994543031789362430572509765625",
"deposit": "0",
"settlement_amount": "3265.30999999999994543031789362430572509765625",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "168.159999999999996589394868351519107818603515625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "62.03999999999999914734871708787977695465087890625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1064",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-31T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "7144a70b-1850-4b0c-88d5-b87dd0b8c13b",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820463Z",
"timestamp_updated": "2022-10-20T10:05:59.820467Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088913",
"transaction_date": "2022-06-20T00:00:00.000000Z",
"start_date": "2022-06-30T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT155",
"facility_type": "Commercial",
"client_ref": "CLF255",
"agreement_status": "Active",
"total_premium": "5213.6899999999995998223312199115753173828125",
"deposit": "0",
"settlement_amount": "5213.6899999999995998223312199115753173828125",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "239.81999999999999317878973670303821563720703125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "99.06000000000000227373675443232059478759765625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "114",
"total_payable": "1064",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-04-24T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "2bd03a95-a7f1-4691-a659-ee01a157c8cc",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820478Z",
"timestamp_updated": "2022-10-20T10:05:59.820481Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088912",
"transaction_date": "2022-06-21T00:00:00.000000Z",
"start_date": "2022-04-10T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT156",
"facility_type": "Commercial",
"client_ref": "CLF256",
"agreement_status": "Active",
"total_premium": "8077.8100000000004001776687800884246826171875",
"deposit": "0",
"settlement_amount": "8077.8100000000004001776687800884246826171875",
"scheme_code": "PFT004",
"no_instalments": 8,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "371.57999999999998408384271897375583648681640625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "153.479999999999989768184605054557323455810546875",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "114",
"total_payable": "1064",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-04-24T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "92bf954e-8d15-4789-aa3a-3940ed625eba",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820493Z",
"timestamp_updated": "2022-10-20T10:05:59.820496Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088908",
"transaction_date": "2022-06-23T00:00:00.000000Z",
"start_date": "2022-06-23T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT160",
"facility_type": "Commercial",
"client_ref": "CLF260",
"agreement_status": "Active",
"total_premium": "7020.7899999999999636202119290828704833984375",
"deposit": "0",
"settlement_amount": "7020.7899999999999636202119290828704833984375",
"scheme_code": "PFT004",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "322.95999999999997953636921010911464691162109375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "133.400000000000005684341886080801486968994140625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Car",
"scid_code": null,
"loan_interest": "0",
"total_payable": "440",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2022-04-02T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "9f5a925b-f71d-43ff-b409-2c3a0163d537",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820552Z",
"timestamp_updated": "2022-10-20T10:05:59.820556Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088907",
"transaction_date": "2022-06-24T00:00:00.000000Z",
"start_date": "2022-06-24T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT161",
"facility_type": "Commercial",
"client_ref": "CLF261",
"agreement_status": "Active",
"total_premium": "1256.299999999999954525264911353588104248046875",
"deposit": "0",
"settlement_amount": "1256.299999999999954525264911353588104248046875",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "64.7000000000000028421709430404007434844970703125",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "23.879999999999999005240169935859739780426025390625",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Car",
"scid_code": null,
"loan_interest": "0",
"total_payable": "440",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2022-04-02T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "6768a774-02be-4e91-a0bd-525312329b85",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820567Z",
"timestamp_updated": "2022-10-20T10:05:59.820570Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088906",
"transaction_date": "2022-06-24T00:00:00.000000Z",
"start_date": "2022-06-23T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT162",
"facility_type": "Commercial",
"client_ref": "CLF262",
"agreement_status": "Active",
"total_premium": "912",
"deposit": "0",
"settlement_amount": "912",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "46.96000000000000085265128291212022304534912109375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "17.32000000000000028421709430404007434844970703125",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "114",
"total_payable": "1007.3500000000000227373675443232059478759765625",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-04-28T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "f02e590a-3b4f-47e7-bc0b-3117489df8c8",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820582Z",
"timestamp_updated": "2022-10-20T10:05:59.820585Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088905",
"transaction_date": "2022-06-24T00:00:00.000000Z",
"start_date": "2022-06-07T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT163",
"facility_type": "Commercial",
"client_ref": "CLF263",
"agreement_status": "Active",
"total_premium": "1794",
"deposit": "0",
"settlement_amount": "1794",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "92.3799999999999954525264911353588104248046875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "34.0799999999999982946974341757595539093017578125",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "1064",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-31T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "18d6a812-baef-4a43-b141-23e24f5ca503",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820596Z",
"timestamp_updated": "2022-10-20T10:05:59.820600Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088904",
"transaction_date": "2022-06-30T00:00:00.000000Z",
"start_date": "2022-05-01T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT164",
"facility_type": "Commercial",
"client_ref": "CLF264",
"agreement_status": "Active",
"total_premium": "3506.5500000000001818989403545856475830078125",
"deposit": "0",
"settlement_amount": "3506.5500000000001818989403545856475830078125",
"scheme_code": "PFT001",
"no_instalments": 8,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "180.599999999999994315658113919198513031005859375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "66.6200000000000045474735088646411895751953125",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": "0",
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "114",
"total_payable": "1064",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-04-24T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "03804e6e-0681-4816-a90f-6bd0ffbd492b",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820611Z",
"timestamp_updated": "2022-10-20T10:05:59.820614Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088903",
"transaction_date": "2022-06-28T00:00:00.000000Z",
"start_date": "2022-06-22T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT165",
"facility_type": "Commercial",
"client_ref": "CLF265",
"agreement_status": "Active",
"total_premium": "2443.6199999999998908606357872486114501953125",
"deposit": "0",
"settlement_amount": "2443.6199999999998908606357872486114501953125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "125.840000000000003410605131648480892181396484375",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "46.43999999999999772626324556767940521240234375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Household",
"scid_code": null,
"loan_interest": "0",
"total_payable": "990",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2023-05-26T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "afe6e431-5d49-483f-8337-d901e774de75",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820626Z",
"timestamp_updated": "2022-10-20T10:05:59.820629Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088902",
"transaction_date": "2022-06-28T00:00:00.000000Z",
"start_date": "2022-06-22T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT166",
"facility_type": "Commercial",
"client_ref": "CLF266",
"agreement_status": "Active",
"total_premium": "1810.799999999999954525264911353588104248046875",
"deposit": "0",
"settlement_amount": "1810.799999999999954525264911353588104248046875",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "93.2600000000000051159076974727213382720947265625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "34.39999999999999857891452847979962825775146484375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Car",
"scid_code": null,
"loan_interest": "0",
"total_payable": "198",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2022-01-01T00:00:00.000000Z",
"recourse_level": "Non-Recourse",
"type": null,
"uuid": "e28a66fb-5992-4f23-9b22-95e6fe7427e8",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820640Z",
"timestamp_updated": "2022-10-20T10:05:59.820644Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088900",
"transaction_date": "2022-06-28T00:00:00.000000Z",
"start_date": "2022-06-16T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT168",
"facility_type": "Commercial",
"client_ref": "CLF268",
"agreement_status": "Active",
"total_premium": "187.05000000000001136868377216160297393798828125",
"deposit": "0",
"settlement_amount": "187.05000000000001136868377216160297393798828125",
"scheme_code": "PFT001",
"no_instalments": 10,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "9.6199999999999992184029906638897955417633056640625",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "3.560000000000000053290705182007513940334320068359375",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": "Car",
"scid_code": null,
"loan_interest": "0",
"total_payable": "86.400000000000005684341886080801486968994140625",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2021-10-19T00:00:00.000000Z",
"recourse_level": "Recourse",
"type": null,
"uuid": "6f280b9a-e941-49ef-b6dc-b108133f2487",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820670Z",
"timestamp_updated": "2022-10-20T10:05:59.820673Z"
},
{
"filename": "20221013 PremFina_002.xlsx",
"is_paid": true,
"settlement_date": "2022-07-16",
"unpayment_reason": null,
"provider_name": "PremFina Test Broker",
"agreement_number": "000088899",
"transaction_date": "2022-06-29T00:00:00.000000Z",
"start_date": "2022-06-03T00:00:00.000000Z",
"transaction_type": "New",
"customer_name": "PFT169",
"facility_type": "Commercial",
"client_ref": "CLF269",
"agreement_status": "Active",
"total_premium": "2355.4499999999998181010596454143524169921875",
"deposit": "0",
"settlement_amount": "2355.4499999999998181010596454143524169921875",
"scheme_code": "PFT001",
"no_instalments": 9,
"flat_rate": "0.05000000000000000277555756156289135105907917022705078125",
"overrider_amount": "121.2999999999999971578290569595992565155029296875",
"overrider_rate": "0.0200000000000000004163336342344337026588618755340576171875",
"broker_income": "44.75999999999999801048033987171947956085205078125",
"commission_left_to_pay": null,
"interest_clawback": null,
"thp_serial": 307011,
"trn_serial": null,
"arrears": null,
"country": "Great Britain",
"currency": "GBP",
"reference": "Gateway",
"cover_type": null,
"scid_code": null,
"loan_interest": "0",
"total_payable": "86.400000000000005684341886080801486968994140625",
"payout_type": "Payout",
"host_company": "PremFina Ltd",
"environment": "TPFUAT",
"end_date": "2020-10-01T00:00:00.000000Z",
"recourse_level": "Recourse",
"type": null,
"uuid": "98b34b5c-b12f-4b20-a8df-725f11f10ca5",
"revision_active": 1,
"author_client_uuid": null,
"author_uuid": null,
"parent": {},
"status": 1,
"timestamp_created": "2022-10-20T10:05:59.820684Z",
"timestamp_updated": "2022-10-20T10:05:59.820688Z"
}
]
👀 Getting PremFina Referenced Values
Optionally, the endpoint below can be used to get information about all the referenced data fields of PremFina. This will return a list of referenced data fields.
/referenceDataFields/{token}
Sample Response:
[
"coverType",
"companyType",
"insurerOptions",
"title",
"occupation",
"employmentStatus",
"writeOffTypes"
]
Furthermore, more detailed information about a specific reference datafield can be obtained by calling the endpoint below. The desired and exact reference datafield name must be passed in the request URL.
/referenceData/employmentStatus/{token}
Sample Response:
[
"Employed",
"Employed Part Time",
"Homemaker",
"Housewife",
"No Information",
"No Response",
"Retired",
"Self Employed",
"Student",
"Unemployed"
]
This is a high level API test plan & sample payload to ensure the most common and basic integrations work
Please find here a basic ‘Postman’ collection which you can import in order to check out some of the endpoints right away. This is meant to offer a basic introduction.
There are a few variables which are blank and you will need to enter a value such as bank account details.
{
"id": "be53b35f-e6e9-448a-acaf-eacfd5a99e79",
"name": "@Sandbox-API-CRA-Env",
"values": [
{
"key": "baseURL",
"value": "https://integrations-api.sandbox.premfina.com",
"enabled": true
},
{
"key": "userNameAPI",
"value": "API_USER_CRA",
"enabled": true
},
{
"key": "passwordAPI",
"value": "PWLAP1$U$3R781",
"enabled": true
},
{
"key": "schemeCode",
"value": "APIC01",
"enabled": true
},
{
"key": "introducerName",
"value": "API CRA Broker",
"enabled": true
},
{
"key": "insurerName",
"value": "API Insurer",
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2020-08-09T09:03:51.113Z",
"_postman_exported_using": "Postman/7.29.1"
}
(in Python)
import requests
import pprint
import json
# Define base url and access credentials
api_base_url = 'https://integrations-api.sandbox.premfina.com/'
api_username = '' # Insert username here
api_password = '' # Insert password here
# Define the full login endpoint url and payload
api_endpoint_login = f'{api_base_url}/login'
api_login_payload = {
'password': api_password,
'user': api_username
}
# Authenticate with a username and password and get access token
response_api_login = requests.post(api_endpoint_login, json=api_login_payload)
api_token = response_api_login.content.decode("utf-8")
# Define the full get/schemes endpoint url
api_endpoint_get_schemes = f'{api_base_url}/get/schemes/{api_token}'
# Get a list of all schemes
response_get_schemes = requests.get(api_endpoint_get_schemes)
schemes = json.loads(response_get_schemes.content)
# Set scheme to use for the Get Quote request
scheme_code = schemes[0]['code']
# Define the full get/quote endpoint url and payload
api_endpoint_get_quote = f'{api_base_url}/get/quote/{api_token}'
api_get_quote_payload = {
'schemeCode': scheme_code,
'deposit': '10.00',
'premium': '100',
'startDate': '2020-02-19'
}
# Get the quote
response_get_quote = requests.post(api_endpoint_get_quote, json=api_get_quote_payload)
quote = json.loads(response_get_quote.content)
# Print the returned quote in readable format
pprint.pprint(quote)
Scenario | Code | Response Message |
---|---|---|
Login using incorrect Username/Password | 401 | None |
Activating a Quote which has expired | 400 | Quote has expired for |
Activating a Quote which has no Bank details | 400 | Quote does not have bank account |
Scenario | Code | Response Message |
---|---|---|
Get a settlement quote on an agreement when DD payments are in flight | 400 | Agreement has outstanding direct debits |
Get a settlement quote on an agreement when a DD payment is due to be collected | 400 | Agreement has instalment due in next 6 days |
Cancelling an Agreement which has Credit arrears | 400 | Please remove the credit arrears before proceeding with the RP |
Scenario | Code | Response Message |
---|---|---|
Doing an MTA Increase/Decrease call on an Active Agreement, where an MTA is Queued but not yet completed | 400 | Existing MTA Queued state found for agreement |
Doing an MTA Increase/decrease Validation call on a Completed Agreement | 400 | Agreement is in an invalid status Completed,Term |
Doing an MTA Increase/decrease Validation call with a value=0 | 400 | Amount is less than or equal to zero GetRescheduleQuote[agreementNumber=000481912, amount=0.0] |
On Sandbox, when logged in as API_USER_CRA your quotes will be sent to our CRA microservice and a decision will be made whether to accept and activate the proposal, or to refer it to our credit team. These decisions are based on data which is recieved from credit rating agencies.
If you use a fake address or person then this will fail CRA because the person cannot be identified to the address. We have provided below some input data which can be used to test CRA on Sandbox. This is provided by the credit agency, and does not include Personally Identifiable Information.
Our ETL service automatically scans external or internal secured storages, picks any files, runs them through our data conversion service and feeds into our integrations-api service.
Similarly, for any outbound files, the service automatically picks files from our systems runs them through the data conversion service too acheive the client desired file format and pushes the desired outful file onto the storages.
Our automated ETL processor automatically notifies internal and external stakeholders (depending on the configurations) for success, failures, warning notifications.
email: integrations@premfina.com
live chat: www.premfina.com