v5

latestOpenAPI 3.1.02026-07-262421791.5 MB
spend-controls

List all authorisation rules

Retrieves all the existing authorisation rules, regardless of whether or not they are applied.

get/v3/spend/applications/{clientId}/spend-controls/rules

Path parameters

clientIdstring required

The application client ID.

Headers

X-External-Correlation-Idstring uuid

Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.

Response

A list of authorisation rules.

idinteger

The unique ID for the authorisation rule.

type'MCC' | 'CURRENCY'

The type of authorisation rule.

operation'ALLOW' | 'BLOCK'

Determines whether the transactions should be allowed or blocked.

descriptionstring

The description of the authorisation rule.

valuesstring[]

A list of values based on the type of rule configured.

Example response

[
  {
    "id": 123,
    "description": "my authorisation rule",
    "type": "MCC",
    "operation": "BLOCK",
    "values": [
      "1234",
      "5678"
    ]
  }
]