#xfechx-terminal-webhooks
1 messages · Page 1 of 1 (latest)
Hi @autumn gyro,
I would like my app to take a comission fee (direct transfer) every time a Stripe Terminal payment successful is made. How can I know that a charge was made from a phyiscal card?
I don't really grasp the question and flow. If you're an app and use Stripe Connect, you can control this at the time of PaymentIntent creation. Why take the fee later? Aren't you using Destination Charges?
cc @jade vine
My question is related to the technical aspect. Not the design aspect. I would like to know what to look for in a webhook to know that a charge was made from a terminal, rather than a digital charge.
Look at the Charge's payment_method_details[type]
https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-type this property. It tells you what type of payment method was used for that payment. If it says card_present (or interac_present in Canada) then it's a payment via Terminal
@jade vine does that solve your problem?
thanks a lot @autumn gyro . I think so for now yes