Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Updates #1344

Merged
merged 2 commits into from
Sep 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions charge.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,19 +397,21 @@ type ChargePaymentMethodDetailsCardPresentReceipt struct {

// ChargePaymentMethodDetailsCardPresent represents details about the Card Present PaymentMethod.
type ChargePaymentMethodDetailsCardPresent struct {
Brand PaymentMethodCardBrand `json:"brand"`
CardholderName string `json:"cardholder_name"`
Country string `json:"country"`
EmvAuthData string `json:"emv_auth_data"`
ExpMonth uint64 `json:"exp_month"`
ExpYear uint64 `json:"exp_year"`
Fingerprint string `json:"fingerprint"`
Funding CardFunding `json:"funding"`
GeneratedCard string `json:"generated_card"`
Last4 string `json:"last4"`
Network PaymentMethodCardNetwork `json:"network"`
ReadMethod string `json:"read_method"`
Receipt *ChargePaymentMethodDetailsCardPresentReceipt `json:"receipt"`
AmountAuthorized int64 `json:"amount_authorized"`
Brand PaymentMethodCardBrand `json:"brand"`
CardholderName string `json:"cardholder_name"`
Country string `json:"country"`
EmvAuthData string `json:"emv_auth_data"`
ExpMonth uint64 `json:"exp_month"`
ExpYear uint64 `json:"exp_year"`
Fingerprint string `json:"fingerprint"`
Funding CardFunding `json:"funding"`
GeneratedCard string `json:"generated_card"`
Last4 string `json:"last4"`
Network PaymentMethodCardNetwork `json:"network"`
OvercaptureSupported bool `json:"overcapture_supported"`
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.
Expand Down