Create account limit type

Use case

Here, we will create a single currency account limit type with the account scope.

Use case data
API parameters with values

The limit must be applicable on the account level.

The limit is active on a montly basis.

The limit is calculated per currency.

The limit code that was generated in the previous call.

circle-info

You can find more information about the limit type parametersarrow-up-right in the dev portal.

Sample API call

To create an account limit type, make the following call.

https://account-api.sandbox.tuumplatform.com/api/v1/limits/types

circle-info

See more about the create

ndpointarrow-up-right in the Tuum developer portal.

Sample request

Below is an example request body of the API call for creating an account and setting access rights.

{
  "scopeTypeCode": "ACCOUNT",
  "periodTypeCode": "MONTHLY",
  "calcTypeCode": "PER_CURRENCY",
  "limitCode": "NEW_ACCOUNT_LIMIT"
}

Sample response

Below you find an example response body to the API call above.

chevron-rightResponsehashtag

Result

A new single currency account limit type is created - ID-1002. In the further API call, we will assign this limit type to an existing account and define the limit amount.

Last updated

Was this helpful?