This object represents line of credit (e.g. credit card) or loan (e.g. personal installment) statement. Each statement is associated with one due date.
For lines of credit, statements are created one calendar day after the period end date. The number of dates between a statement creation and a due date can be configured by lenders, but are normally 14 or 21 days.
For installments, there are two options for when statements can be created:
Collection of statements
{- "status": 0,
- "count": 0,
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "periodId": "string",
- "version": 0,
- "billingCycleStartDate": "2019-08-24",
- "billingCycleEndDate": "2019-08-24",
- "paymentDueDate": "2019-08-24",
- "documentDescriptorId": "string",
- "statementDate": "2019-08-24",
- "minimumDueAmount": 0,
- "newBalanceAmount": 0,
- "statementLogicVersion": 2,
- "isExternal": true
}
]
}
Details for a single statement
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "periodId": "string",
- "version": 0,
- "billingCycleStartDate": "2019-08-24",
- "billingCycleEndDate": "2019-08-24",
- "paymentDueDate": "2019-08-24",
- "documentDescriptorId": "string",
- "statementDate": "2019-08-24",
- "minimumDueAmount": 0,
- "newBalanceAmount": 0,
- "statementLogicVersion": 2,
- "isExternal": true,
- "daysInBillingCycle": 0,
- "totalInterestForThisPeriod": 0,
- "totalFeesForThisPeriod": 0,
- "previousBalance": 0,
- "totalPaymentsForThisPeriod": 0,
- "totalPaymentReversalsForThisPeriod": 0,
- "totalCreditsForThisPeriod": 0,
- "totalRefundsForThisPeriod": 0,
- "totalCreditReversalsForThisPeriod": 0,
- "totalAdjustmentsForThisPeriod": 0,
- "overdueAmount": 0,
- "fulfilledAmount": 0,
- "remainingAmount": 0,
- "overpaymentsAmount": 0,
- "creditBalanceAmount": 0,
- "newPrincipalBalance": 0,
- "yearToDateFeesCharged": 0,
- "yearToDateInterestCharged": 0,
- "isDisplayLatePaymentWarning": true,
- "lateFeeUpToAmount": 0,
- "year": "string",
- "lastPeriodPrincipalPaid": 0,
- "lastPeriodInterestPaid": 0,
- "lastPeriodFeesPaid": 0,
- "lastPeriodTotalPaid": 0,
- "lastPeriodOverPaid": 0,
- "ytdPrincipalPaid": 0,
- "ytdInterestPaid": 0,
- "ytdFeesPaid": 0,
- "ytdTotalPaid": 0,
- "ytdOverPaid": 0,
- "statementActivities": [
- {
- "amount": 0,
- "dateOfActivity": "2019-08-24",
- "effectiveDate": "2019-08-24",
- "activityType": "fee",
- "description": "string",
- "referenceNumber": "string"
}
], - "autopay": {
- "paymentInstrumentId": "string",
- "schedule": [
- {
- "date": "2019-08-24",
- "amount": 0
}
]
}, - "borrowerDetails": {
- "name": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}
}, - "apr": 0,
- "totalAmountDue": 0,
- "prepaidAmount": 0,
- "recurringAmount": 0,
- "totalAdvancesForThisPeriod": 0
}
}
A single Statement
{- "documentDescriptorId": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "periodId": "string",
- "version": 0,
- "billingCycleStartDate": "2019-08-24",
- "billingCycleEndDate": "2019-08-24",
- "paymentDueDate": "2019-08-24",
- "documentDescriptorId": "string",
- "statementDate": "2019-08-24",
- "minimumDueAmount": 0,
- "newBalanceAmount": 0,
- "statementLogicVersion": 2,
- "isExternal": true
}
}
Generates a statement, and if one already exists, replaces the older one as the active one.
If sync=true
is passed, the server will try to wait up to 20 seconds for the statement
creation to finish. If it finishes in time, it will return the statement object.
Otherwise, it will return nothing.
Success
{- "processingComplete": true,
- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "periodId": "string",
- "version": 0,
- "billingCycleStartDate": "2019-08-24",
- "billingCycleEndDate": "2019-08-24",
- "paymentDueDate": "2019-08-24",
- "documentDescriptorId": "string",
- "statementDate": "2019-08-24",
- "minimumDueAmount": 0,
- "newBalanceAmount": 0,
- "statementLogicVersion": 2,
- "isExternal": true
}
}
Request sandbox access