12. Custom Web Flow

Get Banks for a customer.

Changed on
get/public/v3/webflow/banks

Request

  • Base URL
    https://api.friendlyscore.com (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header Authorization

Query parameters

status'available' | 'connected' | 'all' required

Filter to choose only banks that have certain relation with given user. Default: 'available'

Response

Returns collection of UserBank objects (with bank data and additional user-relevant data). Bear in mind that transactions_consent_from and transactions_consent_to fields refer to the default values assigned in bank configuration, not current values taken from user's consent (there's a separate endpoint for that).

connectedboolean

Information if the user has connected the given bank

Example response

[
  {
    "bank": {
      "name": "PKO",
      "logo_url": "http://bank-of-mordor.com/nice-logo.jpg",
      "slug": "pko",
      "country_code": "GB",
      "type": "Personal"
    },
    "accounts": [
      {
        "account_type": "Personal",
        "account_number": "************5564"
      }
    ],
    "last_account_consent": {
      "creation_date_time": "1553077496",
      "status_update_date_time": "1553077496",
      "expiration_date_time": "1553077496",
      "transaction_from_date_time": "1553077496",
      "transaction_to_date_time": "1553077496",
      "consent_reconfirmation_date": "1553077496"
    }
  }
]

Changes