Motor Download Policy API
This API allows consumers to download proposal or policy-related documents such as policy copy, invoice, or receipt using proposal identifiers.
Request Body required
1SB Payment URL request
- Array [
- ]
- Array [
- ]
distributor object required
Distributor and channel details along with additional tracking fields.
Distributor identifier.
Channel type of the distributor.
Agent identifier (if applicable).
Sales channel (if applicable).
varFields object[] required
Additional distributor-level fields used for tracking/correlation.
Name of additional field.
Value of additional field.
Insurer code for which document download is requested.
Proposal/Application number used to fetch the document.
Product code under which the proposal/policy exists.
Issued policy number (if available/issued).
Quote/Reference identifier associated with the proposal/policy.
UI tracking reference number for correlating user journey in 1SB.
individualDetails object required
Individual/customer details used for validation and insurer-specific checks.
First name of the proposer/insured person.
Last name of the proposer/insured person.
Date of birth of the proposer/insured person (YYYY-MM-DD).
Mobile number of the proposer/insured person.
fileDetails object required
Document category and document identifier details required to download the file.
1SB document category indicating the type of document requested.
1SB document identifier for the requested document type.
varFields object[] required
Additional document-related fields (if any).
Name of additional field.
Value of additional field.
- 200
Successful Response
Schema
- Array [
- ]
Unique request identifier generated by 1SB.
List of errors if any occurred during processing.
data object
Contains downloaded file details and tracking information.
Base64 encoded file content returned by insurer.
File name or download URL provided by insurer.
manufacturerTracking object
Manufacturer level tracking details for the downloaded document.
Manufacturer quote identifier.
Insurer application number.
Issued policy number.
Payment identifier at insurer side.
varFields object[]
Additional dynamic fields returned by insurer.
{
"reqId": "2b990425-2282-4381-9435-b21c2816dc52",
"errors": [],
"data": {
"pdfBytes": "PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFsLy9FTiI...",
"fileName": "http://tiny.royalsundaram.net/ROYSUN_UAT/kYH7xHz",
"manufacturerTracking": {
"manufacturerQuoteId": null,
"applicationNumber": "AG045546VPC0088708",
"policyNumber": "VPC1913882000100",
"paymentId": null,
"varFields": [
{
"fieldName": null,
"fieldValue": null
}
]
}
}
}