#cgy
1 messages · Page 1 of 1 (latest)
amount should be good. Those fields will behaves a bit differently in different cases, ie before vs. after confirmation amount is unchanged, but amount_received will come from 0 to the amount value
You mean amount when payment_success it will be the exact amount which I create the payementIntent, but it can still be 0 when payment_failed or payment_processing. Is that right ?
amount will unchanged and will be the one you set up
Ok, so when I use Webhook, listen to payment_success, amount is the actual money I charge right ?
payment_intent.succeeded and yes
Ok, thank you. I first check the docs and not sure amount_receive or amount.
And second question: is there a filed which tells about the time bank deduct money from the card.
created seems to be the one illustrate the time created on your system
but not the one bank deduct money right?
No, but generally at the time of confirmation, it is "registered" to the issuer bank. When they actually deduct it largely depends on their own system
confirmation time is the time you confirm the PaymentIntent
But I didn't find this field "confirmTime"
I want to show this field in our email to customers. Just to avoid customers find different time betweent our email and the issur bank
No it's not a field, it's the time you received payment_intent.succeeded
ok