Get Balances

GET

/public/v3/customers/{customer_id}/balances

Parameters

ParameterData typeRequired?Description
customer_idstringyesCustomer ID

Query parameters

none

Request Body Parameters

none

Response Body Parameters

ParameterData typeRequired?Description
amountfloatyesAmount of associated currency (positive for income and negative for expenditure)
currencystringyesCurrency code (compatible with ISO 4217)
typestringyesAllowed:(ClosingAvailable, ClosingBooked, ClosingCleared, Expected, ForwardAvailable, Information, InterimAvailable, InterimBooked, InterimCleared, OpeningAvailable, OpeningBooked, OpeningCleared)
bank_slugstringyesSlug of the associated bank
account_numberstringyesNumber of the associated account
date_timeintegeryesdate and time in timestamp format

Request example

1 curl --location --request GET 'https://api.friendlyscore.com/public/v3/customers/{customer_id}/balances'

Response example:

1 2 3 4 5 6 7 8 9 10 11 12 13 { "data": [ { "amount": "22.35", "currency": "GBP", "type": "ClosingBooked", "custom_data": {}, "bank_slug": "barclays", "account_number": "123-123-123-123", "date_time": "1553077496" } ] }

Was this article helpful?

Friendly Score UK Ltd.

52 Brook Street 1st Floor, Mayfair

London W1K 5DS

Call us on +44 20 3709 6726

Company registered in England

Company number 09168668, ICO ZA111687

VAT registration number 206 9758 80

Authorised and Regulated by the Financial Conduct Authority. (FRN: 781963)