Create account limit code
Use case
In this example, we will review how to set up an account limit code. This parameter gives a name and description of the account limit that will be configured in the further articles.
The technical name of the account limit code.
"code": "NEW_ACCOUNT_LIMIT"
The description of the new account limit code.
"name": "New account limit"
The account limit code is enabled.
"enabled": true
Sample API call
To create a new account limit code, make the following call.
Create account limit code
https://account-api.sandbox.tuumplatform.com/api/v1/limits/codes
See more information about this endpoint in the Tuum developer portal.
Sample request
Below is an example body request of the API call for creating an account limit code.
{
"code": "NEW_ACCOUNT_LIMIT",
"name": "New account limit",
"enabled": true
}
Sample response
Below you find an example response body to the API call above.
Result
A new limit code NEW_ACCOUNT_LIMIT
is created and enabled. This parameter will be used for setting up an account limit type.
Last updated
Was this helpful?