Pot balance less than £1 shows in pence

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)

GET /pots/pot_XXXXXXXXXX

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

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

4 Likes

Oh! Silly me. Thanks.