Update Card Details (Single)

Lets you update details of a card. You can update details such as card status label, and custom/extended field values.

👍

Note

For detailed information about the APIs and for hands-on testing, refer to the API overview documentation and step-by-step guide on making your first API call.

Prerequisites

  • Basic Authentication
  • Default access group

Resource information

HTTP methodGET
AuthenticationBasic
Pagination supported?NO
Rate limitYES
Batch supportNO

Example request

curl --location --request PUT 'https://eu.api.capillarytech.com/v2/card/?format=json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ' \
--header 'Cookie: _cfuvid=_9n1uFp4HB9xucoLvcFjfrzQp6JA_V3vkfsMPngxow0-1756990656515-0.0.1.1-604800000; _cfuvid=CF3VklKeKI9Y4al1zR_iIO2ZqcCM2TtBrk2cJpjoq7I-1756991743030-0.0.1.1-604800000' \
--data '{
    "cardNumber": "from1m1n100000000010too",
    "seriesId": 163,
    "statusLabel": "ACTIVE",
    "statusInfo": {
        "reason": "Changes made in card status"
    },
    "mappedEntity": {
        "type": "TILL",
        "value": "rutuja_capillary",
        "id": 75155373
    },
    "customFields": {
        "type": "City",
        "value": "Bangalore"
    },
    "extendedFields": {
        "card_requested_by": "rutuja_capillary"
    }
}'
curl --location --request PUT 'https://eu.api.capillarytech.com/v2/card/?format=json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic =' \
--header 'Cookie: _cfuvid=CF3VklKeKI9Y4al1zR_iIO2ZqcCM2TtBrk2cJpjoq7I-1756991743030-0.0.1.1-604800000' \
--data '{
    "cardNumber":"from1m1n100000000010too",
    "statusLabel":"EXPIRED",
    "statusInfo":{
        "reason":"Example reason"
    }
}'

Body parameters

Field

Type

Required

Description

cardNumber

String

Yes

Unique card number to be updated.

seriesId

Integer

Optional

Unique identifier of the card series.

statusLabel

String

Optional

New status label to set for the card. Allowed values: NOT_ISSUED, ACTIVE, SUSPENDED, DELETED, EXPIRED, ISSUED.

statusInfo

Object

Optional

Additional status details.

- reason

String

Optional

Reason for updating the card status.

mappedEntity

Object

Optional

Information about the entity mapped to the card.

- type

String

Optional

Type of entity (e.g., TILL).

- value

String

Optional

Name or value of the entity.

- id

Integer

Optional

Unique identifier of the entity.

customFields

Object

Optional

Custom fields associated with the card.

- type

String

Optional

Type of the custom field.

- value

String

Optional

Value of the custom field.

extendedFields

Object

Optional

Extended fields for additional metadata.

- card_requested_by

String

Optional

Value indicating who requested the card.

Example response

{
    "cardId": 904250,
    "customerId": 564845113,
    "extendedFields": {
        "card_requested_by": "rutuja_capillary"
    },
    "customFields": {},
    "mappedEntity": {
        "type": "TILL",
        "value": "rutuja_capillary",
        "id": 75155373
    },
    "cardNumber": "from1m1n100000000010too",
    "seriesId": 163,
    "orgId": 100737,
    "entityId": 75184337,
    "statusLabel": "ISSUED",
    "statusLabelInfo": {
        "createdOn": "2024-12-17",
        "description": "default",
        "entityStatusId": 12,
        "id": 498,
        "isActive": true,
        "label": "ISSUED",
        "orgId": 100737,
        "updatedOn": "2025-06-19",
        "status": "ISSUED",
        "type": "CARD",
        "actions": {},
        "default": true
    },
    "statusInfo": {
        "reason": "Changes made in card status",
        "createdBy": 75184337,
        "actions": [],
        "entityId": 904250,
        "labelId": 498,
        "orgId": 100737,
        "entityType": "CARD",
        "label": "ISSUED",
        "prevLabel": "ACTIVE",
        "prevLabelId": 494
    },
    "activeAndDigital": false,
    "transactionNotAllowed": false,
    "warnings": []
}
{
    "cardId": 904250,
    "customerId": 564845113,
    "cardNumber": "from1m1n100000000010too",
    "orgId": 100737,
    "entityId": 75184337,
    "statusLabel": "EXPIRED",
    "statusLabelInfo": {
        "createdOn": "2024-12-17",
        "description": "default",
        "entityStatusId": 3,
        "id": 495,
        "isActive": true,
        "label": "EXPIRED",
        "orgId": 100737,
        "updatedOn": "2025-06-19",
        "status": "EXPIRED",
        "type": "CARD",
        "actions": {},
        "default": true
    },
    "statusInfo": {
        "reason": "Example reason",
        "createdBy": 75184337,
        "actions": [],
        "entityId": 904250,
        "labelId": 495,
        "orgId": 100737,
        "entityType": "CARD",
        "label": "EXPIRED",
        "prevLabel": "ISSUED",
        "prevLabelId": 498
    },
    "activeAndDigital": false,
    "transactionNotAllowed": false,
    "warnings": []
}

Response Parameters

FieldTypeDescription
cardIdintegerUnique identifier for the card.
customerIdintegerUnique identifier for the customer linked to the card.
extendedFieldsobjectKey-value pairs for additional custom fields.
— card_requested_bystringUser who requested the card.
customFieldsobjectAdditional custom field data as key-value pairs.
mappedEntityobjectInformation about the entity mapped to the card.
— typestringType of the entity (e.g., TILL).
— valuestringValue of the mapped entity (e.g., till name).
— idintegerUnique identifier of the mapped entity.
cardNumberstringCard number assigned.
seriesIdintegerUnique identifier for the card series.
orgIdintegerOrganization identifier.
entityIdintegerEntity identifier linked to the card.
statusLabelstringStatus label of the card.
statusLabelInfoobjectInformation about the card's status label.
— createdOnstringDate when the status label was created.
— descriptionstringDescription of the status label.
— entityStatusIdintegerIdentifier for the entity status.
— idintegerUnique identifier for the status label.
— isActivebooleanIndicates if the status label is active.
— labelstringLabel description (e.g., ACTIVE).
— orgIdintegerOrganization identifier.
— updatedOnstringDate when the status label was last updated.
— statusstringStatus value (e.g., ACTIVE).
— typestringType of entity the status label belongs to (e.g., CARD).
— actionsobjectActions related to the status label.
— defaultbooleanIndicates if this is the default status label.
statusInfoobjectAdditional status-related information.
— reasonstringReason for the current status change.
— actionsarrayList of actions related to status changes.
transactionNotAllowedbooleanIndicates if transactions are disallowed on this card.
activeAndDigitalbooleanIndicates if the card is both active and digital.
warningsarrayList of warnings, if any.
— statusbooleanWarning status.
— codeintegerWarning code.
— messagestringWarning message description.
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!