Merchant controls
An authorisation control (merchant control) prevents a card from being used with certain merchants, specified by their Merchant Category Code (MCC) or Merchant Identifier (MID).List authorisation controls
GET
/v2/cards/{cardId}/auth-controlsRequest
Use this request to get a list of all authorisation controls associated with a given card.Path parameters
The ID of the card that you want to retrieve authorisation controls for.Allowable values: An existing
cardId (≤ 36 characters)Query parameters
The ID of the account associated with the card.Allowable values: An existing
cardId (≤ 36 characters)The ID of the person that the card belongs to.Allowable values: An existing
personId (≤ 36 characters)The maximum number of results to return. By default, this is set to
100.Allowable values: [ 1 .. 1000 ]The number of items to skip before returning results. By default, this is set to
0.Allowable values: A valid integerResponse
If your request is successful, you’ll receive a200 response.
Create an authorisation control
POST
/v2/cards/{cardId}/auth-controlsRequest
Use this request to create 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). Usemcc to block an entire merchant category or mid to block a specific merchant.
You can update a card’s authorisation control at any point.
Path parameters
The ID of the card that you want to retrieve authorisation controls for.Allowable values: An existing
cardId (≤ 36 characters)Query parameters
The ID of the account associated with the card.Allowable values: An existing
cardId (≤ 36 characters)The ID of the person that the card belongs to.Allowable values: An existing
personId (≤ 36 characters)The maximum number of results to return. By default, this is set to
100.Allowable values: [ 1 .. 1000 ]The number of items to skip before returning results. By default, this is set to
0.Allowable values: A valid integerRequest body schema
Response
If your request is successful, you’ll receive a201 response.
Retrieve an authorisation control
GET
/v2/cards/{cardId}/auth-controls/{authControlId}Request
Use this request to get details about a given authorisation control.Path parameters
The ID of the card that you want to update an authorisation control for.Allowable values: An existing
cardId (≤ 36 characters)The ID of the authorisation control that you want to update.Allowable values: An existing
authControlId (≤ 36 characters)Query parameters
The ID of the account that the card is associated with.Allowable values: An existing
cardId (≤ 36 characters)The ID of the person that the card belongs to.Allowable values: An existing
personId (≤ 36 characters)Response
If your request is successful, you’ll receive a200 response.
Update an authorisation control
PUT
/v2/cards/{cardId}/auth-controls/{authControlId}Request
Use this request to update the details of a given authorisation control.Path parameters
The ID of the card that the authorisation control applies to.Allowable values: An existing
cardId (≤ 36 characters)The ID of the authorisation control that you want to update.Allowable values: An existing
authControlId (≤ 36 characters)Query parameters
The ID of the account that the card is associated with.Allowable values: An existing
accountIdThe ID of the person that the card belongs to.Allowable values: An existing
personId (≤ 36 characters)Request body schema
The name of the authorisation control.Allowable values: ≤ 255 characters
Whether or not the authorisation control should be active. By default, this is set to
true.Allowable values: true, falseDetails about the merchant scope.Allowable values: A valid
merchantScope object containing the following fields: mcc, mid, mccResponse
If your request is successful, you’ll receive a200 response.
List MCC groups
GET
/v2/mcc-groupsRequest
Use this request to get list of pre-defined merchant category code (MCC) groups, which you can use to create an authorisation control.Query parameters
The ID of the account that the card is associated with.Allowable values: An existing
accountIdThe ID of the person that the card belongs to.Allowable values: An existing
personId (≤ 36 characters)The maximum number of results to return. By default, this is set to
100.Allowable values: [ 1 .. 1000 ]The number of items to skip before returning results. By default, this is set to
0.Allowable values: A valid integerResponse
If your request is successful, you’ll receive a200 response.