Payments
Report a payment
Update TrueAccord system with infomration about customer payment.
NOTE: For balance adjustments, use the following route instead of this one: /customers/{customerId}/debts/{debtId}/totalToCollectBalance
post/customers/{customerId}/debts/{debtId}/payments/
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
{
"amount": {
"amount": 30000,
"currency": "USD"
},
"payee": "CREDITOR",
"transactionType": "PAYMENT",
"note": "Paid directly via CC"
}Response
Same as request object with a meta field and paymentTimestamp if paymentTimestamp wasn't included in request.
Example response
{
"meta": {
"id": "11111111111111111111111111111111"
},
"amount": {
"amount": 30000,
"currency": "USD"
},
"payee": "CREDITOR",
"transactionType": "PAYMENT",
"note": "Paid directly via CC"
}Changes
No recorded changes to this operation across all 1 revision of this API.