Skip to content

Commit

Permalink
Merge pull request #1207 from stripe/remi-charge-iin
Browse files Browse the repository at this point in the history
Add support for `Description`, `IIN` and `Issuer` on `Charge` for `CardPresent` and `InteracPresent
  • Loading branch information
remi-stripe authored Oct 13, 2020
2 parents 63f8c91 + d702ce3 commit 3447e5a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charge.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,12 @@ type ChargePaymentMethodDetailsCardPresent struct {
Network PaymentMethodCardNetwork `json:"network"`
ReadMethod string `json:"read_method"`
Receipt *ChargePaymentMethodDetailsCardPresentReceipt `json:"receipt"`

// Please note that the fields below are for internal use only and are not returned
// as part of standard API requests.
Description string `json:"description"`
IIN string `json:"iin"`
Issuer string `json:"issuer"`
}

// ChargePaymentMethodDetailsEps represents details about the EPS PaymentMethod.
Expand Down Expand Up @@ -453,6 +459,12 @@ type ChargePaymentMethodDetailsInteracPresent struct {
Network string `json:"network"`
ReadMethod string `json:"read_method"`
Receipt *ChargePaymentMethodDetailsInteracPresentReceipt `json:"receipt"`

// Please note that the fields below are for internal use only and are not returned
// as part of standard API requests.
Description string `json:"description"`
IIN string `json:"iin"`
Issuer string `json:"issuer"`
}

// ChargePaymentMethodDetailsInteracPresentReceipt represents details about the InteracPresent Receipt.
Expand Down

0 comments on commit 3447e5a

Please sign in to comment.