Failed payments summary


The /reports/cashflow-failed-payments-summary endpoint returns failed payment totals for month-to-date and year-to-date periods with comparisons to the prior equivalent periods, including recovery rates and failure percentages.

GET /reports/cashflow-failed-payments-summary

Query parameters

ParameterTypeDescription
baseCurrencystringTarget currency for conversion. Defaults to account base currency.
fix_fxbooleanUse fixed exchange rates.
regionstringFilter by region or country codes (space-separated).
currencystringFilter by currency codes (space-separated).
planstringFilter by plan group IDs (space-separated).
data_sourcestringFilter by data source ID (space-separated).

Example response

200 OK
{
"currency": "usd",
"summary": {
"mtd_still_unpaid": 3000,
"prev_mtd_still_unpaid": 4500,
"ytd_still_unpaid": 15000,
"prev_ytd_still_unpaid": 18000,
"mtd_recovery_rate": 75.0,
"prev_mtd_recovery_rate": 68.0,
"ytd_recovery_rate": 72.5,
"prev_ytd_recovery_rate": 65.0,
"mtd_failed_pct": 3.2,
"prev_mtd_failed_pct": 4.1,
"ytd_failed_pct": 3.5,
"prev_ytd_failed_pct": 4.0,
"mtd_failed_invoices": 8,
"prev_mtd_failed_invoices": 12,
"ytd_failed_invoices": 45,
"prev_ytd_failed_invoices": 55,
"mtd_still_unpaid_change_pct": -33.3,
"ytd_still_unpaid_change_pct": -16.7,
"mtd_recovery_rate_change": 7.0,
"ytd_recovery_rate_change": 7.5,
"mtd_failed_pct_change": -0.9,
"ytd_failed_pct_change": -0.5
}
}

Response fields

FieldTypeDescription
mtd_still_unpaidnumberMonth-to-date unpaid amount (cents)
prev_mtd_still_unpaidnumberPrevious month equivalent (cents)
ytd_still_unpaidnumberYear-to-date unpaid amount (cents)
prev_ytd_still_unpaidnumberPrevious year equivalent (cents)
mtd_recovery_ratefloatMonth-to-date recovery rate (%)
prev_mtd_recovery_ratefloatPrevious month recovery rate (%)
ytd_recovery_ratefloatYear-to-date recovery rate (%)
prev_ytd_recovery_ratefloatPrevious year recovery rate (%)
mtd_failed_pctfloatMonth-to-date failure percentage
prev_mtd_failed_pctfloatPrevious month failure percentage
ytd_failed_pctfloatYear-to-date failure percentage
prev_ytd_failed_pctfloatPrevious year failure percentage
mtd_failed_invoicesintegerMonth-to-date failed invoice count
prev_mtd_failed_invoicesintegerPrevious month failed invoice count
ytd_failed_invoicesintegerYear-to-date failed invoice count
prev_ytd_failed_invoicesintegerPrevious year failed invoice count
*_change_pctfloatPercentage change vs prior period
*_changefloatAbsolute change vs prior period