Context:
- Payment charge: A series of payments have been made,
- Refund charge: Refunds are made on the portal by clicking a specific payment charge, and then clicking on the ‘Refund’ button.
API:
When we retrieve the list of charges using the ‘List all charges’ API, it contains both payments and refunds.
The charge object contains the ID of the charge, and also a payment_intent ID. However, for reconciliation purposes, we are unable to find the link between a refund charge and its original charge.
Does anyone know how to find the original charge used to create the refund charge?
Thanks in advance.