Update card limit
https://api.light.inc/v1/cards/{cardId}/limits/{limitId}
Updates the amount, currency, or interval of a limit the card already has. Omitted fields are left unchanged. A card created without limits has nothing to update, as this endpoint doesn't add limits.
Permission: cards:update (COMPANY_ADMIN, CONTROLLER)
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
cardIdstring · uuidrequired -
limitIdstring · uuidrequired
Headers
-
X-Idempotency-Keystring
Request body
application/json;charset=UTF-8
-
amountinteger · int64New spending limit amount in minor units (e.g., cents). Left unchanged when omitted.
-
currencystringNew currency for the spending limit. Must be the currency of the card's balance account. Left unchanged when omitted.
-
intervalstringNew interval for the spending limit (PER_TRANSACTION, WEEKLY, or MONTHLY). Left unchanged when omitted.
⚠️ This enum is not exhaustive; new values may be added in the future.
One of
PER_TRANSACTIONWEEKLYMONTHLY
Response
-
idstring · uuid -
companyEntityIdstring · uuid -
companyIdstring · uuid -
ownerIdstring · uuid -
cardBalanceAccountIdstring · uuid -
formstring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
PHYSICALVIRTUAL -
statusstring⚠️ This enum is not exhaustive; new values may be added in the future.
Note
ACTIVE,FROZEN,CLOSED, or the transientUPDATE_IN_PROGRESSwhile a freeze or unfreeze is being applied at the issuer.One of
ACTIVEFROZENCLOSEDUPDATE_IN_PROGRESS -
metadataobject-
typestring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
VENDOREMPLOYEE
-
-
threeDsobject-
phoneNumberobjectNote
May be
null.-
countryCodestring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
ACADAEAFAGAIALAMANAOAQARASATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBUBVBWBYBZCACCCDCFCGCHCICKCLCMCNCOCPCRCSCUCVCWCXCYCZDEDGDJDKDMDODZEAECEEEGEHERESETEUEZFIFJFKFMFOFRFXGAGBGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHMHNHRHTHUICIDIEILIMINIOIQIRISITJEJMJOJPKEKGKHKIKMKNKPKRKWKYKZLALBLCLILKLRLSLTLULVLYMAMCMDMEMFMGMHMKMLMMMNMOMPMQMRMSMTMUMVMWMXMYMZNANCNENFNGNINLNONPNRNTNUNZOMPAPEPFPGPHPKPLPMPNPRPSPTPWPYQARERORSRURWSASBSCSDSESFSGSHSISJSKSLSMSNSOSRSSSTSUSVSXSYSZTATCTDTFTGTHTJTKTLTMTNTOTPTRTTTVTWTZUAUGUKUMUSUYUZVAVCVEVGVIVNVUWFWSXIXUXKYEYTYUZAZMZRZW -
localNumberstringNote
The number without the country code.
-
-
passwordstring -
emailstring
-
-
descriptionstring -
binstring -
lastFourstring -
cardholderNamestring -
limitsarray of object-
idstring · uuid -
companyIdstring · uuid -
cardIdstring · uuid -
amountinteger · int64 -
currencystring -
intervalstring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
PER_TRANSACTIONWEEKLYMONTHLY -
createdAtstring · date-time -
updatedAtstring · date-time
-
-
createdAtstring · date-time -
updatedAtstring · date-time -
typestring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
VENDOREMPLOYEE