#nimish-tank_api
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nimish-tank_api, 1 day ago, 20 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1248554536965247058
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
You are probably looking for this:
https://docs.stripe.com/expand/use-cases#stripe-fee-for-payment
You can check my object no payment details for this object
I have used
$paymentIntent = \Stripe\PaymentIntent::retrieve([
'id' => 'pi_1Gpl8kLHughnNhxyIb1RvRTu',
'expand' => ['latest_charge.balance_transaction'],
]);
this
I see there is a latest_charge object associated with that PaymentIntent
ch_3PLn9KIErBwOu8QA1yVILtbX
You have the Stripe processing fees in the response body you've shared:
[fee_details] => Array
(
[0] => Stripe\StripeObject Object
(
[amount] => 85
[application] =>
[currency] => usd
[description] => Stripe processing fees
[type] => stripe_fee
)
)
[net] => 1815
[reporting_category] => charge
[source] => ch_3PLn9KIErBwOu8QA1yVILtbX
[status] => available
[type] => charge
So the net amount is 18,15$
let me know if you need any more help
sure