POST api/Policy/GetPaymentDetails
Request Information
URI Parameters
None.
Body Parameters
PaymentDetailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId | string |
None. |
|
| ContractNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientId": "sample string 1",
"ContractNumber": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentDetailResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentDetails | PaymentDetails |
None. |
|
| Error | Error |
None. |
Response Formats
application/json, text/json
Sample:
{
"PaymentDetails": {
"$type": "AssurantCoreLibrary.Model.Elita.Policy.PaymentDetails, AssurantCoreLibrary.Model",
"CertificateNumber": "sample string 1",
"BillingCycle": "sample string 2",
"BillingDocumentType": "sample string 3",
"BillingFrequency": 1,
"BillingFrequencyDescription": "sample string 4",
"BillingPlan": "sample string 5",
"InstallmentAmount": 1.0,
"InvoiceNumber": "sample string 6",
"LastBilledAmount": "sample string 7",
"LastBilledAmtDate": "2025-12-06T04:17:59.4424977+00:00",
"LastFailedTransactionAmount": "sample string 8",
"LastFailedTransactionDate": "2025-12-06T04:17:59.4424977+00:00",
"LastFailedTransactionReason": "sample string 9",
"NoOfInstallments": 1,
"PaymentInstrumentDescription": "sample string 10",
"PaymentInstrumentType": "sample string 11",
"PaymentReferenceNumber": "sample string 12",
"PaymentType": "sample string 13",
"PostPrePaid": "sample string 14",
"NextBillingDate": "2025-12-06T04:17:59.4424977+00:00",
"PaidThroughDate": "2025-12-06T04:17:59.4424977+00:00"
},
"Error": {
"$type": "AssurantCoreLibrary.Elita.Error, AssurantCoreLibrary.Model",
"ErrorCode": 1,
"ShortMessage": "sample string 2",
"LongMessage": "sample string 3"
}
}