Confirm Details
A user must confirm the points made in these screens:
The bullet points and statements on these screens are hardcoded apart from the callback url.
API
Disclaimers (List)
The disclaimers seen on this screen can be retrieved by performing a GET request. The text to display is markdown with
the use of line endings such as \r and \n to denote new lines.
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/disclaimers/' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
{
"count": 13,
"next": null,
"previous": null,
"results": [
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/3dc4b1c8-533a-406b-8568-06bbc8412ed5/",
"category": {
"key": "POLICYHOLDER",
"name": "Policyholder"
},
"order": 0,
"uuid": "3dc4b1c8-533a-406b-8568-06bbc8412ed5",
"created_at": "2025-01-31T20:36:49.636673Z",
"updated_at": "2025-01-31T20:36:49.651523Z",
"text": "I will be the main user of the vehicle"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/d9b39004-f522-497f-87d3-fd7ceea2541b/",
"category": {
"key": "VEHICLE_INFORMATION",
"name": "Vehicle information"
},
"order": 0,
"uuid": "d9b39004-f522-497f-87d3-fd7ceea2541b",
"created_at": "2025-01-31T20:37:58.423442Z",
"updated_at": "2025-01-31T20:37:58.432891Z",
"text": "It is not currently impounded"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/475af723-d609-4860-862a-633c516b67b3/",
"category": {
"key": "CONSENT",
"name": "Consent"
},
"order": 0,
"uuid": "475af723-d609-4860-862a-633c516b67b3",
"created_at": "2025-01-31T20:40:23.935439Z",
"updated_at": "2025-01-31T20:40:23.943479Z",
"text": "I've read and agree with the Terms of Business and I understand that the details I have provided may be subject to a Fraud Check.\r\n**Read Sterling Terms and Conditions**"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/7f6360a1-ddf1-4ecc-b131-bbb21941cfcb/",
"category": {
"key": "POLICYHOLDER",
"name": "Policyholder"
},
"order": 1,
"uuid": "7f6360a1-ddf1-4ecc-b131-bbb21941cfcb",
"created_at": "2025-01-31T20:37:11.352324Z",
"updated_at": "2025-01-31T20:37:11.360269Z",
"text": "I have no health conditions or criminal convictions"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/9145c698-da47-4e70-9349-eb8b79d09fdd/",
"category": {
"key": "VEHICLE_INFORMATION",
"name": "Vehicle information"
},
"order": 1,
"uuid": "9145c698-da47-4e70-9349-eb8b79d09fdd",
"created_at": "2025-01-31T20:38:17.687655Z",
"updated_at": "2025-01-31T20:38:17.696224Z",
"text": "It is kept at the same address as the policy holder"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/fddcf85f-3f06-464e-a308-6b404138cb50/",
"category": {
"key": "CONSENT",
"name": "Consent"
},
"order": 1,
"uuid": "fddcf85f-3f06-464e-a308-6b404138cb50",
"created_at": "2025-01-31T20:40:52.873249Z",
"updated_at": "2025-01-31T20:40:52.881318Z",
"text": "I've read and understood the Policy Wording and Product Information Documents\r\n**Read Policy Wording**\r\n**Read Product Information Documents**"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/d553ae6f-9c93-418b-9c29-7c4ca1c65d9d/",
"category": {
"key": "POLICYHOLDER",
"name": "Policyholder"
},
"order": 2,
"uuid": "d553ae6f-9c93-418b-9c29-7c4ca1c65d9d",
"created_at": "2025-01-31T20:37:19.699066Z",
"updated_at": "2025-01-31T20:37:19.706164Z",
"text": "I have not been refused insurance or had insurance cancelled"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/f654d416-c36b-4e99-bb7a-75fdb714ee03/",
"category": {
"key": "VEHICLE_INFORMATION",
"name": "Vehicle information"
},
"order": 2,
"uuid": "f654d416-c36b-4e99-bb7a-75fdb714ee03",
"created_at": "2025-01-31T20:38:31.898083Z",
"updated_at": "2025-01-31T20:38:31.905420Z",
"text": "It is not imported or modified"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/469a2213-99ae-40d2-9baf-e9345c1bf5be/",
"category": {
"key": "CONSENT",
"name": "Consent"
},
"order": 2,
"uuid": "469a2213-99ae-40d2-9baf-e9345c1bf5be",
"created_at": "2025-01-31T20:41:12.525379Z",
"updated_at": "2025-01-31T20:41:12.532084Z",
"text": "I've read and agree with the Policy Terms and Conditions\r\n**Read Policy Terms and Conditions**"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/bcf7186d-20fb-49c5-a317-395586e82899/",
"category": {
"key": "VEHICLE_INFORMATION",
"name": "Vehicle information"
},
"order": 3,
"uuid": "bcf7186d-20fb-49c5-a317-395586e82899",
"created_at": "2025-01-31T20:38:48.169406Z",
"updated_at": "2025-01-31T20:38:48.177365Z",
"text": "It is not left-hand drive and has less than 8 seats"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/f8d675fd-08f0-4e73-8262-9b8053abb20a/",
"category": {
"key": "VEHICLE_INFORMATION",
"name": "Vehicle information"
},
"order": 4,
"uuid": "f8d675fd-08f0-4e73-8262-9b8053abb20a",
"created_at": "2025-01-31T20:39:07.609207Z",
"updated_at": "2025-01-31T20:39:07.616527Z",
"text": "It is not a kit car, a hire car or Q plated"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/924ca114-4b8a-4176-a207-6e9c8cd39dd0/",
"category": {
"key": "VEHICLE_INFORMATION",
"name": "Vehicle information"
},
"order": 5,
"uuid": "924ca114-4b8a-4176-a207-6e9c8cd39dd0",
"created_at": "2025-01-31T20:39:22.155340Z",
"updated_at": "2025-01-31T20:39:22.163904Z",
"text": "It will only be used in the UK"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/f376d52f-f18c-4328-8eaf-23e7b8fd2850/",
"category": {
"key": "VEHICLE_INFORMATION",
"name": "Vehicle information"
},
"order": 6,
"uuid": "f376d52f-f18c-4328-8eaf-23e7b8fd2850",
"created_at": "2025-01-31T20:39:32.249374Z",
"updated_at": "2025-01-31T20:39:32.255046Z",
"text": "It will be used for social, domestic and pleasure or commuting to and from one permanent place of work"
}
]
}
Disclaimers (Filtered List)
Disclaimers can be filtered by the category key using the category query parameter and the associated key.
This would be used to filter the list for the screen below:
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/disclaimers/?category=CONSENT' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/475af723-d609-4860-862a-633c516b67b3/",
"category": {
"key": "CONSENT",
"name": "Consent"
},
"order": 0,
"uuid": "475af723-d609-4860-862a-633c516b67b3",
"created_at": "2025-01-31T20:40:23.935439Z",
"updated_at": "2025-01-31T20:40:23.943479Z",
"text": "I've read and agree with the Terms of Business and I understand that the details I have provided may be subject to a Fraud Check.\r\n**Read Sterling Terms and Conditions**"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/fddcf85f-3f06-464e-a308-6b404138cb50/",
"category": {
"key": "CONSENT",
"name": "Consent"
},
"order": 1,
"uuid": "fddcf85f-3f06-464e-a308-6b404138cb50",
"created_at": "2025-01-31T20:40:52.873249Z",
"updated_at": "2025-01-31T20:40:52.881318Z",
"text": "I've read and understood the Policy Wording and Product Information Documents\r\n**Read Policy Wording**\r\n**Read Product Information Documents**"
},
{
"url": "https://st.igate-test.co.uk/api/v1/disclaimers/469a2213-99ae-40d2-9baf-e9345c1bf5be/",
"category": {
"key": "CONSENT",
"name": "Consent"
},
"order": 2,
"uuid": "469a2213-99ae-40d2-9baf-e9345c1bf5be",
"created_at": "2025-01-31T20:41:12.525379Z",
"updated_at": "2025-01-31T20:41:12.532084Z",
"text": "I've read and agree with the Policy Terms and Conditions\r\n**Read Policy Terms and Conditions**"
}
]
}
Callback
The data required for the url to use for ‘callback’ is provided by the configuration endpoint.
Prepare Payment
Once the user has confirmed the information the payment process begins by preparing the payment.