Update a card group
Changed onpatch/v2/card-groups/{cardGroupId}
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/card-groups/{cardGroupId}
- AuthAPI key in header X-API-Key
Path parameters
cardGroupIdstring required
Card group id with the card_group_ prefix.
Request body
Example request
{
"controls": {
"limit": {
"amount": {
"amount": 500000,
"currency": "USD"
},
"period": "monthly"
},
"transactionLimit": {
"amount": 250000,
"currency": "USD"
},
"merchantCategoryCodes": {
"mode": "block",
"values": [
"7995"
]
}
}
}Response
The updated card group.
Example response
{
"id": "card_group_2rj4l7hmrrrcv",
"name": "Marketing",
"controls": {
"limit": {
"amount": {
"amount": 500000,
"currency": "USD"
},
"period": "monthly"
},
"transactionLimit": {
"amount": 250000,
"currency": "USD"
},
"merchantCategoryCodes": {
"mode": "block",
"values": [
"7995"
]
}
}
}Changes
- info
endpoint added
- info