#dlavoie-plannit
1 messages · Page 1 of 1 (latest)
hi! I think it depends on what exactly you mean by 'capturing' , you might not be using it the way we use that word.
For Terminal, you call e.g. collectPaymentMethod and processPayment on the reader to process the payment.
You can not read the card details like brand during those steps, so you can't change the actual amount authorised (shown to the customer on the screen and authorised with their bank) based on card details.
You can however read them just fine before capturing the authorised payment with https://stripe.com/docs/api/payment_intents/capture . They would be in payment_method_details on the PaymentIntent's Charge(not inside payment_method) https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-brand
in general you should always be looking at payment_method_details for this purpose, even for web payments, it's consistent for all payment method types and always contains "information on the payment method used for this given payment" which is what you want here. The type:"card_present" PaymentMethod object is empty(because it's not reusable), but payment_method_details will have what you want.
hope that helps @torn glade