v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Account flex controls

Get account customers' flex controls

Get flex controls for all customers related to an account.

NOTE: This endpoint requires an account-specific access token.

get/v1/accounts/{accountId}/customers/flex-controls

Path parameters

accountIdnumber required
Example:500000

Account ID

Response

OK. Customer's flex controls for the account were found.

customer_idinteger

Customer ID

Example response

[
  {
    "customer_id": 99999999,
    "controls": [
      {
        "id": "89cbdadc-860b-4275-a5cd-d9d892fd3869",
        "type": "authentication",
        "processing_codes": {
          "credit": "219803",
          "debit": "219803"
        },
        "rule_reference_id": "purchase-1M",
        "name": "Paul Bearer",
        "account_id": 8988000,
        "customer_id": 99999999,
        "card_ids": [
          11111,
          22222
        ],
        "currency_code": "840",
        "max_limit": 1000,
        "max_transactions": 10,
        "max_amount": 100000,
        "limit_duration": "P1M",
        "reset_datetime": "2022-03-08T21:19:55Z",
        "time_zone": "America/Sao_Paulo",
        "reset_period": {
          "week_day": "monday",
          "time": "3:00AM",
          "utc_time": "3:00AM"
        },
        "reset_strategy": {
          "reset_trigger": {
            "authentication_method": [
              "password",
              "sms",
              "email"
            ]
          }
        },
        "available_limit": 300,
        "conditions": [
          {
            "attribute": "balance",
            "operator": "gt",
            "value": "10000"
          }
        ],
        "active": true,
        "deny_code": "ERR_VAL_BALANCE",
        "response_code": "00",
        "custom_code": "FLB",
        "card_mode": "credit",
        "customized": true
      }
    ]
  }
]