v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBCustomer flex controls
Update customer flex control
Update a customer flex control. If you want to disable any flex control at the program level, you need to submit a request to the Pismo support team to change the active status parameter to false.
This endpoint generates a Customer flex control updated event.
NOTE: This endpoint requires an account-specific access token.
patch/v1/customers/{customerId}/flex-controls/{flexControlId}
Path parameters
customerIdnumber required
Example:9999999
Customer ID
flexControlIdstring required
Example:84ba9052-31d3-41da-99d2-a1632d5ce2e5
Flex control ID
Request body
Example request
{
"name": "Paul Bearer",
"beneficiary_id": "8497225d-2096-4b92-990e-f73bd21bc48c",
"override_controls": [
"spending-limit-id-1",
"spending-limit-id-2"
],
"processing_codes": {
"credit": "219803",
"debit": "219803"
},
"currency_code": "840",
"max_limit": 1000,
"max_transactions": 10,
"max_amount": 100000,
"limit_duration": "P1M",
"reset_datetime": "2022-03-08T21:19:55Z",
"reset_period": {
"week_day": "monday",
"time": "3:00AM",
"utc_time": "3:00AM"
},
"reset_strategy": {
"reset_trigger": {
"authentication_method": [
"password",
"sms",
"email"
]
}
},
"time_zone": "America/Sao_Paulo",
"available_limit": 300,
"conditions": [
{
"type": "MERCHANT_NAME_LIST",
"operator": "eq",
"data": "10"
}
],
"active": true,
"deny_code": "ERR_VAL_BALANCE",
"response_code": "00",
"custom_code": "FLB",
"card_mode": "credit"
}Response
OK. Successful spending limit patch.
Example response
{
"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
}