Patch charge key limit caps
Changed onRequired scope: charge-key-limit-caps:write (not requestable by marketplace apps) </br>Organization authorization: supported
An operator has one set of caps per team settings profile (Hub: Operator team settings); defaultForTeamType says which teams get the set by default. A charge key's own usage limits (rollingSpendLimit, dailyChargeCountLimit, concurrentChargesLimit) may not exceed the caps its team is bound by. A null cap is not configured, so the recommended value is the cap. Caps may not exceed max, Monta's ceiling.
Raise a cap here before raising charge keys above it. Only operator-scoped consumers may change caps; a team-scoped consumer gets 403. Existing charge keys keep their limits when a cap changes.
Request
- Base URLhttps://partner-api.monta.com
- URLhttps://partner-api.monta.com/api/v1/charge-key-limit-caps/{chargeKeyLimitCapId}
- AuthHTTP bearer
Path parameters
Request body
Example request
{
"rollingSpendLimit": 1500,
"dailyChargeCountLimit": 20,
"concurrentChargesLimit": 10
}Response
Charge key limit caps updated
Example response
{
"id": 42,
"operatorId": 1,
"name": "Fleet customers",
"defaultForTeamType": "professional",
"rollingSpendLimit": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"dailyChargeCountLimit": 20,
"concurrentChargesLimit": 10,
"recommended": {
"rollingSpendLimit": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"dailyChargeCountLimit": 14,
"concurrentChargesLimit": 7
},
"max": {
"rollingSpendLimit": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"dailyChargeCountLimit": 14,
"concurrentChargesLimit": 7
}
}Changes
- info
endpoint added
- info