Set the default member AI limit
PUT
/api/billing/member-limits
const url = 'https://met.cards/api/billing/member-limits';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"capMicros":"5000000"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://met.cards/api/billing/member-limits \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "capMicros": "5000000" }'Each member’s monthly AI limit unless they have their own. null removes the default. Recorded in the audit log.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
capMicros
required
Monthly AI limit per member in micro-dollars, as a string (0 to 100000000000). null: no default limit.
string
Example
5000000Responses
Section titled “Responses”Media typeapplication/json
object
Examplegenerated
{}