v1

latestOpenAPI 3.1.02026-07-26590236.8 KB

Freeze/Unfreeze Card

patch/card/{card_id}

Path parameters

card_idstring required

Request body

status'active' | 'inactive'

Response

200

messagestring
{"stackTrail":"paths:/card/{card_id}:patch:responses:200:content:application/json:schema:properties:meta","oasType":"schema","type":"unknown"}
statusstring

Example response

{
  "data": {
    "id": "1b7458b1d28d11ed8e450242ac110002",
    "holder_id": "79d57795d0b311ed8e450242ac110002",
    "holder_type": "person",
    "balance": 5500,
    "currency": "USD",
    "brand": "visa",
    "label": "Personal Expenses",
    "cardholder_name": "YOMI XIU",
    "number_masked": "4291**********47",
    "number": "596ed3edfe52a7f62338c746d24370b6",
    "exp_month": "04",
    "exp_year": "2026",
    "cvv": "bb56af9233a66d8ff4295fdaa269e68b",
    "billing_address": {
      "address_type": "mailing",
      "city": "Missouri",
      "country": "US",
      "line1": "2632 Bouillon Way",
      "postal_code": "012916",
      "state": "BA"
    },
    "status": "active",
    "created_at": "2023-04-04T02:05:01Z",
    "updated_at": "2023-04-04T02:11:30Z"
  },
  "message": "Card updated successfully",
  "status": "success"
}