#Piercy-amount-payment-intent

1 messages ยท Page 1 of 1 (latest)

crystal forge
#

Hello ๐Ÿ‘‹
Just to clarify, are you trying to retrieve the amount server-side?

nova sky
#

Yes, server side

crystal forge
#

gotcha and when you say net amount you mean the total amount (including the fees) correct?

nova sky
#

It would be the total amount, minus the fees. Heres an example: pi_3Lop6b2n5ss6lX9C1of3TtF2

We're not worried about he currency conversion for the moment, were just trying to work stuff out to make sure were going in the right direction, development wise.

We're after the net which is ยฃ72.44 in this case.

crystal forge
nova sky
#

The amount would include the fees though?

#

So as you can see in the above screenshot, amount would be 7680 (or maybe 9000), but the net ends up at 7244.

crystal forge
#

I think the net is including the fees

nova sky
#

I'm confused, im asking if there is a way to get the net value?

crystal forge
nova sky
#

Ah nice, ill check that out, I knew it would be in there somewhere. Thanks!

crystal forge
#

NP! ๐Ÿ™‚ Sorry for the confusion earlier

nova sky
#

No problem, finance stuff is linguistically confusing ๐Ÿ˜„ net vs total vs amounts, its hard work!

crystal forge
#

๐Ÿ™‚ ๐Ÿ‘