Policies
List policies
https://api.firstleeward.com/v0/policiesReturns a paginated list of your policies, optionally filtered by type, status, or scope. By default only ACTIVE policies are returned; pass an explicit status filter to include disabled ones.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Query Parameters
limitintegerdefault: 20Maximum number of items to return (1-100, default: 20)
cursorstringOpaque cursor for pagination. Pass nextCursor from previous response to get next page.
typestring[]Filter by policy type (comma-separated).
MERCHANT_RESTRICTIONCHANNEL_RESTRICTIONTRANSACTION_AMOUNT_LIMITSPEND_LIMITAUTHORIZATION_COUNT_LIMITstatusstring[]Filter by status (comma-separated). Defaults to ACTIVE; pass an explicit value (e.g. ACTIVE,DISABLED) to include disabled policies.
ACTIVEDISABLEDscopeTypestring[]Filter by scope type (comma-separated).
PROJECTUSERCARDscopeIdstringFilter by the exact entity the policy attaches to.
Response
200Response for status 200
itemsobject[]requiredShow child attributes
Option 1 · MerchantRestrictionPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredconfigobjectrequiredBlock transactions whose merchant matches the criteria.
Show child attributes
matchobjectrequiredShow child attributes
Option 1 · Mcc
dimensionstringrequiredcodesstring[]requiredOption 2 · MerchantCountry
dimensionstringrequiredcountriesstring[]requiredOption 2 · ChannelRestrictionPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredconfigobjectrequiredBlock transactions on the listed channels.
Show child attributes
channelsstring[]requiredATMPOSECOMMERCEVISA_DIRECTOption 3 · TransactionAmountLimitPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredcurrencystringrequiredCurrency of the policy's amounts - the billing currency of the project's card program.
configobjectrequiredCap the amount of a single transaction.
Show child attributes
maxAmountnumberrequiredAmount in the project's billing currency.
Option 4 · SpendLimitPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredcurrencystringrequiredCurrency of the policy's amounts - the billing currency of the project's card program.
configobjectrequiredCap cumulative spend over a calendar window.
Show child attributes
windowobjectrequiredShow child attributes
typestringrequiredperiodstringrequiredDAILYWEEKLYMONTHLYYEARLYLIFETIMEmaxAmountnumberrequiredAmount in the project's billing currency.
filterobjectShow child attributes
channelsstring[]ATMPOSECOMMERCEVISA_DIRECTmerchantobjectShow child attributes
Option 1 · Mcc
dimensionstringrequiredcodesstring[]requiredOption 2 · MerchantCountry
dimensionstringrequiredcountriesstring[]requiredOption 5 · AuthorizationCountLimitPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredconfigobjectrequiredCap the number of transactions over a calendar window.
Show child attributes
windowobjectrequiredShow child attributes
typestringrequiredperiodstringrequiredDAILYWEEKLYMONTHLYYEARLYLIFETIMEmaxCountintegerrequiredMaximum number of transactions in the window.
filterobjectShow child attributes
channelsstring[]ATMPOSECOMMERCEVISA_DIRECTmerchantobjectShow child attributes
Option 1 · Mcc
dimensionstringrequiredcodesstring[]requiredOption 2 · MerchantCountry
dimensionstringrequiredcountriesstring[]requirednextCursorstring | nullrequiredCursor for next page, or null if no more items
