#xfechx-terminal
1 messages ยท Page 1 of 1 (latest)
hello
I would like to know, which parameters come from events that will allow my webhook to know that it is a charge coming from a terminal charge
what parameter do I need to check
You'd check the type field on the Payment Method object used on the PI/Charge: https://stripe.com/docs/api/payment_methods/object#payment_method_object-type
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Would be card_present
If you're using Charge events, then you'd check for this hash: https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.