Features by account status

List features by account status

List account statuses with the corresponding feature toggles at program or organization level.

get/v1/features-by-account-status

Request

  • Base URL
    https://sandbox.pismolabs.io/passport
  • URL
    https://sandbox.pismolabs.io/passport/v1/features-by-account-status
  • Auth
    none declared

Query parameters

programIdinteger
Example:12345

Program ID

Response

OK

program_idnumber

Program ID

Example response

{
  "program_id": 123,
  "account_statuses": [
    {
      "value": [
        {
          "name": "DEFINITIVE_CANCELLATION",
          "features": {
            "close-statements": false
          }
        },
        {
          "name": "BLOCKED",
          "features": {
            "close-statements": false,
            "overlimit": false
          }
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.