Member Charges through API

I’m trying to reconstruct the payment history for a user.

Is it possible to fetch just successful (Paid) member charges through the API?

Something similar to recent_charges but for the whole length of the subscription would be great.

       {
            "attributes": {
                "amount_cents": 100,
                "currency": "USD",
                "date": "2024-08-27T18:04:29.000+00:00",
                "is_refundable": true,
                "partial_annual_refund_data": {
                    "charge_cadence": 1,
                    "partial_annual_refund_amount": 0,
                    "partial_annual_refund_eligible": true,
                    "patron_currency_code": "USD",
                    "prorated_days": null,
                    "prorated_months": 0
                },
                "status": "Paid",
                "supported_period_end": "2024-09-01T07:00:00.000+00:00",
                "supported_period_start": "2024-08-01T07:00:00.000+00:00",
                "underlying_charge_id": "x",
                "underlying_charge_type": "patronage_purchase"
            },
            "id": "p-x",
            "relationships": {
                "campaign": {
                    "data": {
                        "id": "1",
                        "type": "campaign"
                    },
                    "links": {
                        "related": "https://www.patreon.com/api/campaigns/1"
                    }
                },
                "discount": {
                    "data": null
                },
                "post": {
                    "data": null
                }
            },
            "type": "charge"
        },

I have found using pledge_history to be far from usable and providing results that are quite different from what we see on the website in the “See all payment history” section for a particular user.

For example a pledge_event of type:pledge_downgrade with a pledge_payment_status:declined resulted to a charge while a different event with same type and pledge_payment_status didn’t.

Can you explain this a bit? “Resulted to a charge” as in?

I mean resulting in charge - that the patron was successfully charged.