Skip to content

Commit

Permalink
Merge pull request #1185 from stripe/remi-charge-captured
Browse files Browse the repository at this point in the history
Add support for `AmountCaptured` on `Charge`
  • Loading branch information
remi-stripe authored Sep 21, 2020
2 parents 6146c14 + beadd00 commit 924bb4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charge.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ type ChargeTransferData struct {
type Charge struct {
APIResource
Amount int64 `json:"amount"`
AmountCaptured int64 `json:"amount_captured"`
AmountRefunded int64 `json:"amount_refunded"`
Application *Application `json:"application"`
ApplicationFee *ApplicationFee `json:"application_fee"`
Expand Down

0 comments on commit 924bb4b

Please sign in to comment.