POST/api/v2/authorization/rules

POST /api/v2/authorization/rules

Authentication

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

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 POST "https://{base_url}/api/v2/authorization/rules" \
  -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.