Update Card Details (Bulk)

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Example request

curl --location --request PUT 'https://eu.api.capillarytech.com/v2/card/bulk?format=json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ==' \
--header 'Cookie: _cfuvid=LvoffYWnKNroiGI4mcPHub.st6yK1dPDHOW3wI1lEls-1751478744816-0.0.1.1-604800000' \
--data '[
    {
        "cardNumber": "24234234324345345345",
        "statusLabel": "ACTIVE",
        "extendedFields": {
            "custom_card_name": "TOM",
            "vehicle_number": "KA01B2020"
        },
        "mappedEntity": {
            "type": "TILL",
            "value": "rutuja_capillary"
        },
        "customFields": {
            "vehicle_type": "Bike"
        }
    },
    {
        "cardNumber": "Test09000000000012end",
        "statusLabel": "ACTIVE",
        "extendedFields": {
            "custom_card_name": "SOM",
            "vehicle_number": "KA01B2021",
            "card_requested_by": "rutuja_capillary"
        },
        "mappedEntity": {
            "type": "TILL",
            "value": "rutuja_capillary"
        },
        "customFields": {
            "vehicle_type": "Car"
        }
    },
    {
        "cardNumber": "Test09000000000004end",
        "statusLabel": "SUSPENDED",
        "extendedFields": {
            "custom_card_name": "DOM",
            "vehicle_number": "KA01B2019"
        },
        "mappedEntity": {
            "type": "TILL",
            "value": "rutuja_capillary"
        },
        "customFields": {
            "vehicle_type": "Cycle"
        }
    }
]'

Body parameters

FieldTypeRequiredDescription
cardNumberStringYesUnique card number to be updated.
statusLabelStringOptionalNew status label to set for the card. Allowed values: NOT_ISSUED, ACTIVE, ISSUED, SUSPENDED, DELETED, EXPIRED.
extendedFieldsObjectOptionalExtended fields for additional metadata.
- custom_card_nameStringOptionalCustom name to associate with the card.
- vehicle_numberStringOptionalVehicle number linked to the card.
- card_requested_byStringOptionalValue indicating who requested the card.
mappedEntityObjectOptionalInformation about the entity mapped to the card.
- typeStringOptionalType of entity (e.g., TILL).
- valueStringOptionalName or value of the entity.
customFieldsObjectOptionalCustom fields associated with the card.
- vehicle_typeStringOptionalType of vehicle linked to the card (e.g., Car, Bike, Cycle).

Example response

{
    "response": [
        {
            "entityId": {
                "extendedFields": {
                    "custom_card_name": "TOM",
                    "vehicle_number": "KA01B2020"
                },
                "customFields": {
                    "vehicle_type": "Bike"
                },
                "mappedEntity": {
                    "type": "TILL",
                    "value": "rutuja_capillary"
                },
                "cardNumber": "24234234324345345345",
                "orgId": 100737,
                "entityId": 75184337,
                "statusLabel": "ACTIVE",
                "transactionNotAllowed": false,
                "activeAndDigital": false
            },
            "errors": [
                {
                    "status": false,
                    "code": 3010,
                    "message": "Card number does not exists"
                }
            ],
            "warnings": []
        },
        {
            "entityId": {
                "cardId": 906641,
                "customerId": 564845113,
                "extendedFields": {
                    "card_requested_by": "rutuja_capillary",
                    "custom_card_name": "SOM",
                    "vehicle_number": "KA01B2021"
                },
                "customFields": {
                    "vehicle_type": "Car"
                },
                "mappedEntity": {
                    "type": "TILL",
                    "value": "rutuja_capillary",
                    "id": 75155373
                },
                "cardNumber": "Test09000000000012end",
                "orgId": 100737,
                "entityId": 75184337,
                "statusLabelInfo": {
                    "createdOn": "2024-12-17",
                    "description": "default",
                    "entityStatusId": 2,
                    "id": 494,
                    "isActive": true,
                    "label": "ACTIVE",
                    "orgId": 100737,
                    "updatedOn": "2025-06-19",
                    "status": "ACTIVE",
                    "type": "CARD",
                    "actions": {},
                    "default": true
                },
                "transactionNotAllowed": false,
                "activeAndDigital": false
            },
            "errors": [],
            "warnings": [
                {
                    "status": false,
                    "code": 3039,
                    "message": "No update in status label"
                }
            ]
        },
        {
            "entityId": {
                "cardId": 897683,
                "customerId": 0,
                "extendedFields": {
                    "custom_card_name": "DOM",
                    "vehicle_number": "KA01B2019"
                },
                "customFields": {
                    "vehicle_type": "Cycle"
                },
                "mappedEntity": {
                    "type": "TILL",
                    "value": "rutuja_capillary"
                },
                "cardNumber": "Test09000000000004end",
                "orgId": 100737,
                "entityId": 75184337,
                "statusLabel": "SUSPENDED",
                "statusLabelInfo": {
                    "createdOn": "2024-12-17",
                    "description": "default",
                    "entityStatusId": 4,
                    "id": 496,
                    "isActive": true,
                    "label": "SUSPENDED",
                    "orgId": 100737,
                    "updatedOn": "2025-06-19",
                    "status": "SUSPENDED",
                    "type": "CARD",
                    "actions": {},
                    "default": true
                },
                "transactionNotAllowed": false,
                "activeAndDigital": false
            },
            "errors": [
                {
                    "status": false,
                    "code": 3038,
                    "message": "Card status can not be changed from NOT_ISSUED to SUSPENDED"
                }
            ],
            "warnings": []
        }
    ],
    "totalCount": 3,
    "failureCount": 2
}

