v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBAccount flex controls
Get account flex control
Get a flex control, given the accountId and flexControlId.
NOTE: This endpoint requires an account-specific access token.
get/v1/accounts/{accountId}/flex-controls/{flexControlId}
Path parameters
accountIdnumber required
Example:9999999
Account ID
flexControlIdstring required
Example:84ba9052-31d3-41da-99d2-a1632d5ce2e5
Flex control ID
Response
OK. Flex control was found.
Example response
{
"id": "9cbdadc-860b-4275-a5cd-d9d892fd3869",
"deny_code": "ERR_VAL_BALANCE",
"name": "Paul Bearer",
"type": "authentication",
"rule_reference_id": "purchase-1M",
"beneficiary_id": "8497225d-2096-4b92-990e-f73bd21bc48c",
"override_controls": [
"spending-limit-id-1",
"spending-limit-id-2"
],
"description": "This flex control restricts the max value to be spent every 24 hours",
"processing_codes": {
"credit": "219803",
"debit": "219803"
},
"currency_code": "840",
"time_zone": "America/Sao_Paulo",
"max_limit": 1000,
"available_limit": 300,
"conditions": [
{
"type": "MERCHANT_NAME_LIST",
"operator": "eq",
"data": "10"
}
],
"limit_duration": "P1M",
"reset_period": {
"week_day": "monday",
"time": "3:00AM",
"utc_time": "3:00AM"
},
"reset_datetime": "2022-03-08T21:19:55Z",
"active": true,
"customized": true,
"response_code": "00",
"custom_code": "FLB"
}