Pot balance less than £1 shows in pence

(Gary McAdam) #1

When using the API to get the balance of a pot, if it’s less than £1 (e.g. £0.50) the amount shows as the number of pennies as a whole integer instead (e.g. balance: 50)


  id: "pot_XXXXXXXXXX"
  name: "XXXX"
  style: "lavender"
  balance: 50,
  currency: "GBP",
  type: "default",

(Kieran McHugh) #2

This is correct behaviour, the amount is in pence :slightly_smiling_face:

(Gary McAdam) #3

Oh! Silly me. Thanks.