Response Body Parameters

Parameter (parameters marked by * are mandatory)DataTypeDescription
response*arrayList of card update responses.
— entityIdobjectCard details object.
— — cardIdintUnique identifier for the card.
— — customerIdintUnique identifier for the customer linked to the card.
— — extendedFieldsobjectAdditional key-value fields.
— — — custom_card_namestringCustom card name.
— — — vehicle_numberstringVehicle number linked to the card.
— — customFieldsobjectCustom fields as key-value pairs.
— — — vehicle_typestringType of vehicle (e.g., Car, Bike, Cycle).
— — mappedEntityobjectInformation about the mapped entity.
— — — typestringType of entity (e.g., TILL).
— — — valuestringValue of the mapped entity.
— — — idintUnique identifier for the mapped entity.
— — cardNumberstringCard number.
— — orgIdintUnique identifier for the organization.
— — entityIdintUnique identifier linked to the card.
— — statusLabelstringStatus label of the card (e.g., ACTIVE, SUSPENDED).
— — statusLabelInfoobjectDetailed information about the status label.
— — — createdOnstringDate when the status label was created.
— — — descriptionstringDescription of the status label.
— — — entityStatusIdintUnique identifier for entity status.
— — — idintUnique identifier for the status label.
— — — isActivebooleanIndicates whether the status label is active.
— — — labelstringLabel description.
— — — orgIdintUnique identifier for the organization.
— — — updatedOnstringDate when the status label was last updated.
— — — statusstringStatus value.
— — — typestringType of entity status label (e.g., CARD).
— — — actionsobjectActions related to the status label.
— — — defaultbooleanIndicates whether this is the default label.
— — activeAndDigitalbooleanIndicates whether the card is active and digital.
— — transactionNotAllowedbooleanIndicates whether transactions are allowed on this card.
errorsarrayList of error objects related to the update.
— statusbooleanStatus of the error.
— messagestringDescription of the error.
— codeintUnique identifier for the error code.
warningsarrayList of warnings related to the update.
— statusbooleanStatus of the warning.
— messagestringDescription of the warning.
— codeintUnique identifier for the warning code.
totalCount*intTotal number of processed card records.
failureCountintNumber of failed card updates.
Body Params
int32

Unique ID of the card series associated with the card.

string
required

Unique number of the card to add details. Either cardNumber or cardExternalId is mandatory.

string

External reference ID of the card. Either cardNumber or cardExternalId is mandatory.

string

Current user defined status of the card. Check your user defined values for the system values (not issued, active, inactive, deleted, expired).

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json