Debts
Get debts by customer
List debts of customer.
get/customers/{customerId}/debts/
Request
- Base URLhttps://api.trueaccord.com/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdstring required
TrueAccord Customer ID
Query parameters
startTimeinteger
Milliseconds since Jan 1st, 1970 UTC.
Display only results created after the startTime value.
endTimeinteger
Milliseconds since Jan 1st, 1970 UTC.
Display only results created before the endTime value.
Response
Lists all customer debts corresponding to the request.
Example response
{
"debts": [
{
"initialPrincipal": {
"amount": 30000,
"currency": "USD"
},
"initialInterest": {
"amount": 30000,
"currency": "USD"
},
"initialFees": {
"amount": 30000,
"currency": "USD"
},
"postChargeOffInformation": {
"balanceAtChargeOff": {
"amount": 30000,
"currency": "USD"
},
"feesAccruedSinceChargeOff": {
"amount": 30000,
"currency": "USD"
},
"interestAccruedSinceChargeOff": {
"amount": 30000,
"currency": "USD"
},
"totalPaidSinceChargeOff": {
"amount": 30000,
"currency": "USD"
}
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.