get https://api-sandbox.pismolabs.io/statements-v2/v1/accounts//discharges-tracking
Track discharges for an account. A discharge occurs when a credit transaction is used to reduce the balance of a debit transaction.
This endpoint returns a list of credit transactions along with the debit transactions that they were used to discharge.
You can filter the list by creditTransactionId
, CreditTransactionBeginDate
, and CreditTransactionEndDate
.
If an invalid value is entered for creditTransactionBeginDate
or creditTransactionEndDate
, the endpoint returns 400 - Bad Request
. An example of an invalid value would be if creditTransactionEndDate
is an earlier date than creditTransactionBeginDate
or if creditTransactionBeginDate
is more than 184 days in the past.