Create upper usage group
Usage groups control the services for which a card can be used. For example, in ATMs, for e-commerce, and for contactless purchases. An upper usage group is a group with the maximum allowed authorisation types. You can also create other usage groups that can be used as default groups for card products.
Use case
Here we will create an upper usage group which allows all the authorisation types.
Usage group name
"usageGroupName": "UPPER_USAGE_01"
Service codes (Allowed authorisation types)
"serviceCodes": [
"00", //Purchase
"0C", //Contactless
"0A", //E-commerce
"09", //Cashback
"01", //Cash
"30", //Balance
"39", //Statement
"20", //Refund
"21", //Deposit
"28" //Money receive
]
Sample API call
To create the upper usage group, use the following endpoint:
https://card-api.sandbox.tuumplatform.com/api/v1/usage-group
Sample request
The sample request body is as follows:
{
"usageGroupName": "UPPER_USAGE_01",
"upperUsageGroup": true,
"tenantCode": "MB",
"serviceCodes": [
"00",
"0C",
"0A",
"09",
"01",
"30",
"39",
"20",
"21",
"28"
]
}
Sample response
Below you will find the response to the sample request:
Result
We have now created an upper usage group called UPPER_USAGE_01
which we can assign to card products. Similarly, you can create non-upper usage groups.
Last updated
Was this helpful?