wyyerd / stripe-rs

Rust API bindings for the Stripe HTTP API.
Apache License 2.0
223 stars 88 forks source link

Add source field to charge #216

Closed tiriel-wyyerd closed 2 years ago

tiriel-wyyerd commented 2 years ago

Source information is available on Stripe charges despite not being documented as such. This change will enable users to query the information if it exists. While the source-id also appears in the "payment_method" field for card-type charges, the source-id will ONLY appear in the source object for ACH charges.