Customers
Add one debt to customer
Add new debt to customer
post/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.
Request body
Example request
{
"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"
}
}
}Response
The response will be a debt object with a meta.id field which will be the debt permanent unique id. It is recommended to set the transactionId field to an invoice number on your system.
Example response
{
"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.