#Harpreet - charge
1 messages · Page 1 of 1 (latest)
Hi there! I'm copy-pasting your message in this thread:
i need to know about about customer charge
is there any api to find out what type of charges going to apply on the amount..?
Can you clarify what you mean by "what type of charges going to apply on the amount"?
i mean, international card, domestic card , and other type of fees that apply on the charge ..?
2%
for Mastercard and Visa cards issued in India*
3.5% for American Express cards issued in India
3% for Mastercard and Visa cards issued outside of India
3.5% for American Express cards issued outside of India
4.3% for international cards with USD or other currency presentment
If currency conversion is required, an additional 2% fee will apply.
You can find the brand and the country of the card on the PaymentMethod object: https://stripe.com/docs/api/payment_methods/object?lang=node#payment_method_object-card
And if you want to know the Stripe fee once a charge is made, you can check the charge object > balance transaction object > fee_detail https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee_details
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
can i know it before charge ..?
How are you accepting payments with Stripe? Checkout Session, Payment Element, something else?
So you create the PaymentIntent on the backend, but how to you collect payment information? With the Payment Element?
before charging any customer , i want to know about how much stripe is going to charge on the actual amount based on the different cards ..?
for example
$100 => what stripe take fee ..?
including stripe+currency conversion+ international+ etc.
If you want to know after charging the customer, it's easy: look at the balance_transaction.fee_details https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee_details
If you want to know before charging the customer, it's more complicated. You first need to get the customer PaymentMethod first, then look a the brand/country of the Payment Method https://stripe.com/docs/api/payment_methods/object#payment_method_object-card
Also note that in some countries it's not allowed to change the amount customer pay based on the payment method they use. So we usually recommend to not change price based on the Payment Method, and simply charge a slightly higher amount for everyone to cover your costs.
my concern is, i want to take stripe extra from customer within the charge
so i get actual remaining amount without loss
please suggest any solution
If you want to know the fee in advance, collect the payment information to create a Payment Method, and then check the country/brand of the payment method to compute the Stripe fees on your end (like I mentioned before)
this is ok