POST /v1/usage-thresholds
POST
/v1/usage-thresholdsAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredQuery parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Header parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmeterIdstringrequiredmin length 1
thresholdValuenumberrequiredcustomerIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullthresholdIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
thresholdIdstringrequiredmin length 1
meterIdstringrequiredmin length 1
thresholdValuenumberrequiredcreatedAtstringrequiredmin length 1
customerIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullarchivedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1