Banks
Admin

Update the status of top banks for a specific market

Changed on

Update the status of top banks for a specific market

put/api/v1/admin/banks/top/{market}

Request

Path parameters

marketstring required

The market code (e.g., GB, DE)

Example:GB

Request body

bankNamesstring[] required
topInMarketboolean required

Whether these banks should be marked as top in the market

Example request

{
  "bankNames": [
    "Santander"
  ],
  "topInMarket": true
}

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174001",
      "name": "Santander",
      "market": "GB",
      "currency": "GBP",
      "displayName": "Santander",
      "logoUrl": "https://example.com/logo.png",
      "websiteUrl": "https://www.santander.co.uk",
      "topInMarket": true
    }
  ]
}

Changes

    • breaking

      the response's body type changed from array to object for status

    • breaking

      the / response's property type changed from string to no type for status

    • warning

      removed the optional property / from the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added subschema #1 subschema #2 to the / response property allOf list for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added