PUT/api/v2/authorization/rules/{ruleId}

PUT /api/v2/authorization/rules/{ruleId}

Authentication

Send your API key in the x-api-key header on every request.

Parameters

Request parameters
FieldTypeRequiredDescription
ruleId (path)integer (int32)Yes

Request body

application/json

Request body fields
FieldTypeRequiredDescription
NamestringNo
DescriptionstringNo
ScopeTypestringNo
UserIdunknownNo
CardIdunknownNo
BinRangeIdunknownNoRequired for COMPANY and USER rules. CARD rules derive the BIN from the card product and reject a conflicting supplied value.
RuleTypestringNo
ResponseCodestringNo
PriorityunknownNo
ActivebooleanNo
ConfigurationAuthorizationRuleConfigurationNo
EffectiveFromstring (date-time)No
EffectiveTostring (date-time)No

Responses

200 — OK

Example request

curl -X PUT "https://{base_url}/api/v2/authorization/rules/{ruleId}" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

This page is generated from the live OpenAPI specification and always matches the current API.