Create account flex control

Creates flex control for account. You use flex controls to restrict financial operations. For example, you can set spending and usage limits. For more information, refer to Flexible transaction controls.

To create a cumulative condition, the type can be:

  • spending_limit to restrict the maximum total amount that can be transacted during an specific period.
  • usage_limit to evaluate the quantity of transactions. The cumulative control type must also specify the max_limit. The limit_duration and reset_period parameters are optional, but they are linked with the behavior of max_limit.

To create a restriction condition, set type as restriction.

To restrict an operation, the restriction control must specify:

  • at least one condition in the conditions array.
  • the required values for attribute, operator, and value in the condition.

Once you create the control, you can't change its type.

This endpoint generates an account_spending_limit_created-1 event.

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

Language
Credentials
Bearer
Click Try It! to start a request and see the response here!