# Stripe Transfers of Funds - Basic Maths question or simple solutionrequired

I’m thinking the issue here could be in my understanding OR there’s a really solution to this that I’ve missed.

I’m using the Transfer to Seller action in my Marketplace app to shift an amount in GBP to the seller’s account after a transaction.

I understand that I need to move an amount that is in the smallest available “whole monetary unit” so, as I’m in the UK and dealing in Pounds Sterling, I should be transferring pence. ie 1000p rather than £10.00 to my sellers.

I didn’t know this though (always late to the party!) until I started seeing “Invalid Integer” messages appearing and all my prices in my are entered and calculated normally (like £12.57 rather than 1257p). So I need to convert the figure that I’m transferring but how do I do this because, surely if I multiply the amount to transfer by 100 then £10 will become £1000. I don’t want to change my prices to pence because it’ll look stupid when a Customer buys £154.56 worth of a product and is presented with a bill of 15456p. Also, I understand that formatting this converts it to text anyway and that’ll throw up issues. So I’m left with this…and very happy sellers as they’ll get 100 x what they should.

As I say, there’s a chance I’m just wrong but I’d love to get past this so I really appreciate any advice.

The transfer amount in Stripe’s API needs to be set in pence (as you’ve already stated).

So to transfer £10, you ned to enter 1000 as the Amount.

So I need to convert the figure that I’m transferring but how do I do this

You multiply the amount in pounds by 100

surely if I multiply the amount to transfer by 100 then £10 will become £1000

What? No… £10 becomes 1000p

I don’t want to change my prices to pence because it’ll look stupid when a Customer buys £154.56 worth of a product and is presented with a bill of 15456p.

I don’t understand… £154.56 is 15456p… they are the same thing…

So I’m left with this…and very happy sellers as they’ll get 100 x what they should.

I think you’re misunderstanding something basic here… you just need to ensure all amounts sent to Stripe are in pence (the price doesn’t change).

So if your prices are stored in your own app in pounds, just convert them to pence (i.e. multiply by 100) before passing those figures into Stripe.

Alternatively, just store all prices in your own database in pence rather than in pounds.

Thanks Adam… I appreciate the explanation.
Doing everything in pence seems unnatural to me but if that’s the way it works, who am I to disagree?!
My concern about converting all my prices to pence is that, while I know that 15456p IS £154.56, if I received a bill for that amount in pence rather than in pounds and pence, I’d understand it but it would seem ridiculous.

But why would you receive a bill in pence?.. (I’m not sure I understand what you’re saying)?

Surely, whatever bill you send or display to your customers you’d show in pounds, no?

I hopefully wouldn’t get a bill in pence.
In my app, my prices are all numbers. Something that costs £5.30 is recorded simply as 5.3. This makes sense to me. I can multiply them, sum them and do whatever I want with them and use them to create a charge which Stripe will happily extract from someone’s bank card for me with no surprises to my way of understanding.
So, if a customer buys 2 things at £5.30, they’ll have to pay £10.60.
Stripe manages the payment and puts in £10.06 in my account, extracting £0.54p for themselves. Everything is done in pounds and pence.
Then, when I want to transfer most of the £10.06 to the seller’s account using Stripe, it’s surprising that the transfer has to be in pence and, before I had my head round this fact, I didn’t love the idea of multiplying all my transfer amounts by 100 for obvious reasons. Especially as Stripe appears to have managed payments in pounds.