Charge Auth Tokens
Create a new charge auth token
Changed onRequired scope: charge-auth-tokens:write </br>Organization authorization: supported
post/api/v1/charge-auth-tokens
Request
- Base URLhttps://partner-api.monta.com
- URLhttps://partner-api.monta.com/api/v1/charge-auth-tokens
- AuthHTTP bearer
Request body
Example request
{
"teamId": 42,
"userId": 1,
"vehicleId": 1,
"identifier": "38C58DB85F4",
"name": "Monta Office Charge Key",
"montaNetwork": true,
"roamingNetwork": true,
"operatorNetwork": true,
"activeUntil": "2023-01-11T00:00:00Z",
"blockedAt": "2023-01-11T00:00:00Z",
"partnerExternalId": "ACME-12345",
"partnerCustomPayload": {
"internalId": "ACME-12345",
"department": "Fleet"
}
}Response
Charge Auth Token Created
Example response
{
"id": 1,
"identifier": "38C58DB85F4",
"type": "vehicleId",
"teamId": 13,
"userId": 1,
"vehicleId": 1,
"partnerExternalId": "ACME-12345",
"partnerCustomPayload": {
"internalId": "ACME-12345",
"department": "Fleet"
},
"name": "Monta Team Key",
"operator": {
"id": 14,
"name": "Monta",
"identifier": "monta",
"partnerId": 1,
"vatNumber": "FOO-123-ABC"
},
"montaNetwork": true,
"roamingNetwork": true,
"operatorNetwork": true,
"activeUntil": "2023-01-11T00:00:00Z",
"blockedAt": "2023-01-11T00:00:00Z",
"createdAt": "2022-05-12T15:56:45.99Z",
"updatedAt": "2022-05-12T16:56:45.99Z",
"rollingSpendLimit": {
"amount": 12312,
"currency": {
"id": 1,
"master": true,
"identifier": "DKK",
"name": "Danish krone",
"decimals": 2
},
"locale": "en"
},
"dailyChargeCountLimit": 10,
"concurrentChargesLimit": 2
}Changes
- breaking
the
request property type changed fromarraytoobject - breaking
the
response's property type changed fromarraytoobjectfor status - info
the
request property default value changed fromtruetofalse - info
the
request property default value changed fromtruetofalse - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking