airbyte
airbyte copied to clipboard
Source Stripe: sources API deprecated
As part of the bank_accounts stream, we use the endpoint "customers/{customer_id}/sources". This endpoint is not available in the documentation and stripe mentions explicitly that the sources API is deprecated (see https://stripe.com/docs/sources/customers). We should move away from this API.
Even though it's less clear that this is deprecated, the expands=data.sources parameter is not in the API doc anymore (I would like someone else to confirm that). It would mean that the lazy pattern we have right now might not work eventually and we would need to query all the child to see if there is a bank account.