Skip to main content
POST
/
v1
/
banking
/
customer
/
{customerId}
/
accounts
/
balances
Error
A valid request URL is required to generate request examples
{
  "data": {
    "balances": [
      {
        "accountId": "06aeb155-d136-4e60-bfdc-0c0147e107a6",
        "currentBalance": "1000.00",
        "availableBalance": "900.00"
      }
    ]
  },
  "links": {
    "first": "page=1&page-size=25&oldest-date=2023-04-24",
    "last": "page=4&page-size=25&oldest-date=2023-04-24",
    "next": "page=3&page-size=25&oldest-date=2023-04-24",
    "prev": "page=1&page-size=25&oldest-date=2023-04-24"
  },
  "meta": {
    "totalRecords": 1,
    "totalPages": 1
  }
}

Authorizations

Authorization
string
header
required

The Fiskil Data Provider will include a self-signed JWT as a Bearer token in the Authorization header. You should verify this JWT using the JWKS URL you can find for your Data Provider instance in the Fiskil Console. To verify the JWT you must:

  • Verify the signature
  • Ensure the token has not expired by checking the exp claim
  • The sub and iss claims are your data provider subdomain
  • The aud claim is the URI of the resource being requested (excluding any query parameters)
  • The jti value is unique For further detail on security and authentication refer to our Authentication documentation

Path Parameters

customerId
string
required

Unique ID of a customer. This ID must not change for the lifecycle of the customer

Query Parameters

page
integer

Page of results to request (standard pagination)

page-size
integer

Page size to request. Default is 25 (standard pagination)

product-category
enum<string>

Used to filter results on the productCategory field applicable to accounts. Any one of the valid values for this field can be supplied. If absent then all accounts returned.)

Available options:
BUSINESS_LOANS,
CRED_AND_CHRG_CARDS,
LEASES,
MARGIN_LOANS,
OVERDRAFTS,
PERS_LOANS,
REGULATED_TRUST_ACCOUNTS,
RESIDENTIAL_MORTGAGES,
TERM_DEPOSITS,
TRADE_FINANCE,
TRANS_AND_SAVINGS_ACCOUNTS,
TRAVEL_CARDS
open-status
enum<string>
default:ALL

Used to filter results according to open/closed status. Values can be OPEN, CLOSED or ALL. If absent then ALL is assumed

Available options:
ALL,
CLOSED,
OPEN
is-owned
boolean

Filters accounts based on whether they are owned by the authorised customer. True for owned accounts, false for unowned accounts and absent for all accounts

Body

application/json

The list of account IDs to obtain balances for

data
object
required

Response

List of balances for each account

data
object
required

URL Query parameters to obtain different pages of the response. Fiskil will combine these with the rest of the request URL to build full link URLs in the final response.

Example:
{
"first": "page=1&page-size=25&oldest-date=2023-04-24",
"last": "page=4&page-size=25&oldest-date=2023-04-24",
"next": "page=3&page-size=25&oldest-date=2023-04-24",
"prev": "page=1&page-size=25&oldest-date=2023-04-24"
}
meta
object
required
Example:
{ "totalRecords": 150, "totalPages": 6 }