list_scheduled_charge_attempts
Audit per-attempt billing log for scheduled charge series, including failure codes and card details, to diagnose why recurring payments failed.
Instructions
Per-attempt billing log for a scheduled charge series (SPEC §4.2). One row per logical billing event: cycle 1 interactive charge, every silent-charge attempt, every retry cron retry, every manual mark-paid. Each row carries the canonical Garu failureCode for declines, the gateway raw code for forensics, and a snapshot of the card last4 / brand even after the PaymentMethod is deleted (LGPD survival). Use this to audit why a recurring series fell behind.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Scheduled charge ID (the series id) | |
| page | No | Default 1 | |
| limit | No | Default 20, max 100 | |
| cycleNumber | No | Filter to a single cycle. Default returns attempts across all cycles. |