Skip to main content
POST
/
v1
/
cards
/
{cardId}
/
freeze
Freeze card
curl --request POST \
  --url https://api.light.inc/v1/cards/{cardId}/freeze \
  --header 'Authorization: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "companyEntityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cardBalanceAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "form": "VIRTUAL",
  "status": "ACTIVE",
  "metadata": {
    "type": "VENDOR"
  },
  "threeDs": {
    "phoneNumber": {
      "countryCode": "UNDEFINED",
      "localNumber": "<string>"
    },
    "password": "<string>",
    "email": "<string>"
  },
  "description": "<string>",
  "bin": "<string>",
  "lastFour": "<string>",
  "cardholderName": "<string>",
  "limits": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "amount": 123,
      "currency": "USD",
      "interval": "PER_TRANSACTION",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "type": "VENDOR"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

Headers

X-Idempotency-Key
string

Path Parameters

cardId
string<uuid>
required

Response

default - application/json;charset=UTF-8

default response

id
string<uuid>
companyEntityId
string<uuid>
companyId
string<uuid>
ownerId
string<uuid>
cardBalanceAccountId
string<uuid>
form
enum<string>
Available options:
VIRTUAL
status
enum<string>
Available options:
ACTIVE,
FROZEN,
CLOSED,
UPDATE_IN_PROGRESS
metadata
object
threeDs
object
description
string
bin
string
lastFour
string
cardholderName
string
limits
object[]
createdAt
string<date-time>
updatedAt
string<date-time>
type
enum<string>
Available options:
VENDOR,
EMPLOYEE
I