Creates an authorisation control for a given card. This prevents the card from being used with certain merchants, specified by their Merchant Category Code (MCC) or Merchant Identifier (MID).
Use mcc
to block an entire merchant category or mid
to block a specific merchant.
Body
Created
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Unsupported Media Type
Too Many Requests
Internal Server Error
{- "name": "Spending controls",
- "id": "a1e54aed-8a68-4602-a792-30f4c67497cf",
- "active": true,
- "startTime": "2023-03-14T12:08:53Z",
- "endTime": "2023-03-14T12:08:53Z",
- "merchantScope": {
- "mcc": "3596",
- "mid": "string",
- "mccGroup": "Airlines"
}
}
{- "name": "Spending controls",
- "id": "a1e54aed-8a68-4602-a792-30f4c67497cf",
- "active": true,
- "startTime": "2023-03-14T12:08:53Z",
- "endTime": "2023-03-14T12:08:53Z",
- "merchantScope": {
- "mcc": "3596",
- "mid": "string",
- "mccGroup": "Airlines"
}
}