Banks
Admin

Update bank activation status (admin only)

Changed on

Update bank activation status (admin only)

put/api/v1/admin/banks/{bankId}/status

Request

Path parameters

bankIdstring uuid required

The unique identifier of the bank

Example:550e8400-e29b-41d4-a716-446655440000

Request body

isActiveboolean required

Whether the bank should be active (true) or inactive (false)

Example request

{
  "isActive": true
}

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "bank": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "Santander",
      "market": "GB",
      "currency": "GBP",
      "isActive": true
    },
    "message": "Bank activated successfully"
  }
}

Changes

    • 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

      the // response's property pattern ^[A-Za-z]{3}$ was added for the status

    • info

      the // response's property pattern ^[A-Za-z]{2}$ was added for the status

    • info

      endpoint added